p1022ds: fix indentation of case statement
PATCH 1/1 p1022ds: fix indentation of case statement
Signed-off-by Timur Tabi <[email protected]>
--- board/freescale/p1022ds/p1022ds.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-)
board/freescale/p1022ds/p1022ds.c +10 -10
@@ -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
PATCH 1/1 p1022ds: fix indentation of case statement
Dear Timur Tabi,
Quoted 24 lines · In message <[email protected]> you wrote:
Signed-off-by Timur Tabi <[email protected]>--- board/freescale/p1022ds/p1022ds.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-)board/freescale/p1022ds/p1022ds.c +1
-10@@ -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?
PATCH 1/1 p1022ds: fix indentation of case statement
In reply to Timur TabiQuoted 4 lines · Timur Tabi
Signed-off-by Timur Tabi <[email protected]>---
board/freescale/p1022ds/p1022ds.c| 20 ++++++++++----------1 files changed, 10 insertions(+), 10 deletions(-)
applied and squashed into p1022ds patch
- k