Browse Source

[ARM] properly report mv78100 stepping A1

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Lennert Buytenhek 15 years ago
parent
commit
662aeced15
2 changed files with 3 additions and 0 deletions
  1. 2 0
      arch/arm/mach-mv78xx0/common.c
  2. 1 0
      arch/arm/mach-mv78xx0/include/mach/mv78xx0.h

+ 2 - 0
arch/arm/mach-mv78xx0/common.c

@@ -845,6 +845,8 @@ static char * __init mv78xx0_id(void)
 	} else if (dev == MV78100_DEV_ID) {
 		if (rev == MV78100_REV_A0)
 			return "MV78100-A0";
+		else if (rev == MV78100_REV_A1)
+			return "MV78100-A1";
 		else
 			return "MV78100-Rev-Unsupported";
 	} else if (dev == MV78200_DEV_ID) {

+ 1 - 0
arch/arm/mach-mv78xx0/include/mach/mv78xx0.h

@@ -112,6 +112,7 @@
 
 #define MV78100_DEV_ID		0x7810
 #define MV78100_REV_A0		1
+#define MV78100_REV_A1		2
 
 #define MV78200_DEV_ID		0x7820
 #define MV78200_REV_A0		1