diff options
author | Bo Shen <voice.shen@atmel.com> | 2015-01-19 17:54:54 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-23 08:37:30 +0100 |
commit | 2d8d5e867411778f8dcfcb4015cc06a69c65dda5 (patch) | |
tree | d9fa90281ed4fecbe06be577c7e81f8c97b3e548 /arch/arm/boards/sama5d3xek | |
parent | aa61a8dc612d77d025208945ccd0e0941e42f3a5 (diff) | |
download | barebox-2d8d5e867411778f8dcfcb4015cc06a69c65dda5.tar.gz barebox-2d8d5e867411778f8dcfcb4015cc06a69c65dda5.tar.xz |
ARM: atmel: sama5d3xek: let gmac auto detect phy id
On the SAMA5D33 and SAMA5D35 the GMAC PHY ID is 1 while not 7.
So, let the GMAC auto detect phy id, or else hard code to 7,
it can not work on these two boards.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/sama5d3xek')
-rw-r--r-- | arch/arm/boards/sama5d3xek/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/sama5d3xek/init.c b/arch/arm/boards/sama5d3xek/init.c index 6fa08822c6..3efa506e8d 100644 --- a/arch/arm/boards/sama5d3xek/init.c +++ b/arch/arm/boards/sama5d3xek/init.c @@ -123,7 +123,7 @@ static void ek_add_device_nand(void) {} #if defined(CONFIG_DRIVER_NET_MACB) static struct macb_platform_data gmac_pdata = { .phy_interface = PHY_INTERFACE_MODE_RGMII, - .phy_addr = 7, + .phy_addr = -1, }; static struct macb_platform_data macb_pdata = { |