[U-Boot] [PATCH 3/8] rockchip: rk3288: move TPL options to generic position
Heiko Stuebner
heiko at sntech.de
Fri Apr 5 08:30:08 UTC 2019
Move the TPL-related options to the generic RK3288 config option
protected by "if TPL" conditionals.
This way board wanting TPL support just need to "select TPL" to
get all necessary options instead of duplicating all of them.
Signed-off-by: Heiko Stuebner <heiko at sntech.de>
---
arch/arm/mach-rockchip/Kconfig | 15 +++++++++++++++
arch/arm/mach-rockchip/rk3288/Kconfig | 15 ---------------
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index b9a026abb5..ba11e8a497 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -63,6 +63,21 @@ config ROCKCHIP_RK3288
select SPL_BOARD_INIT if SPL
select SUPPORT_SPL
select SPL
+ select SUPPORT_TPL
+ select ROCKCHIP_BROM_HELPER if TPL
+ select TPL_BOOTROM_SUPPORT if TPL
+ select TPL_CLK if TPL
+ select TPL_DM if TPL
+ select TPL_DRIVERS_MISC_SUPPORT if TPL
+ select TPL_LIBCOMMON_SUPPORT if TPL
+ select TPL_LIBGENERIC_SUPPORT if TPL
+ select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
+ select TPL_OF_CONTROL if TPL
+ select TPL_OF_PLATDATA if TPL
+ select TPL_RAM if TPL
+ select TPL_REGMAP if TPL
+ select TPL_SERIAL_SUPPORT if TPL
+ select TPL_SYSCON if TPL
imply USB_FUNCTION_ROCKUSB
imply CMD_ROCKUSB
help
diff --git a/arch/arm/mach-rockchip/rk3288/Kconfig b/arch/arm/mach-rockchip/rk3288/Kconfig
index f540b8daec..936faf75ca 100644
--- a/arch/arm/mach-rockchip/rk3288/Kconfig
+++ b/arch/arm/mach-rockchip/rk3288/Kconfig
@@ -98,22 +98,7 @@ config TARGET_POPMETAL_RK3288
config TARGET_VYASA_RK3288
bool "Vyasa-RK3288"
select BOARD_LATE_INIT
- select ROCKCHIP_BROM_HELPER
- select SUPPORT_TPL
select TPL
- select TPL_BOOTROM_SUPPORT
- select TPL_CLK
- select TPL_DM
- select TPL_DRIVERS_MISC_SUPPORT
- select TPL_LIBCOMMON_SUPPORT
- select TPL_LIBGENERIC_SUPPORT
- select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL
- select TPL_OF_CONTROL
- select TPL_OF_PLATDATA
- select TPL_RAM
- select TPL_REGMAP
- select TPL_SERIAL_SUPPORT
- select TPL_SYSCON
help
Vyasa is a RK3288-based development board with 2 USB ports,
HDMI, VGA, micro-SD card, audio, WiFi and Gigabit Ethernet, It
--
2.20.1
More information about the U-Boot
mailing list