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

Wolfgang Denk wd at denx.de
Wed Jul 14 22:57:31 CEST 2010


Dear Timur Tabi,

In message <1279138965-21510-1-git-send-email-timur at freescale.com> you wrote:
> 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;
>  	}

Thanks.

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

Best regards,

Wolfgang Denk

-- 
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?


More information about the U-Boot mailing list