Skip to contentSkip to conversation

p1022ds: fix indentation of case statement

PATCH New Timur Tabi 3 participants 3 messages Jul 14, 2010

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 1/1 p1022ds: fix indentation of case statement

---
 board/freescale/p1022ds/p1022ds.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
board/freescale/p1022ds/p1022ds.c +10 -10
index 8cc73ed..be692cb 100644
@@ -60,16 +60,16 @@ int checkboard(void)
 	sw = in_8(&PIXIS_SW(PIXIS_LBMAP_SWITCH));
 
 	switch ((sw & PIXIS_LBMAP_MASK) >> 6) {
-		case 0:
-			printf ("vBank: %u\n", ((sw & 0x30) >> 4));
-			break;
-		case 1:
-			printf ("NAND\n");
-			break;
-		case 2:
-		case 3:
-			puts ("Promjet\n");
-			break;
+	case 0:
+		printf ("vBank: %u\n", ((sw & 0x30) >> 4));
+		break;
+	case 1:
+		printf ("NAND\n");
+		break;
+	case 2:
+	case 3:
+		puts ("Promjet\n");
+		break;
 	}
 
 	return 0;
Signature · 1 line
1.7.0.1
#1 lore raw

PATCH 1/1 p1022ds: fix indentation of case statement

Dear Timur Tabi,

Quoted 24 lines · In message <[email protected]> you wrote:
---
 board/freescale/p1022ds/p1022ds.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
board/freescale/p1022ds/p1022ds.c +1 -10
index 8cc73ed..be692cb 100644
@@ -60,16 +60,16 @@ int checkboard(void)
 	sw = in_8(&PIXIS_SW(PIXIS_LBMAP_SWITCH));
 
 	switch ((sw & PIXIS_LBMAP_MASK) >> 6) {
-		case 0:
-			printf ("vBank: %u\n", ((sw & 0x30) >> 4));
-			break;
-		case 1:
-			printf ("NAND\n");
-			break;
-		case 2:
-		case 3:
-			puts ("Promjet\n");
-			break;
+	case 0:

board/freescale/p1022ds/p1022ds.c int checkboard(void) · line 73

Quoted 10 lines
board/freescale/p1022ds/p1022ds.c +9 -0
+		printf ("vBank: %u\n", ((sw & 0x30) >> 4));
+		break;
+	case 1:
+		printf ("NAND\n");
+		break;
+	case 2:
+	case 3:
+		puts ("Promjet\n");
+		break;
 	}

Thanks.

Kumar, can you please squash this into the original commit? Thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Do you suppose the reason the ends of the `Intel Inside'  logo  don't
match up is that it was drawn on a Pentium?