summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-09 22:14:29 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-07-20 23:59:44 +0800
commitd7f2d23ce4281c70e8395503382474ebdd5e4238 (patch)
tree433f7bc0a03914c61a7ba157d809a2404a09dae7
parent1cdb6148450e851abe1df5d7eb20aa07a409941c (diff)
downloadu-boot-d7f2d23ce4281c70e8395503382474ebdd5e4238.tar.gz
u-boot-d7f2d23ce4281c70e8395503382474ebdd5e4238.tar.xz
u-boot-d7f2d23ce4281c70e8395503382474ebdd5e4238.zip
rockchip: rk3368: default enable SPL LIBCOMMON and LIBGENERIC
We needs SPL LIBCOMMON and LIBGENERIC for all boards, so we can enable them by default and no need to define in each board. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r--arch/arm/mach-rockchip/rk3368/Kconfig6
-rw-r--r--configs/evb-px5_defconfig2
-rw-r--r--configs/lion-rk3368_defconfig2
3 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/mach-rockchip/rk3368/Kconfig b/arch/arm/mach-rockchip/rk3368/Kconfig
index 2220f595ca..d6ca5f1d24 100644
--- a/arch/arm/mach-rockchip/rk3368/Kconfig
+++ b/arch/arm/mach-rockchip/rk3368/Kconfig
@@ -51,6 +51,12 @@ config SYS_SOC
config SYS_MALLOC_F_LEN
default 0x2000
+config SPL_LIBCOMMON_SUPPORT
+ default y
+
+config SPL_LIBGENERIC_SUPPORT
+ default y
+
source "board/theobroma-systems/lion_rk3368/Kconfig"
source "board/rockchip/sheep_rk3368/Kconfig"
source "board/geekbuying/geekbox/Kconfig"
diff --git a/configs/evb-px5_defconfig b/configs/evb-px5_defconfig
index 6945e68b00..9afba9b873 100644
--- a/configs/evb-px5_defconfig
+++ b/configs/evb-px5_defconfig
@@ -1,8 +1,6 @@
CONFIG_ARM=y
CONFIG_ARCH_ROCKCHIP=y
CONFIG_SYS_TEXT_BASE=0x00200000
-CONFIG_SPL_LIBCOMMON_SUPPORT=y
-CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_ROCKCHIP_RK3368=y
CONFIG_TPL_LDSCRIPT="arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
CONFIG_ROCKCHIP_SPL_RESERVE_IRAM=0x40000
diff --git a/configs/lion-rk3368_defconfig b/configs/lion-rk3368_defconfig
index ef05ba5d97..ff3255be7a 100644
--- a/configs/lion-rk3368_defconfig
+++ b/configs/lion-rk3368_defconfig
@@ -1,8 +1,6 @@
CONFIG_ARM=y
CONFIG_ARCH_ROCKCHIP=y
CONFIG_SYS_TEXT_BASE=0x00200000
-CONFIG_SPL_LIBCOMMON_SUPPORT=y
-CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_ROCKCHIP_RK3368=y
CONFIG_ROCKCHIP_SPL_RESERVE_IRAM=0x0
CONFIG_TPL_LIBCOMMON_SUPPORT=y