rockchip: Kconfig: move rk322x config into its Kconfig
authorKever Yang <kever.yang@rock-chips.com>
Tue, 9 Jul 2019 14:14:16 +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/rk322x/Kconfig

index 1090d21879c5c97fa1dbaf171fd657d58bed299f..3f28782a09befb7cdeb6f956b174dd888e1e7984 100644 (file)
@@ -68,19 +68,6 @@ config ROCKCHIP_RK322X
          and video codec support. Peripherals include Gigabit Ethernet,
          USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
 
-if ROCKCHIP_RK322X
-
-config TPL_TEXT_BASE
-        default 0x10081000
-
-config TPL_MAX_SIZE
-        default 28672
-
-config TPL_STACK
-        default 0x10088000
-
-endif
-
 config ROCKCHIP_RK3288
        bool "Support Rockchip RK3288"
        select CPU_V7A
index 8a1f95f785951cc332a6921ab60df0d9ec283224..cffb53183b56ab1f88539dd9a5d21f2c0fe6929b 100644 (file)
@@ -1,5 +1,6 @@
 if ROCKCHIP_RK322X
 
+
 config TARGET_EVB_RK3229
        bool "EVB_RK3229"
        select BOARD_LATE_INIT
@@ -13,6 +14,15 @@ config SYS_MALLOC_F_LEN
 config SPL_SERIAL_SUPPORT
        default y
 
+config TPL_MAX_SIZE
+        default 28672
+
+config TPL_STACK
+        default 0x10088000
+
+config TPL_TEXT_BASE
+        default 0x10081000
+
 source "board/rockchip/evb_rk3229/Kconfig"
 
 endif