]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3288: enable TPL configs to chip level
authorKever Yang <kever.yang@rock-chips.com>
Tue, 2 Jul 2019 03:43:05 +0000 (11:43 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 2 Jul 2019 03:49:49 +0000 (11:49 +0800)
More boards other than vyasa needs TPL, so enable the TPL configs
at chip level instead of board level.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-rockchip/rk3288/Kconfig

index 1624b084b97f9e8431918e8248d7f77966847d2d..9d891ad5f1ceb0a9a9f457edb09e7bd6432e9d95 100644 (file)
@@ -87,6 +87,20 @@ config ROCKCHIP_RK3288
        select SPL_BOARD_INIT if SPL
        select SUPPORT_SPL
        select SPL
+       select SUPPORT_TPL
+       imply TPL_BOOTROM_SUPPORT
+       imply TPL_CLK
+       imply TPL_DM
+       imply TPL_DRIVERS_MISC_SUPPORT
+       imply TPL_LIBCOMMON_SUPPORT
+       imply TPL_LIBGENERIC_SUPPORT
+       imply TPL_NEEDS_SEPARATE_TEXT_BASE
+       imply TPL_OF_CONTROL
+       imply TPL_OF_PLATDATA
+       imply TPL_RAM
+       imply TPL_REGMAP
+       imply TPL_SERIAL_SUPPORT
+       imply TPL_SYSCON
        imply USB_FUNCTION_ROCKUSB
        imply CMD_ROCKUSB
        help
index 50680ce606b4c22be1c012e836a31e2a662777db..541301dfb8c8eba7a706d464e364fd03e1b9eb55 100644 (file)
@@ -99,21 +99,7 @@ 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