~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/arm/cpu/armv7/rmobile/emac.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * RMOBILE EtherMAC initialization.
 
3
 *
 
4
 * Copyright (C) 2012  Renesas Solutions Corp.
 
5
 * Copyright (C) 2012  Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
 
6
 *
 
7
 * SPDX-License-Identifier:     GPL-2.0+
 
8
 */
 
9
 
 
10
#include <common.h>
 
11
#include <asm/errno.h>
 
12
#include <netdev.h>
 
13
 
 
14
int 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
}