[openwrt/openwrt] bcm53xx: enable CONFIG_EEPROM_AT24

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 21 15:42:47 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/64424c24275bf254cc515197b14da165255b8830

commit 64424c24275bf254cc515197b14da165255b8830
Author: Lech Perczak <lech.perczak at gmail.com>
AuthorDate: Wed Oct 2 15:07:47 2024 +0200

    bcm53xx: enable CONFIG_EEPROM_AT24
    
    Meraki MX6x devices use them to store MAC address, so it is required to be
    built-in for networking to probe properly, before preinit network setup
    happens, which in turn is required for proper failsafe mode access.
    Enable CONFIG_EEPROM_AT24 for the target.
    
    Signed-off-by: Lech Perczak <lech.perczak at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/16634
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/bcm53xx/config-6.6     | 1 +
 target/linux/bcm53xx/image/Makefile | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/target/linux/bcm53xx/config-6.6 b/target/linux/bcm53xx/config-6.6
index 37088eb101..26fa023595 100644
--- a/target/linux/bcm53xx/config-6.6
+++ b/target/linux/bcm53xx/config-6.6
@@ -125,6 +125,7 @@ CONFIG_DTC=y
 CONFIG_EARLY_PRINTK=y
 CONFIG_EDAC_ATOMIC_SCRUB=y
 CONFIG_EDAC_SUPPORT=y
+CONFIG_EEPROM_AT24=y
 CONFIG_EXCLUSIVE_SYSTEM_RAM=y
 CONFIG_EXTCON=y
 CONFIG_FIXED_PHY=y
diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile
index e02eba387c..501486c063 100644
--- a/target/linux/bcm53xx/image/Makefile
+++ b/target/linux/bcm53xx/image/Makefile
@@ -382,7 +382,7 @@ TARGET_DEVICES += luxul_xwr-3150
 define Device/meraki_mr26
   DEVICE_VENDOR := Meraki
   DEVICE_MODEL := MR26
-  DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc kmod-eeprom-at24 \
+  DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc \
 	kmod-hwmon-ina2xx kmod-leds-uleds nu801
   DEVICE_DTS := bcm53015-meraki-mr26
 # resize the initramfs to fit the size of the existing part.safe.
@@ -399,7 +399,7 @@ TARGET_DEVICES += meraki_mr26
 define Device/meraki_mr32
   DEVICE_VENDOR := Meraki
   DEVICE_MODEL := MR32
-  DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc kmod-eeprom-at24 \
+  DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc \
 	kmod-leds-pwm kmod-hwmon-ina2xx kmod-bluetooth
   DEVICE_DTS := bcm53016-meraki-mr32
 # Meraki FW r23 tries to resize the part.safe partition before it will




More information about the lede-commits mailing list