env_save_ptr(..) macro handles CMD_SAVEENV already. Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com> --- env/flash.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/env/flash.c b/env/flash.c index 32236c716e..f6e62df23c 100644 --- a/env/flash.c +++ b/env/flash.c @@ -360,9 +360,7 @@ U_BOOT_ENV_LOCATION(flash) = { #ifdef LOADENV .load = env_flash_load, #endif -#ifdef CMD_SAVEENV .save = env_save_ptr(env_flash_save), -#endif #ifdef INITENV .init = env_flash_init, #endif -- 2.17.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot