summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLech Perczak2024-10-02 13:07:47 +0000
committerHauke Mehrtens2024-10-21 22:39:32 +0000
commit64424c24275bf254cc515197b14da165255b8830 (patch)
tree9900c3aae7a1d93ab06125ec70b566d5beb195c7
parent8d7c08f884c68fecf2dd49c756b3c16e8acdb9de (diff)
downloadopenwrt-64424c24275bf254cc515197b14da165255b8830.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16634 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/bcm53xx/config-6.61
-rw-r--r--target/linux/bcm53xx/image/Makefile4
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