]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: Kconfig: move rk3399 config into its Kconfig
authorKever Yang <kever.yang@rock-chips.com>
Tue, 9 Jul 2019 14:14:19 +0000 (22:14 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
Each SoC have its config setting and its Kconfig, move
the specific setting to its own Kconfig file.

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

index c41f1439540725f1f62f1df31c855966ae0324c9..52b83fc61146e20b0fa8d7510fc4b008af5b0b75 100644 (file)
@@ -188,22 +188,6 @@ config ROCKCHIP_RK3399
          and video codec support. Peripherals include Gigabit Ethernet,
          USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
 
-if ROCKCHIP_RK3399
-
-config TPL_LDSCRIPT
-       default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
-
-config TPL_TEXT_BASE
-        default 0xff8c2000
-
-config TPL_MAX_SIZE
-        default 188416
-
-config TPL_STACK
-        default 0xff8effff
-
-endif
-
 config ROCKCHIP_RV1108
        bool "Support Rockchip RV1108"
        select CPU_V7A
index 2c5c93c0b85916d9add22ba9d61632930f587940..231ba14cca9334a5edeba9aa778b8a5b7109cd59 100644 (file)
@@ -70,6 +70,18 @@ config SYS_SOC
 config SYS_MALLOC_F_LEN
        default 0x0800
 
+config TPL_LDSCRIPT
+       default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
+
+config TPL_MAX_SIZE
+        default 188416
+
+config TPL_STACK
+        default 0xff8effff
+
+config TPL_TEXT_BASE
+        default 0xff8c2000
+
 source "board/rockchip/evb_rk3399/Kconfig"
 source "board/theobroma-systems/puma_rk3399/Kconfig"
 source "board/vamrs/rock960_rk3399/Kconfig"