arm: rk3368: Select ARCH_EARLY_INIT_R when used
[platform/kernel/u-boot.git] / arch / arm / mach-rockchip / rk3368 / Kconfig
index 7c9b722..3de6951 100644 (file)
@@ -5,6 +5,7 @@ choice
 
 config TARGET_LION_RK3368
         bool "Theobroma Systems RK3368-uQ7 (Lion) module"
+       select ARCH_EARLY_INIT_R
        help
          The RK3368-uQ7 is a micro-Qseven form-factor (40mm x 70mm,
          MXM-230 connector) system-on-module designed by Theobroma
@@ -34,6 +35,7 @@ config TARGET_GEEKBOX
 
 config TARGET_EVB_PX5
         bool "Evb-PX5"
+       select ARCH_EARLY_INIT_R
         help
         PX5 EVB is designed by Rockchip for automotive field
          with integrated CVBS (TP2825) / MIPI DSI / CSI / LVDS
@@ -42,15 +44,36 @@ config TARGET_EVB_PX5
          sensor STK3410.
 endchoice
 
+config ROCKCHIP_BOOT_MODE_REG
+       default 0xff738200
+
+config ROCKCHIP_STIMER_BASE
+       default 0xff830020
+
 config SYS_SOC
-       default "rockchip"
+       default "rk3368"
+
+config SYS_MALLOC_F_LEN
+       default 0x4000
+
+config SPL_LIBCOMMON_SUPPORT
+       default y
+
+config SPL_LIBGENERIC_SUPPORT
+       default y
 
 source "board/theobroma-systems/lion_rk3368/Kconfig"
 source "board/rockchip/sheep_rk3368/Kconfig"
 source "board/geekbuying/geekbox/Kconfig"
 source "board/rockchip/evb_px5/Kconfig"
 
-config SPL_LDSCRIPT
-       default "arch/arm/cpu/armv8/u-boot-spl.lds"
+config SPL_STACK_R_ADDR
+       default 0x04000000
+
+config TPL_STACK
+        default 0xff8cffff
+
+config TPL_TEXT_BASE
+        default 0xff8c1000
 
 endif