diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-09-30 13:02:42 -0700 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2009-11-05 23:03:19 -0500 |
commit | 662aeced1512e008e5613b91de8e8b8e01017cb5 (patch) | |
tree | 416feedf288dbdc9f74fa290447ddb6ff9ac843f | |
parent | b419148e567728f6af0c3b01965c1cc141e3e13a (diff) | |
download | op-kernel-dev-662aeced1512e008e5613b91de8e8b8e01017cb5.zip op-kernel-dev-662aeced1512e008e5613b91de8e8b8e01017cb5.tar.gz |
[ARM] properly report mv78100 stepping A1
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
-rw-r--r-- | arch/arm/mach-mv78xx0/common.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mv78xx0/include/mach/mv78xx0.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mv78xx0/common.c b/arch/arm/mach-mv78xx0/common.c index 1b22e4a..08465eb 100644 --- a/arch/arm/mach-mv78xx0/common.c +++ b/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) { diff --git a/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h b/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h index d715b92..788bdac 100644 --- a/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h +++ b/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 |