diff mbox series

imx8qxp_mek: Select CONFIG_NET_RANDOM_ETHADDR

Message ID 20200109140723.2641-1-festevam@gmail.com
State Accepted
Commit c3061ce8f1c53fa18fbdbab971f9125c816f9b5c
Headers show
Series imx8qxp_mek: Select CONFIG_NET_RANDOM_ETHADDR | expand

Commit Message

Fabio Estevam Jan. 9, 2020, 2:07 p.m. UTC
Some i.MX8QXP MEK boards do not have MAC address stored
and hang during eth driver probe:

Error: ethernet at 5b040000 address not set.

(Board hangs)

To fix this problem select CONFIG_NET_RANDOM_ETHADDR so that
a valid MAC address can be used in such case.

Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 configs/imx8qxp_mek_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic Jan. 15, 2020, 12:46 p.m. UTC | #1
> Some i.MX8QXP MEK boards do not have MAC address stored
> and hang during eth driver probe:
> Error: ethernet at 5b040000 address not set.
> (Board hangs)
> To fix this problem select CONFIG_NET_RANDOM_ETHADDR so that
> a valid MAC address can be used in such case.
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/configs/imx8qxp_mek_defconfig b/configs/imx8qxp_mek_defconfig
index 35699316de..e1d87d6ce2 100644
--- a/configs/imx8qxp_mek_defconfig
+++ b/configs/imx8qxp_mek_defconfig
@@ -47,6 +47,7 @@  CONFIG_SPL_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8qxp-mek"
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_CLK=y
 CONFIG_CLK_IMX8=y