summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/socfpga/spl.c
diff options
context:
space:
mode:
authorChin Liang See <clsee@altera.com>2014-07-22 04:28:35 -0500
committerTom Rini <trini@ti.com>2014-08-29 15:50:54 -0400
commit3ab019e1dc39c69ae7fd0e15b080ef6c59cd138f (patch)
treee9832b3f75646bdeb80e9fe1bc4a8bbce01b65ac /arch/arm/cpu/armv7/socfpga/spl.c
parent51fb455f82b08ef1bf21b5c51181d26fef56df03 (diff)
downloadtalos-obmc-uboot-3ab019e1dc39c69ae7fd0e15b080ef6c59cd138f.tar.gz
talos-obmc-uboot-3ab019e1dc39c69ae7fd0e15b080ef6c59cd138f.zip
socfpga: Fix SOCFPGA build error for Altera dev kit
To fix the build error when build for Altera dev kit, not virtual target. At same time, set the build for Altera dev kit as default instead virtual target. With that, U-Boot is booting well and SPL still lack of few drivers. Signed-off-by: Chin Liang See <clsee@altera.com> Cc: Pavel Machek <pavel@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Diffstat (limited to 'arch/arm/cpu/armv7/socfpga/spl.c')
-rw-r--r--arch/arm/cpu/armv7/socfpga/spl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/socfpga/spl.c b/arch/arm/cpu/armv7/socfpga/spl.c
index 4bed19d0a7..27efde62cc 100644
--- a/arch/arm/cpu/armv7/socfpga/spl.c
+++ b/arch/arm/cpu/armv7/socfpga/spl.c
@@ -14,6 +14,8 @@
#include <spl.h>
#include <asm/arch/system_manager.h>
#include <asm/arch/freeze_controller.h>
+#include <asm/arch/clock_manager.h>
+#include <asm/arch/scan_manager.h>
DECLARE_GLOBAL_DATA_PTR;
OpenPOWER on IntegriCloud