summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/mx5
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-10-13 05:34:59 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:32 +0200
commit77f11a99e14ce10ebc3b26a39a976a0827b88f86 (patch)
treed1c7eefc9478cbede388e65978521e877a614b58 /arch/arm/cpu/armv7/mx5
parentf8f96129bf4044fe980d6096d45e69b953d87041 (diff)
downloadu-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 'arch/arm/cpu/armv7/mx5')
-rw-r--r--arch/arm/cpu/armv7/mx5/soc.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/cpu/armv7/mx5/soc.c b/arch/arm/cpu/armv7/mx5/soc.c
index c6106d5..cf12ba8 100644
--- a/arch/arm/cpu/armv7/mx5/soc.c
+++ b/arch/arm/cpu/armv7/mx5/soc.c
@@ -26,6 +26,8 @@
#include <common.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/clock.h>
+#include <asm/arch/sys_proto.h>
+
#include <asm/errno.h>
#include <asm/io.h>
@@ -117,14 +119,6 @@ int print_cpuinfo(void)
}
#endif
-/*
- * Initializes on-chip ethernet controllers.
- * to override, implement board_eth_init()
- */
-#if defined(CONFIG_FEC_MXC)
-extern int fecmxc_initialize(bd_t *bis);
-#endif
-
int cpu_eth_init(bd_t *bis)
{
int rc = -ENODEV;