summaryrefslogtreecommitdiffstats
path: root/arch/nios2/include/asm/config.h
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/include/asm/config.h
parent70fbc46192dfd52896560f4b31e40daa3d16b99f (diff)
downloadtalos-obmc-uboot-5ff10aa7e76fc7dbd205ec13381757bfa2c99911.tar.gz
talos-obmc-uboot-5ff10aa7e76fc7dbd205ec13381757bfa2c99911.zip
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/include/asm/config.h')
-rw-r--r--arch/nios2/include/asm/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/config.h b/arch/nios2/include/asm/config.h
index cd29734789..476a32bdc6 100644
--- a/arch/nios2/include/asm/config.h
+++ b/arch/nios2/include/asm/config.h
@@ -7,4 +7,7 @@
#ifndef _ASM_CONFIG_H_
#define _ASM_CONFIG_H_
+#define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_SYS_GENERIC_GLOBAL_DATA
+
#endif
OpenPOWER on IntegriCloud