summaryrefslogtreecommitdiff
path: root/arch/nios2/config.mk
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2014-08-22 11:36:47 +0800
committerThomas Chou <thomas@wytron.com.tw>2014-08-24 11:28:10 +0800
commit5ff10aa7e76fc7dbd205ec13381757bfa2c99911 (patch)
treeb61f3a949766cb6cda4f537874bebe7790356c8e /arch/nios2/config.mk
parent70fbc46192dfd52896560f4b31e40daa3d16b99f (diff)
downloadu-boot-imx-5ff10aa7e76fc7dbd205ec13381757bfa2c99911.zip
u-boot-imx-5ff10aa7e76fc7dbd205ec13381757bfa2c99911.tar.gz
u-boot-imx-5ff10aa7e76fc7dbd205ec13381757bfa2c99911.tar.bz2
nios2: add generic board support
This patch implements the generic board init as described in doc/README.generic-board. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Scott McNutt <smcnutt@psyent.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/nios2/config.mk')
-rw-r--r--arch/nios2/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nios2/config.mk b/arch/nios2/config.mk
index 82bd887..9b7c56d 100644
--- a/arch/nios2/config.mk
+++ b/arch/nios2/config.mk
@@ -17,3 +17,5 @@ PLATFORM_CPPFLAGS += -G0
LDFLAGS_FINAL += --gc-sections
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
+
+__HAVE_ARCH_GENERIC_BOARD := y