summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach/system_rev.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-07-13 17:02:12 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-07-13 17:02:12 +0900
commit4af358f81881e1d083a916c9269b5ac0936e180d (patch)
treec0533d3268daccb6f06f1180aa1ae8f1aac17d36 /arch/arm/mach-at91/include/mach/system_rev.h
parent7653aaab775d4c205a7dce52850c8e3d4f31d4ea (diff)
parentb63d10130e68aa6480cc1b2483d7c5ce57a05481 (diff)
downloadblackbird-obmc-linux-4af358f81881e1d083a916c9269b5ac0936e180d.tar.gz
blackbird-obmc-linux-4af358f81881e1d083a916c9269b5ac0936e180d.zip
Merge branch 'fbdev/stable-updates'
Diffstat (limited to 'arch/arm/mach-at91/include/mach/system_rev.h')
-rw-r--r--arch/arm/mach-at91/include/mach/system_rev.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-at91/include/mach/system_rev.h b/arch/arm/mach-at91/include/mach/system_rev.h
index b855ee75f72c..8f4866045b41 100644
--- a/arch/arm/mach-at91/include/mach/system_rev.h
+++ b/arch/arm/mach-at91/include/mach/system_rev.h
@@ -13,13 +13,13 @@
* the 16-31 bit are reserved for at91 generic information
*
* bit 31:
- * 0 => nand 16 bit
- * 1 => nand 8 bit
+ * 0 => nand 8 bit
+ * 1 => nand 16 bit
*/
-#define BOARD_HAVE_NAND_8BIT (1 << 31)
-static int inline board_have_nand_8bit(void)
+#define BOARD_HAVE_NAND_16BIT (1 << 31)
+static inline int board_have_nand_16bit(void)
{
- return system_rev & BOARD_HAVE_NAND_8BIT;
+ return system_rev & BOARD_HAVE_NAND_16BIT;
}
#endif /* __ARCH_SYSTEM_REV_H__ */
OpenPOWER on IntegriCloud