[U-Boot] [PATCH] p1022ds: fix indentation of case statement

Timur Tabi timur at freescale.com
Wed Jul 14 22:22:45 CEST 2010


Signed-off-by: Timur Tabi <timur at freescale.com>
---
 board/freescale/p1022ds/p1022ds.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/board/freescale/p1022ds/p1022ds.c b/board/freescale/p1022ds/p1022ds.c
index 8cc73ed..be692cb 100644
--- a/board/freescale/p1022ds/p1022ds.c
+++ b/board/freescale/p1022ds/p1022ds.c
@@ -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;
-- 
1.7.0.1




More information about the U-Boot mailing list