summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/tegra-common
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-24 01:30:43 +0900
committerTom Rini <trini@ti.com>2014-10-23 13:19:09 -0400
commit45ccec8f29563f248cd1a7d53c1a9ffa2881837d (patch)
treee576d7e5b3308c16732af629836ec1cb4c6adb4e /arch/arm/cpu/armv7/tegra-common
parent76eb5d815e0e4c4979fb862498e2860e9db2b810 (diff)
downloadblackbird-obmc-uboot-45ccec8f29563f248cd1a7d53c1a9ffa2881837d.tar.gz
blackbird-obmc-uboot-45ccec8f29563f248cd1a7d53c1a9ffa2881837d.zip
kconfig: move CONFIG_USE_PRIVATE_LIBGCC to Kconfig
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>
Diffstat (limited to 'arch/arm/cpu/armv7/tegra-common')
-rw-r--r--arch/arm/cpu/armv7/tegra-common/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/tegra-common/Kconfig b/arch/arm/cpu/armv7/tegra-common/Kconfig
index bcae2d6033..3ea6d7651c 100644
--- a/arch/arm/cpu/armv7/tegra-common/Kconfig
+++ b/arch/arm/cpu/armv7/tegra-common/Kconfig
@@ -17,6 +17,9 @@ config TEGRA124
endchoice
+config USE_PRIVATE_LIBGCC
+ default y if SPL_BUILD
+
config SYS_CPU
default "arm720t" if SPL_BUILD
default "armv7" if !SPL_BUILD
OpenPOWER on IntegriCloud