diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-10-13 05:34:59 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-10-27 21:56:32 +0200 |
commit | 77f11a99e14ce10ebc3b26a39a976a0827b88f86 (patch) | |
tree | d1c7eefc9478cbede388e65978521e877a614b58 /board/logicpd/imx27lite | |
parent | f8f96129bf4044fe980d6096d45e69b953d87041 (diff) | |
download | u-boot-imx-77f11a99e14ce10ebc3b26a39a976a0827b88f86.zip u-boot-imx-77f11a99e14ce10ebc3b26a39a976a0827b88f86.tar.gz u-boot-imx-77f11a99e14ce10ebc3b26a39a976a0827b88f86.tar.bz2 |
imx: fix coding style
Fix checkpatch warning and errors in several i.MX related files.
While at it also address a checkpatch warning at arch/arm/cpu/armv7/mx5/soc.c
regarding the usage of extern in a C file.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/logicpd/imx27lite')
-rw-r--r-- | board/logicpd/imx27lite/imx27lite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index 2b273ac..8a5015c 100644 --- a/board/logicpd/imx27lite/imx27lite.c +++ b/board/logicpd/imx27lite/imx27lite.c @@ -26,7 +26,7 @@ DECLARE_GLOBAL_DATA_PTR; -int board_init (void) +int board_init(void) { struct gpio_regs *regs = (struct gpio_regs *)IMX_GPIO_BASE; #if defined(CONFIG_SYS_NAND_LARGEPAGE) @@ -64,7 +64,7 @@ int board_init (void) return 0; } -int dram_init (void) +int dram_init(void) { /* dram_init must store complete ramsize in gd->ram_size */ gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, @@ -86,7 +86,7 @@ void dram_init_banksize(void) int checkboard(void) { - puts ("Board: "); + puts("Board: "); puts(CONFIG_BOARDNAME); return 0; } |