mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-10-11 00:31:45 +00:00
45ccec8f29
The private libgcc is supported only on ARM, MIPS, PowerPC, SH, x86. Those architectures should "select" HAVE_PRIVATE_LIBGCC and CONFIG_USE_PRIVATE_LIBGCC should depend on it. Currently, this option is enabled on Tegra boards and x86 architecture. Move the definition from header files to Kconfig. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Tested-by: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org> Cc: Stephen Warren <swarren@nvidia.com> Cc: Tom Warren <twarren@nvidia.com>
32 lines
531 B
Text
32 lines
531 B
Text
if TEGRA
|
|
|
|
choice
|
|
prompt "Tegra SoC select"
|
|
|
|
config TEGRA20
|
|
bool "Tegra20 family"
|
|
|
|
config TEGRA30
|
|
bool "Tegra30 family"
|
|
|
|
config TEGRA114
|
|
bool "Tegra114 family"
|
|
|
|
config TEGRA124
|
|
bool "Tegra124 family"
|
|
|
|
endchoice
|
|
|
|
config USE_PRIVATE_LIBGCC
|
|
default y if SPL_BUILD
|
|
|
|
config SYS_CPU
|
|
default "arm720t" if SPL_BUILD
|
|
default "armv7" if !SPL_BUILD
|
|
|
|
source "arch/arm/cpu/armv7/tegra20/Kconfig"
|
|
source "arch/arm/cpu/armv7/tegra30/Kconfig"
|
|
source "arch/arm/cpu/armv7/tegra114/Kconfig"
|
|
source "arch/arm/cpu/armv7/tegra124/Kconfig"
|
|
|
|
endif
|