tegra2: trivially enable 13 mhz crystal frequency
[oweals/u-boot.git] / arch / arm / cpu / armv7 / tegra2 / config.mk
index 96c07955aa7658919203da4b6ddde53513949db0..fe9ef5b763b6108e3d976e81dab47b55f24d3655 100644 (file)
 # MA 02111-1307 USA
 #
 
-# Use ARMv4 for Tegra2 - initial code runs on the AVP, which is an ARM7TDI.
-PLATFORM_CPPFLAGS += -march=armv4
+# Tegra has an ARMv4T CPU which runs board_init_f(), so we must build this
+# file with compatible flags
+ifdef CONFIG_TEGRA2
+CFLAGS_arch/arm/lib/board.o += -march=armv4t
+endif
+
+USE_PRIVATE_LIBGCC = yes
+
+CONFIG_ARCH_DEVICE_TREE := tegra20