From f097532d279dd7a6ab2d579425d1318051ac1f8d Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Tue, 19 Dec 2017 18:30:37 -0700 Subject: ARM: tegra: use CONFIG_SYS_INIT_SP_BSS_OFFSET Enable CONFIG_SYS_INIT_SP_BSS_OFFSET for all 64-bit Tegra boards. Place the stack/... 512KiB from the end of the U-Boot binary. This should be plenty to accommodate the current DTBs (max 64 KiB), early malloc region (6KiB), stack usage, and plenty of slack, while still not placing it too far away from the U-Boot binary. Signed-off-by: Stephen Warren Signed-off-by: Tom Warren --- arch/arm/mach-tegra/tegra186/Kconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/mach-tegra/tegra186/Kconfig') diff --git a/arch/arm/mach-tegra/tegra186/Kconfig b/arch/arm/mach-tegra/tegra186/Kconfig index b2e53b58ca..479c0955ee 100644 --- a/arch/arm/mach-tegra/tegra186/Kconfig +++ b/arch/arm/mach-tegra/tegra186/Kconfig @@ -21,6 +21,9 @@ endchoice config SYS_SOC default "tegra186" +config SYS_INIT_SP_BSS_OFFSET + default 524288 + source "board/nvidia/p2771-0000/Kconfig" endif -- cgit