mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
21 lines
400 B
C
21 lines
400 B
C
/*
|
|
* RMOBILE EtherMAC initialization.
|
|
*
|
|
* Copyright (C) 2012 Renesas Solutions Corp.
|
|
* Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/errno.h>
|
|
#include <netdev.h>
|
|
|
|
int cpu_eth_init(bd_t *bis)
|
|
{
|
|
int ret = -ENODEV;
|
|
#ifdef CONFIG_SH_ETHER
|
|
ret = sh_eth_initialize(bis);
|
|
#endif
|
|
return ret;
|
|
}
|