diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-09-30 16:02:42 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2009-11-05 23:03:19 -0500 |
commit | 662aeced1512e008e5613b91de8e8b8e01017cb5 (patch) | |
tree | 416feedf288dbdc9f74fa290447ddb6ff9ac843f /arch/arm/mach-mv78xx0 | |
parent | b419148e567728f6af0c3b01965c1cc141e3e13a (diff) |
[ARM] properly report mv78100 stepping A1
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-mv78xx0')
-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 1b22e4af8791..08465eb6a2c2 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) | |||
845 | } else if (dev == MV78100_DEV_ID) { | 845 | } else if (dev == MV78100_DEV_ID) { |
846 | if (rev == MV78100_REV_A0) | 846 | if (rev == MV78100_REV_A0) |
847 | return "MV78100-A0"; | 847 | return "MV78100-A0"; |
848 | else if (rev == MV78100_REV_A1) | ||
849 | return "MV78100-A1"; | ||
848 | else | 850 | else |
849 | return "MV78100-Rev-Unsupported"; | 851 | return "MV78100-Rev-Unsupported"; |
850 | } else if (dev == MV78200_DEV_ID) { | 852 | } 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 d715b92b0908..788bdace1304 100644 --- a/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h +++ b/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h | |||
@@ -112,6 +112,7 @@ | |||
112 | 112 | ||
113 | #define MV78100_DEV_ID 0x7810 | 113 | #define MV78100_DEV_ID 0x7810 |
114 | #define MV78100_REV_A0 1 | 114 | #define MV78100_REV_A0 1 |
115 | #define MV78100_REV_A1 2 | ||
115 | 116 | ||
116 | #define MV78200_DEV_ID 0x7820 | 117 | #define MV78200_DEV_ID 0x7820 |
117 | #define MV78200_REV_A0 1 | 118 | #define MV78200_REV_A0 1 |