aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-ns9xxx/board.h
diff options
context:
space:
mode:
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2007-10-16 16:56:05 +0200
committerUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-03-31 08:17:01 +0200
commita9fc01f919521886436f6cdcc2c0c302d4afae15 (patch)
treea835e7d719b646c48ffaa1bd3ecf2ca386045c2e /include/asm-arm/arch-ns9xxx/board.h
parentns9xxx: introduce a config variable for the cc9p9360 module (diff)
downloadlinux-dev-a9fc01f919521886436f6cdcc2c0c302d4afae15.tar.xz
linux-dev-a9fc01f919521886436f6cdcc2c0c302d4afae15.zip
ns9xxx: add module_is_..., processor_is_... and board_is_... for many machs
Most of the machines are not yet supported, but I have to start somewhere. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Diffstat (limited to 'include/asm-arm/arch-ns9xxx/board.h')
-rw-r--r--include/asm-arm/arch-ns9xxx/board.h28
1 files changed, 25 insertions, 3 deletions
diff --git a/include/asm-arm/arch-ns9xxx/board.h b/include/asm-arm/arch-ns9xxx/board.h
index 716f34fdb716..e57443bdbbd9 100644
--- a/include/asm-arm/arch-ns9xxx/board.h
+++ b/include/asm-arm/arch-ns9xxx/board.h
@@ -1,7 +1,7 @@
/*
* include/asm-arm/arch-ns9xxx/board.h
*
- * Copyright (C) 2006 by Digi International Inc.
+ * Copyright (C) 2006,2007 by Digi International Inc.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
@@ -13,8 +13,30 @@
#include <asm/mach-types.h>
-#define board_is_a9m9750dev() (machine_is_cc9p9360dev())
+#define board_is_a9m9750dev() (0 \
+ || machine_is_cc9p9360dev() \
+ || machine_is_cc9p9750dev() \
+ )
-#define board_is_jscc9p9360() (machine_is_cc9p9360js())
+#define board_is_a9mvali() (0 \
+ || machine_is_cc9p9360val() \
+ || machine_is_cc9p9750val() \
+ )
+
+#define board_is_jscc9p9210() (0 \
+ || machine_is_cc9p9210js() \
+ )
+
+#define board_is_jscc9p9215() (0 \
+ || machine_is_cc9p9215js() \
+ )
+
+#define board_is_jscc9p9360() (0 \
+ || machine_is_cc9p9360js() \
+ )
+
+#define board_is_uncbas() (0 \
+ || machine_is_cc7ucamry() \
+ )
#endif /* ifndef __ASM_ARCH_BOARD_H */