[U-Boot] [PATCH 14/15] rockchip: rk322x: default enable SPL LIBCOMMON and LIBGENERIC

Kever Yang kever.yang at rock-chips.com
Tue Jul 9 14:14:28 UTC 2019


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 at rock-chips.com>
---

 arch/arm/mach-rockchip/rk322x/Kconfig | 6 ++++++
 configs/evb-rk3229_defconfig          | 2 --
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-rockchip/rk322x/Kconfig b/arch/arm/mach-rockchip/rk322x/Kconfig
index 9d734c3a31..2fc6f6ea3e 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 6447e1852b..20329784ae 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
-- 
2.17.1



More information about the U-Boot mailing list