mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-20 18:23:08 +00:00
382de4a7e9
By default, CONFIG_SYS_INIT_SP_BSS_OFFSET was made invisible by not giving a prompt to it. The only way to define it is to hard-code an extra entry in SoC/board Kconfig, like arch/arm/mach-tegra/tegra{186,210}/Kconfig. Add a prompt to it in order to allow defconfig files to specify the value of CONFIG_SYS_INIT_SP_BSS_OFFSET. With this, CONFIG_SYS_INIT_SP_BSS_OFFSET would become always visible. So, we need a new bool option to turn it off by default. I move the 'default 524288' to the common place. This value is not too big, but is big enough to avoid the overwrap of DT in most platforms. If 512KB is not a suitable choice for your platform, you can change it from your defconfig or menuconfig etc. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Stephen Warren <swarren@nvidia.com>
26 lines
549 B
Text
26 lines
549 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"
|
|
|
|
source "board/nvidia/p2771-0000/Kconfig"
|
|
|
|
endif
|