diff options
author | Jasper kcoding <jasperkcoding@gmail.com> | 2018-09-03 22:14:53 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-05 16:02:34 -0400 |
commit | a92e52137d3cdad60d5984936330ad0fca1b4a2b (patch) | |
tree | 15d4d356204c5b7c66155c4aa4788b7f20d29b45 /board | |
parent | c330235597c27eb51b0b3641ce4800906fc99af6 (diff) | |
download | u-boot-a92e52137d3cdad60d5984936330ad0fca1b4a2b.tar.gz |
amlogic: board p212: Fix Ethernet PHY init
Without this patch the Ethernet PHY on the p212 board does not get
fully configured.
When this happens Ethernet does not function.
The similar libretech-cc and khadas-vim boards have this code already.
That's why the Ethernet on these boards do work.
Signed-off-by: Jasper Kcoding <jasperkcoding@gmail.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/amlogic/p212/p212.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/amlogic/p212/p212.c b/board/amlogic/p212/p212.c index 06c2eaee47..00e07d77ad 100644 --- a/board/amlogic/p212/p212.c +++ b/board/amlogic/p212/p212.c @@ -29,7 +29,8 @@ int misc_init_r(void) char serial[EFUSE_SN_SIZE]; ssize_t len; - meson_gx_eth_init(PHY_INTERFACE_MODE_RMII, 0); + meson_gx_eth_init(PHY_INTERFACE_MODE_RMII, + MESON_GXL_USE_INTERNAL_RMII_PHY); if (!eth_env_get_enetaddr("ethaddr", mac_addr)) { len = meson_sm_read_efuse(EFUSE_MAC_OFFSET, |