9
0
Fork 0

ARM: ccmx51: Fix printing board HW-revision

Board hardware revision is 1-based. This patch corrects printed value,
so now value printed in console is equal value printed on PCB.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2013-02-08 16:28:26 +04:00 committed by Sascha Hauer
parent 91afe6c222
commit 8afa17372f
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ static int ccxmx51_devices_init(void)
printf("Module Variant: %s (0x%02x)\n", ccxmx51_id->id_string, hwid[0]);
if (hwid[0]) {
printf("Module HW Rev : %02x\n", hwid[1]);
printf("Module HW Rev : %02x\n", hwid[1] + 1);
switch (hwid[2] & 0xc0) {
case 0x00:
manloc = 'B';