summaryrefslogtreecommitdiffstats
path: root/include/configs/suvd3.h
diff options
context:
space:
mode:
authorGerlando Falauto <gerlando.falauto@keymile.com>2012-10-10 22:13:10 +0000
committerKim Phillips <kim.phillips@freescale.com>2012-10-23 15:23:26 -0500
commitc4d22de817738e9f1f6a7c34664fc4ac112024a3 (patch)
tree8473408399d3997bf08f8166f036a570668532c6 /include/configs/suvd3.h
parent6967840b83d06c7d56fb6ba6322393a9c254c27b (diff)
downloadtalos-obmc-uboot-c4d22de817738e9f1f6a7c34664fc4ac112024a3.tar.gz
talos-obmc-uboot-c4d22de817738e9f1f6a7c34664fc4ac112024a3.zip
km83xx: add kmvect1 board
Add support for the new kmvect1 board powered by the mpc8309 processor. As this board is very similar to the existing suvd3, instead of adding a new config header file, just add a new config option to suvd3.h Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/configs/suvd3.h')
-rw-r--r--include/configs/suvd3.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/include/configs/suvd3.h b/include/configs/suvd3.h
index 68680c5f9c..c50832c1e0 100644
--- a/include/configs/suvd3.h
+++ b/include/configs/suvd3.h
@@ -23,14 +23,23 @@
/*
* High Level Configuration Options
*/
-#define CONFIG_SUVD3 /* SUVD3 board specific */
-#define CONFIG_HOSTNAME suvd3
-#define CONFIG_KM_BOARD_NAME "suvd3"
+/* This needs to be set prior to including km/km83xx-common.h */
#define CONFIG_SYS_TEXT_BASE 0xF0000000
+#if defined(CONFIG_SUVD3) /* SUVD3 board specific */
+#define CONFIG_HOSTNAME suvd3
+#define CONFIG_KM_BOARD_NAME "suvd3"
/* include common defines/options for all 8321 Keymile boards */
#include "km/km8321-common.h"
+#elif defined(CONFIG_KMVECT1) /* VECT1 board specific */
+#define CONFIG_HOSTNAME kmvect1
+#define CONFIG_KM_BOARD_NAME "kmvect1"
+/* include common defines/options for all 8309 Keymile boards */
+#include "km/km8309-common.h"
+#else
+#error Supported boards are: SUVD3, KMVECT1
+#endif
#define CONFIG_SYS_APP1_BASE 0xA0000000
#define CONFIG_SYS_APP1_SIZE 256 /* Megabytes */
OpenPOWER on IntegriCloud