Merge git://www.denx.de/git/u-boot-imx
[oweals/u-boot.git] / arch / arm / mach-rockchip / Kconfig
index 4a6f629f2a1e30c614ef40ecb49616858e9e512b..d9b25d5de4e66647799569df0d4c35089949afde 100644 (file)
@@ -69,6 +69,8 @@ config ROCKCHIP_RK3368
        select ARM64
        select SUPPORT_SPL
        select SUPPORT_TPL
+       select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL
+       select TPL_NEEDS_SEPARATE_STACK if TPL
        imply SPL_SEPARATE_BSS
        imply SPL_SERIAL_SUPPORT
        imply TPL_SERIAL_SUPPORT
@@ -91,6 +93,15 @@ if ROCKCHIP_RK3368
 config TPL_LDSCRIPT
        default "arch/arm/mach-rockchip/rk3368/u-boot-tpl.lds"
 
+config TPL_TEXT_BASE
+        default 0xff8c1000
+
+config TPL_MAX_SIZE
+        default 28672
+
+config TPL_STACK
+        default 0xff8cffff
+
 endif
 
 config ROCKCHIP_RK3399