aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-09 22:14:28 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-07-20 23:59:44 +0800
commit1cdb6148450e851abe1df5d7eb20aa07a409941c (patch)
treeed0de993ad676035f45c46f0270d096a8ae347cd
parent747e127535902e86f0897f1d1691476c2c5c83bc (diff)
downloadu-boot-1cdb6148450e851abe1df5d7eb20aa07a409941c.zip
u-boot-1cdb6148450e851abe1df5d7eb20aa07a409941c.tar.gz
u-boot-1cdb6148450e851abe1df5d7eb20aa07a409941c.tar.bz2
rockchip: rk322x: 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/rk322x/Kconfig6
-rw-r--r--configs/evb-rk3229_defconfig2
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-rockchip/rk322x/Kconfig b/arch/arm/mach-rockchip/rk322x/Kconfig
index 9d734c3..2fc6f6e 100644
--- a/arch/arm/mach-rockchip/rk322x/Kconfig
+++ b/arch/arm/mach-rockchip/rk322x/Kconfig
@@ -14,6 +14,12 @@ config SYS_SOC
config SYS_MALLOC_F_LEN
default 0x800
+config SPL_LIBCOMMON_SUPPORT
+ default y
+
+config SPL_LIBGENERIC_SUPPORT
+ default y
+
config SPL_SERIAL_SUPPORT
default y
diff --git a/configs/evb-rk3229_defconfig b/configs/evb-rk3229_defconfig
index 6447e18..2032978 100644
--- a/configs/evb-rk3229_defconfig
+++ b/configs/evb-rk3229_defconfig
@@ -1,8 +1,6 @@
CONFIG_ARM=y
CONFIG_ARCH_ROCKCHIP=y
CONFIG_SYS_TEXT_BASE=0x61000000
-CONFIG_SPL_LIBCOMMON_SUPPORT=y
-CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_ROCKCHIP_RK322X=y
CONFIG_TPL_LDSCRIPT="arch/arm/mach-rockchip/u-boot-tpl.lds"
CONFIG_ROCKCHIP_SPL_RESERVE_IRAM=0x0