aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorClint Adams2011-05-06 22:06:47 +0530
committerAlbert ARIBAUD2011-05-11 23:03:16 +0200
commit21861f2d39ac8cab88dd3cfa1285aa4f69023b10 (patch)
treea2d8714abb27c78831e88c17cc1ee9c880c16b35 /include
parentf846604ff57487e0d6e5ddebf8c4c4c02bd5e077 (diff)
Add definitions for OpenRD-Client and OpenRD-Ultimate
Signed-off-by: Clint Adams <clint@debian.org> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Julian Pidancet <julian.pidancet@citrix.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/openrd.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/configs/openrd.h b/include/configs/openrd.h
index 13dc34c2ac1..72997498ba8 100644
--- a/include/configs/openrd.h
+++ b/include/configs/openrd.h
@@ -33,7 +33,19 @@
/*
* Version number information
*/
-#define CONFIG_IDENT_STRING "\nOpenRD_base"
+#ifdef CONFIG_BOARD_IS_OPENRD_ULTIMATE
+# define CONFIG_IDENT_STRING "\nOpenRD-Ultimate"
+#else
+# ifdef CONFIG_BOARD_IS_OPENRD_CLIENT
+# define CONFIG_IDENT_STRING "\nOpenRD-Client"
+# else
+# ifdef CONFIG_BOARD_IS_OPENRD_BASE
+# define CONFIG_IDENT_STRING "\nOpenRD-Base"
+# else
+# error Unknown OpenRD board specified
+# endif
+# endif
+#endif
/*
* High Level Configuration Options (easy to change)