[RFC] libretech-cc: Disable CONFIG_NET_RANDOM_ETHADDR

Tom Rini trini at konsulko.com
Mon Nov 15 17:08:33 CET 2021


This board has a persistent ethernet MAC address and does not enable USB
gadget ethernet support, so does not require this functionality.  Remove
it.

Cc: Neil Armstrong <narmstrong at baylibre.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
As mentioned in
https://lore.kernel.org/u-boot/f6aead46-f220-ff51-f70d-de95daac9840@xilinx.com/T/
it seems many boards are enabling CONFIG_NET_RANDOM_ETHADDR and don't
need it.  I have a libretec-cc (v1, not v2).  Given a "nowhere"
environment and persistent ethaddr before/after this change on my board,
I believe this isn't needed here.  I suspect it's not needed on a whole
host of amlogic boards I don't have as well.
---
 configs/libretech-cc_defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configs/libretech-cc_defconfig b/configs/libretech-cc_defconfig
index b729308c8eeb..b4413ed9b7ff 100644
--- a/configs/libretech-cc_defconfig
+++ b/configs/libretech-cc_defconfig
@@ -26,7 +26,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_OF_CONTROL=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SARADC_MESON=y
 CONFIG_MMC_MESON_GX=y
 CONFIG_PHY_MESON_GXL=y
-- 
2.25.1



More information about the U-Boot mailing list