env_save_ptr(..) macro handles CMD_SAVEENV already. Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com> --- env/sf.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/env/sf.c b/env/sf.c index 494510533a..70c1b61930 100644 --- a/env/sf.c +++ b/env/sf.c @@ -318,9 +318,7 @@ U_BOOT_ENV_LOCATION(sf) = { .location = ENVL_SPI_FLASH, ENV_NAME("SPI Flash") .load = env_sf_load, -#ifdef CMD_SAVEENV .save = env_save_ptr(env_sf_save), -#endif #if defined(INITENV) && defined(CONFIG_ENV_ADDR) .init = env_sf_init, #endif -- 2.17.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot