mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-10 14:53:26 +09:00
![Stephen Warren](/assets/img/avatar_default.png)
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>
30 lines
596 B
Plaintext
30 lines
596 B
Plaintext
# 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
|