Message ID | 1501706105-7490-64-git-send-email-philipp.tomsich@theobroma-systems.com |
---|---|
State | Accepted |
Commit | 4cf4378ed0c7a8b8cf120f074f92dd2298ca999a |
Delegated to: | Philipp Tomsich |
Headers | show |
> The RK3368 needs to have a different base-address and stack-pointer > for its TPL stage. Now that we want to do this via Kconfig, we need > to tick the appropriate 'TPL_NEEDS_...' boxes. > > Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> > Reviewed-by: Simon Glass <sjg@chromium.org> > --- > > Changes in v4: > - use 'select if' for SPL/TPL presets that need SPL/TPL to avoid errors > on defconfig, if SPL/TPL is not enabled (thanks to Andy for noticing) > > Changes in v3: > - changes Kconfig, so RK3368 will notify the SPL configuration of > its need to have the TPL text-base, stack-pointer and max-size > configured > > Changes in v2: None > > arch/arm/mach-rockchip/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > Applied to u-boot-rockchip, thanks!
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 4a6f629..45029d1 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -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