summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/lpc32xx/cpu.c
diff options
context:
space:
mode:
authorAlbert ARIBAUD \(3ADEV\) <albert.aribaud@3adev.fr>2015-03-31 11:40:43 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2015-04-10 14:22:48 +0200
commitac2916a2245d999006585b6bb1e312639fa4929b (patch)
tree42849cceb0ca41b3c53919f24c4f6f9cc8d10c47 /arch/arm/cpu/arm926ejs/lpc32xx/cpu.c
parentb491d9757d14415edcb1468ed896a704d0f0cfe7 (diff)
downloadu-boot-imx-ac2916a2245d999006585b6bb1e312639fa4929b.zip
u-boot-imx-ac2916a2245d999006585b6bb1e312639fa4929b.tar.gz
u-boot-imx-ac2916a2245d999006585b6bb1e312639fa4929b.tar.bz2
lpc32xx: add Ethernet support
Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/lpc32xx/cpu.c')
-rw-r--r--arch/arm/cpu/arm926ejs/lpc32xx/cpu.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/lpc32xx/cpu.c b/arch/arm/cpu/arm926ejs/lpc32xx/cpu.c
index 35095a9..eec4d9e 100644
--- a/arch/arm/cpu/arm926ejs/lpc32xx/cpu.c
+++ b/arch/arm/cpu/arm926ejs/lpc32xx/cpu.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <netdev.h>
#include <asm/arch/cpu.h>
#include <asm/arch/clk.h>
#include <asm/arch/wdt.h>
@@ -55,3 +56,11 @@ int print_cpuinfo(void)
return 0;
}
#endif
+
+#ifdef CONFIG_LPC32XX_ETH
+int cpu_eth_init(bd_t *bis)
+{
+ lpc32xx_eth_initialize(bis);
+ return 0;
+}
+#endif