Commit 0c2a37a5d36a7c78cb135b27e1e911c4cb94fe80

Authored by Yoshihiro Shimoda
Committed by Nobuhiro Iwamatsu
1 parent bd1024b052

sh7757lcr: change config for new sh_eth driver

The new sh_eth driver uses the phy driver. So, this patch enables it.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

include/configs/sh7757lcr.h
... ... @@ -37,6 +37,7 @@
37 37  
38 38 #define CONFIG_CMD_MEMORY
39 39 #define CONFIG_CMD_NET
  40 +#define CONFIG_CMD_MII
40 41 #define CONFIG_CMD_PING
41 42 #define CONFIG_CMD_NFS
42 43 #define CONFIG_CMD_DFL
... ... @@ -101,6 +102,9 @@
101 102 #define CONFIG_SH_ETHER_USE_PORT 0
102 103 #define CONFIG_SH_ETHER_PHY_ADDR 1
103 104 #define CONFIG_SH_ETHER_CACHE_WRITEBACK 1
  105 +#define CONFIG_PHYLIB
  106 +#define CONFIG_BITBANGMII
  107 +#define CONFIG_BITBANGMII_MULTI
104 108  
105 109 #define SH7757LCR_ETHERNET_MAC_BASE_SPI 0x000b0000
106 110 #define SH7757LCR_SPI_SECTOR_SIZE (64 * 1024)