mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +00:00
1221ce459d
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the same content. (both just wrap <asm-generic/errno.h>) Replace all include directives for <asm/errno.h> with <linux/errno.h>. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> [trini: Fixup include/clk.] Signed-off-by: Tom Rini <trini@konsulko.com>
21 lines
402 B
C
21 lines
402 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 <linux/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;
|
|
}
|