blob: e45244c781a7b039cf4c6676e2db2d63d86ec77b [file] [log] [blame]
Nobuhiro Iwamatsu2d610842012-08-06 07:26:09 +09001/*
2 * RMOBILE EtherMAC initialization.
3 *
4 * Copyright (C) 2012 Renesas Solutions Corp.
5 * Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
6 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
Nobuhiro Iwamatsu2d610842012-08-06 07:26:09 +09008 */
9
10#include <common.h>
Masahiro Yamada1221ce42016-09-21 11:28:55 +090011#include <linux/errno.h>
Nobuhiro Iwamatsu2d610842012-08-06 07:26:09 +090012#include <netdev.h>
13
14int cpu_eth_init(bd_t *bis)
15{
16 int ret = -ENODEV;
17#ifdef CONFIG_SH_ETHER
18 ret = sh_eth_initialize(bis);
19#endif
20 return ret;
21}