diff options
author | Tom Rini <trini@konsulko.com> | 2021-10-23 17:49:28 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-23 17:49:28 +0300 |
commit | 355d1e24f6143c4839be3c015c191421c4e9449c (patch) | |
tree | ff68e868d404d117f3f9599740f83fd73c99c306 /env | |
parent | f055f2e5a2038002519e5b9affbf259345f4ade9 (diff) | |
parent | b9cfd8b0911209e2ebec887e497510ee42f9e788 (diff) | |
download | u-boot-355d1e24f6143c4839be3c015c191421c4e9449c.tar.xz |
Merge https://source.denx.de/u-boot/custodians/u-boot-spi
- Fix mtd erase with mtdpart (Marek BehĂșn)
- NXP fspi driver fixes (Kuldeep Singh)
Diffstat (limited to 'env')
-rw-r--r-- | env/onenand.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/env/onenand.c b/env/onenand.c index c8da3ff811..1faa2cb62a 100644 --- a/env/onenand.c +++ b/env/onenand.c @@ -73,9 +73,7 @@ static int env_onenand_save(void) #endif loff_t env_addr = CONFIG_ENV_ADDR; size_t retlen; - struct erase_info instr = { - .callback = NULL, - }; + struct erase_info instr = {}; ret = env_export(&env_new); if (ret) |