mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
f097532d27
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>
29 lines
596 B
Text
29 lines
596 B
Text
# Copyright (c) 2016, NVIDIA CORPORATION.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
if TEGRA186
|
|
|
|
choice
|
|
prompt "Tegra186 board select"
|
|
|
|
config TARGET_P2771_0000
|
|
bool "NVIDIA Tegra186 P2771-0000 board"
|
|
select BOARD_LATE_INIT
|
|
help
|
|
P2771-0000 is a P3310 CPU board married to a P2597 I/O board. The
|
|
combination contains SoC, DRAM, eMMC, SD card slot, HDMI, USB
|
|
micro-B port, Ethernet, USB3 host port, SATA, PCIe, and two GPIO
|
|
expansion headers.
|
|
|
|
endchoice
|
|
|
|
config SYS_SOC
|
|
default "tegra186"
|
|
|
|
config SYS_INIT_SP_BSS_OFFSET
|
|
default 524288
|
|
|
|
source "board/nvidia/p2771-0000/Kconfig"
|
|
|
|
endif
|