microblaze: fix style in board.c

Make microblaze's board.c checkpatch clean.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>

Reviewed-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
Andreas Bießmann 2013-04-18 22:48:46 +00:00 committed by Tom Rini
parent 0472fbfd32
commit 50ffb1174c

View File

@ -75,7 +75,7 @@ void board_init_f(ulong not_used)
bd_t *bd; bd_t *bd;
init_fnc_t **init_fnc_ptr; init_fnc_t **init_fnc_ptr;
gd = (gd_t *)(CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_GBL_DATA_OFFSET); gd = (gd_t *)(CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_GBL_DATA_OFFSET);
bd = (bd_t *) (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_GBL_DATA_OFFSET \ bd = (bd_t *)(CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_GBL_DATA_OFFSET
- GENERATED_BD_INFO_SIZE); - GENERATED_BD_INFO_SIZE);
#if defined(CONFIG_CMD_FLASH) #if defined(CONFIG_CMD_FLASH)
ulong flash_size = 0; ulong flash_size = 0;
@ -114,17 +114,15 @@ void board_init_f(ulong not_used)
for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) { for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) {
WATCHDOG_RESET(); WATCHDOG_RESET();
if ((*init_fnc_ptr) () != 0) { if ((*init_fnc_ptr) () != 0)
hang(); hang();
} }
}
#ifdef CONFIG_OF_CONTROL #ifdef CONFIG_OF_CONTROL
/* For now, put this check after the console is ready */ /* For now, put this check after the console is ready */
if (fdtdec_prepare_fdt()) { if (fdtdec_prepare_fdt())
panic("** CONFIG_OF_CONTROL defined but no FDT - please see " panic("** No FDT - please see doc/README.fdt-control");
"doc/README.fdt-control"); else
} else
printf("DTB: 0x%x\n", (u32)gd->fdt_blob); printf("DTB: 0x%x\n", (u32)gd->fdt_blob);
#endif #endif
@ -201,5 +199,6 @@ void board_init_f(ulong not_used)
void hang(void) void hang(void)
{ {
puts("### ERROR ### Please RESET the board ###\n"); puts("### ERROR ### Please RESET the board ###\n");
for (;;) ; for (;;)
;
} }