diff options
| author | Weijie Gao <[email protected]> | 2025-05-06 15:15:01 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-23 08:00:51 -0600 |
| commit | 7c52bca8121fdd967edf24402590b8aacf4fd23a (patch) | |
| tree | 02351d1f62544c4365e37c24025c83fa95fa21cb /doc/develop | |
| parent | df5dcf7b7eb66f74262c5e501f813aac759557f2 (diff) | |
env: mtd: fix usability with NAND flashes
1. As this is for MTD-based devices, the Kconfig dependency should be MTD
instead of only spi-nor flashes
2. Initialize saved_buf to avoid crash on free()
3. Remaining size should be set correctly to write_size
Fixes: 03fb08d4aef (env: Introduce support for MTD)
Signed-off-by: Weijie Gao <[email protected]>
Reviewed-by: Christian Marangi <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
