diff --git a/include/configs/evb_rk3288.h b/include/configs/evb_rk3288.h index b031baa5ed..15a374cca7 100644 --- a/include/configs/evb_rk3288.h +++ b/include/configs/evb_rk3288.h @@ -7,11 +7,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#ifndef CONFIG_SPL_BUILD -#undef CONFIG_BOOTCOMMAND -#define CONFIG_BOOTCOMMAND RKIMG_BOOTCOMMAND -#endif - #define ROCKCHIP_DEVICE_SETTINGS #include diff --git a/include/configs/fennec_rk3288.h b/include/configs/fennec_rk3288.h index b031baa5ed..15a374cca7 100644 --- a/include/configs/fennec_rk3288.h +++ b/include/configs/fennec_rk3288.h @@ -7,11 +7,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#ifndef CONFIG_SPL_BUILD -#undef CONFIG_BOOTCOMMAND -#define CONFIG_BOOTCOMMAND RKIMG_BOOTCOMMAND -#endif - #define ROCKCHIP_DEVICE_SETTINGS #include diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index 6d5d0b5106..4eb2c702b2 100644 --- a/include/configs/rk3288_common.h +++ b/include/configs/rk3288_common.h @@ -10,6 +10,11 @@ #include #include "rockchip-common.h" +#ifndef CONFIG_SPL_BUILD +#undef CONFIG_BOOTCOMMAND +#define CONFIG_BOOTCOMMAND RKIMG_BOOTCOMMAND +#endif + #define CONFIG_SKIP_LOWLEVEL_INIT_ONLY #define CONFIG_SYS_MALLOC_LEN (32 << 20) #define CONFIG_SYS_CBSIZE 1024