Commit 8aeed956 authored by Hans de Goede's avatar Hans de Goede
Browse files

sunxi: Request macpwr gpio before using it

This fixes ethernet no longer working on boards which use a gpio to enable
the phy.
Signed-off-by: default avatarHans de Goede <>
Acked-by: default avatarIan Campbell <>
parent 3d0158ae
......@@ -223,6 +223,7 @@ int cpu_eth_init(bd_t *bis)
__maybe_unused int rc;
gpio_request(CONFIG_MACPWR, "macpwr");
gpio_direction_output(CONFIG_MACPWR, 1);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment