diff options
author | Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> | 2008-11-21 12:04:18 +0900 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-01-24 20:45:51 -0800 |
commit | bd3980cc095af1728b994cdd8bf1ac430b6289e6 (patch) | |
tree | 60ff68067a44649aec1770253279336b5470e7c2 /cpu | |
parent | 890a02e8ee6b8c26a6e3e505e1a2d29cd73aa6f6 (diff) | |
download | bootable_bootloader_goldelico_gta04-bd3980cc095af1728b994cdd8bf1ac430b6289e6.zip bootable_bootloader_goldelico_gta04-bd3980cc095af1728b994cdd8bf1ac430b6289e6.tar.gz bootable_bootloader_goldelico_gta04-bd3980cc095af1728b994cdd8bf1ac430b6289e6.tar.bz2 |
sh: sh_eth: Change new network API
sh_eth used old network API. This patch changed new API.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/sh4/cpu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/sh4/cpu.c b/cpu/sh4/cpu.c index d94e139..52b6cfd 100644 --- a/cpu/sh4/cpu.c +++ b/cpu/sh4/cpu.c @@ -82,3 +82,11 @@ int dcache_status (void) { return 0; } + +int cpu_eth_init(bd_t *bis) +{ +#ifdef CONFIG_SH_ETHER + sh_eth_initialize(bis); +#endif + return 0; +} |