configs: amlogic: Disable CONFIG_NET_RANDOM_ETHADDR when unnecessary
On Meson GXL, GXM, AXG, G12A, G12B & SM1 SoCs, we can generate an unique MAC address if none valid found in the eFuses storage. Only the GXBB based boards doesn't have a fallback way to generate an unique MAC address, so we rely on CONFIG_NET_RANDOM_ETHADDR to have a valid one. An exception is the Radxa Zero board who doesn't have Ethernet on board so depends on an (or multiple) eventual USB adapters, so leaving the CONFIG_NET_RANDOM_ETHADDR configs seems safer. Suggested-by: Tom Rini <trini@konsulko.com> Reviewed-by: Vyacheslav Bocharov <adeep@lexina.in> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20211122110710.1038893-1-narmstrong@baylibre.com
This commit is contained in:
parent
c00c147dae
commit
ede1f4f297
@ -25,7 +25,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_ADC=y
|
CONFIG_ADC=y
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
|
@ -26,7 +26,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
@ -26,7 +26,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
@ -26,7 +26,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
CONFIG_DM_MTD=y
|
CONFIG_DM_MTD=y
|
||||||
|
@ -33,7 +33,6 @@ CONFIG_CMD_REGULATOR=y
|
|||||||
CONFIG_PARTITION_TYPE_GUID=y
|
CONFIG_PARTITION_TYPE_GUID=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_DM_I2C=y
|
CONFIG_DM_I2C=y
|
||||||
CONFIG_SYS_I2C_MESON=y
|
CONFIG_SYS_I2C_MESON=y
|
||||||
|
@ -29,7 +29,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
|
@ -30,7 +30,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_ADC=y
|
CONFIG_ADC=y
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_BUTTON=y
|
CONFIG_BUTTON=y
|
||||||
|
@ -30,7 +30,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_ADC=y
|
CONFIG_ADC=y
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_BUTTON=y
|
CONFIG_BUTTON=y
|
||||||
|
@ -27,7 +27,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_PHY_MESON_GXL=y
|
CONFIG_PHY_MESON_GXL=y
|
||||||
|
@ -34,7 +34,6 @@ CONFIG_CMD_REGULATOR=y
|
|||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
|
@ -26,7 +26,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_PHY_MESON_GXL=y
|
CONFIG_PHY_MESON_GXL=y
|
||||||
|
@ -30,7 +30,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
|
@ -32,7 +32,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
|
@ -31,7 +31,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
|
@ -26,7 +26,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_ADC=y
|
CONFIG_ADC=y
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
|
@ -29,7 +29,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_ADC=y
|
CONFIG_ADC=y
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_SATA=y
|
CONFIG_SATA=y
|
||||||
|
@ -26,7 +26,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_ADC=y
|
CONFIG_ADC=y
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
|
@ -25,7 +25,6 @@ CONFIG_CMD_USB=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_PHY_MESON_GXL=y
|
CONFIG_PHY_MESON_GXL=y
|
||||||
CONFIG_DM_ETH=y
|
CONFIG_DM_ETH=y
|
||||||
|
@ -25,7 +25,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_PHY_REALTEK=y
|
CONFIG_PHY_REALTEK=y
|
||||||
CONFIG_DM_ETH=y
|
CONFIG_DM_ETH=y
|
||||||
|
@ -43,7 +43,6 @@ CONFIG_ENV_IS_IN_MMC=y
|
|||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_SYS_MMC_ENV_DEV=2
|
CONFIG_SYS_MMC_ENV_DEV=2
|
||||||
CONFIG_SYS_MMC_ENV_PART=1
|
CONFIG_SYS_MMC_ENV_PART=1
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||||
CONFIG_FASTBOOT_BUF_ADDR=0x6000000
|
CONFIG_FASTBOOT_BUF_ADDR=0x6000000
|
||||||
CONFIG_FASTBOOT_FLASH=y
|
CONFIG_FASTBOOT_FLASH=y
|
||||||
|
@ -43,7 +43,6 @@ CONFIG_ENV_IS_IN_MMC=y
|
|||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_SYS_MMC_ENV_DEV=2
|
CONFIG_SYS_MMC_ENV_DEV=2
|
||||||
CONFIG_SYS_MMC_ENV_PART=1
|
CONFIG_SYS_MMC_ENV_PART=1
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_USB_FUNCTION_FASTBOOT=y
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
||||||
CONFIG_FASTBOOT_BUF_ADDR=0x6000000
|
CONFIG_FASTBOOT_BUF_ADDR=0x6000000
|
||||||
CONFIG_FASTBOOT_FLASH=y
|
CONFIG_FASTBOOT_FLASH=y
|
||||||
|
@ -25,7 +25,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_DM_ETH=y
|
CONFIG_DM_ETH=y
|
||||||
CONFIG_DM_MDIO=y
|
CONFIG_DM_MDIO=y
|
||||||
|
@ -26,7 +26,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
|
|||||||
CONFIG_CMD_REGULATOR=y
|
CONFIG_CMD_REGULATOR=y
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_NET_RANDOM_ETHADDR=y
|
|
||||||
CONFIG_SARADC_MESON=y
|
CONFIG_SARADC_MESON=y
|
||||||
CONFIG_MMC_MESON_GX=y
|
CONFIG_MMC_MESON_GX=y
|
||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
|
Loading…
Reference in New Issue
Block a user