summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-04-21 20:38:18 +0900
committerMarek Vasut <marex@denx.de>2015-05-07 05:19:29 +0200
commitcc25d85be3ffb5fc29279f17b8d68dc0e44dd19c (patch)
treea2b0e6809091dd96f07cca5ff0d09e268e72c931
parent905e8f9e53766e606bd4a0ed46d804889e613f32 (diff)
downloadu-boot-imx-cc25d85be3ffb5fc29279f17b8d68dc0e44dd19c.zip
u-boot-imx-cc25d85be3ffb5fc29279f17b8d68dc0e44dd19c.tar.gz
u-boot-imx-cc25d85be3ffb5fc29279f17b8d68dc0e44dd19c.tar.bz2
ARM: socfpga: do not add board directory to header search path
The compiler option "-Iboard/$(VENDOR)/$(BOARD)" just exists here for iocsr_config.c to be able to include iocsr_config.h. Use "..." instead of <...> to include a header in the same directory. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--arch/arm/cpu/armv7/socfpga/config.mk3
-rw-r--r--board/altera/socfpga/iocsr_config.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/cpu/armv7/socfpga/config.mk b/arch/arm/cpu/armv7/socfpga/config.mk
index 2a99c72..3d18491 100644
--- a/arch/arm/cpu/armv7/socfpga/config.mk
+++ b/arch/arm/cpu/armv7/socfpga/config.mk
@@ -6,6 +6,3 @@
ifndef CONFIG_SPL_BUILD
ALL-y += u-boot.img
endif
-
-# Added for handoff support
-PLATFORM_RELFLAGS += -Iboard/$(VENDOR)/$(BOARD)
diff --git a/board/altera/socfpga/iocsr_config.c b/board/altera/socfpga/iocsr_config.c
index c79aa6d..3b202b5 100644
--- a/board/altera/socfpga/iocsr_config.c
+++ b/board/altera/socfpga/iocsr_config.c
@@ -6,7 +6,7 @@
/* This file is generated by Preloader Generator */
-#include <iocsr_config.h>
+#include "iocsr_config.h"
#ifdef CONFIG_TARGET_SOCFPGA_CYCLONE5
const unsigned long iocsr_scan_chain0_table[((