diff options
author | Tom Rini <trini@konsulko.com> | 2020-05-08 18:58:19 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-08 18:58:19 -0400 |
commit | c5c657644bc35fd6b3d6e5517698721e90646b8d (patch) | |
tree | b900de948a5f6fc73d2d1fdafd44288e7830bf93 /env/sf.c | |
parent | a5e609b982a004e009e8ee0aa6066785db425ac2 (diff) | |
parent | be51c3ca088695e851daf38677d4a8f0fe666f77 (diff) |
Merge branch '2020-05-08-assorted-fixes'
Diffstat (limited to 'env/sf.c')
-rw-r--r-- | env/sf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -305,7 +305,7 @@ U_BOOT_ENV_LOCATION(sf) = { .location = ENVL_SPI_FLASH, ENV_NAME("SPI Flash") .load = env_sf_load, - .save = ENV_SAVE_PTR(env_sf_save), + .save = CONFIG_IS_ENABLED(SAVEENV) ? ENV_SAVE_PTR(env_sf_save) : NULL, #if defined(INITENV) && (CONFIG_ENV_ADDR != 0x0) .init = env_sf_init, #endif |