diff options
author | Stephen Warren <swarren@nvidia.com> | 2017-12-20 04:30:37 +0300 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2018-01-12 19:52:11 +0300 |
commit | f097532d279dd7a6ab2d579425d1318051ac1f8d (patch) | |
tree | f212675d25220453fb1f6a8e5cb69fe469dd39ae /arch/arm/mach-tegra | |
parent | e6c904489a6018f44c3b00c9eacc4742887b1f83 (diff) | |
download | u-boot-f097532d279dd7a6ab2d579425d1318051ac1f8d.tar.xz |
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 <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/tegra186/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/mach-tegra/tegra210/Kconfig | 3 |
2 files changed, 6 insertions, 0 deletions
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 diff --git a/arch/arm/mach-tegra/tegra210/Kconfig b/arch/arm/mach-tegra/tegra210/Kconfig index 3637473051..250738aed3 100644 --- a/arch/arm/mach-tegra/tegra210/Kconfig +++ b/arch/arm/mach-tegra/tegra210/Kconfig @@ -40,6 +40,9 @@ endchoice config SYS_SOC default "tegra210" +config SYS_INIT_SP_BSS_OFFSET + default 524288 + source "board/nvidia/e2220-1170/Kconfig" source "board/nvidia/p2371-0000/Kconfig" source "board/nvidia/p2371-2180/Kconfig" |