diff options
author | Bo Shen <voice.shen@atmel.com> | 2015-01-22 15:26:53 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-23 08:37:30 +0100 |
commit | aa61a8dc612d77d025208945ccd0e0941e42f3a5 (patch) | |
tree | a46d1c067054299608e3678c73599b542abaddac /arch/arm/boards/sama5d3xek | |
parent | baee75318173b0bb7d4e4fd9c5b23b4a0f3b9362 (diff) | |
download | barebox-aa61a8dc612d77d025208945ccd0e0941e42f3a5.tar.gz barebox-aa61a8dc612d77d025208945ccd0e0941e42f3a5.tar.xz |
ARM: atmel: sama5d3xek: let emac auto detect phy addr
On the SAMA5D35 the EMAC phy addr is 1 while not 0. So, let
the EMAC auto detect phy addr, or else hard code to 0, the
ethernet can not work on SAMA5D35 board.
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 57dc7b0667..6fa08822c6 100644 --- a/arch/arm/boards/sama5d3xek/init.c +++ b/arch/arm/boards/sama5d3xek/init.c @@ -128,7 +128,7 @@ static struct macb_platform_data gmac_pdata = { static struct macb_platform_data macb_pdata = { .phy_interface = PHY_INTERFACE_MODE_RMII, - .phy_addr = 0, + .phy_addr = -1, }; static bool used_23 = false; |