diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2012-06-26 16:38:06 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-07-23 22:00:50 -0500 |
commit | 262350932c0e6ffcf67d4c6791a4743c0e1f5c1b (patch) | |
tree | ff92c69145a2c88bdefd6c8a90156d52e516554a /board/bf527-sdp | |
parent | 58bef2a5e3833895559a963d6b0c12a73767b2dd (diff) | |
download | u-boot-imx-262350932c0e6ffcf67d4c6791a4743c0e1f5c1b.zip u-boot-imx-262350932c0e6ffcf67d4c6791a4743c0e1f5c1b.tar.gz u-boot-imx-262350932c0e6ffcf67d4c6791a4743c0e1f5c1b.tar.bz2 |
net: sh_eth: add SH_ETH_TYPE_ condition
At the moment, the driver supports the following CPUs:
- GETHER (Gigabit Ethernet) : SH7763, SH7734
- ETHER (Fast Ethernet) : SH7724, SH7757
And the driver had the following "#if":
#if defined(CONFIG_CPU_SH7763) || defined(CONFIG_CPU_SH7734)
#if !defined(CONFIG_CPU_SH7757) && !defined(CONFIG_CPU_SH7724)
- Those are for GETHER
#if defined(CONFIG_CPU_SH7724) || defined(CONFIG_CPU_SH7757)
- This is for ETHER
So, for clean up the code, this patch adds SH_ETH_TYPE_GETHER and
SH_ETH_TYPE_ETHER. And then, the patch modifies the above "#if".
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'board/bf527-sdp')
0 files changed, 0 insertions, 0 deletions