mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-16 00:03:24 +00:00
93565cc94c
For most source files we can just drop <common.h>. We need to add an include for <asm/u-boot.h> in a couple of places. Also sort the include list in memmap-gen3.c while we're here. Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
20 lines
406 B
C
20 lines
406 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* RMOBILE EtherMAC initialization.
|
|
*
|
|
* Copyright (C) 2012 Renesas Solutions Corp.
|
|
* Copyright (C) 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
|
|
*/
|
|
|
|
#include <net.h>
|
|
#include <linux/errno.h>
|
|
#include <netdev.h>
|
|
|
|
int cpu_eth_init(struct bd_info *bis)
|
|
{
|
|
int ret = -ENODEV;
|
|
#ifdef CONFIG_SH_ETHER
|
|
ret = sh_eth_initialize(bis);
|
|
#endif
|
|
return ret;
|
|
}
|