octeon: enable AT24 unconditionally
authorChristian Svensson <blue@cmd.nu>
Tue, 4 Jul 2023 22:48:46 +0000 (00:48 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 15 Jul 2023 15:05:58 +0000 (17:05 +0200)
For the N821 platform we need to load the AT24 EEPROM driver before
everything else in order for the MAC address to be available at
driver initialization time.

Signed-off-by: Christian Svensson <blue@cmd.nu>
target/linux/octeon/config-5.15

index cf64ae34f93c6c407cf469b640792e8a2759c474..2350e45295f4755e5c9a88ca835554a4fa5a9b63 100644 (file)
@@ -65,6 +65,7 @@ CONFIG_EDAC_OCTEON_LMC=y
 CONFIG_EDAC_OCTEON_PC=y
 CONFIG_EDAC_OCTEON_PCI=y
 CONFIG_EDAC_SUPPORT=y
+CONFIG_EEPROM_AT24=y
 CONFIG_EXT4_FS=y
 CONFIG_F2FS_FS=y
 CONFIG_FAT_FS=y
@@ -158,6 +159,7 @@ CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y
 CONFIG_NR_CPUS=16
 CONFIG_NR_CPUS_DEFAULT_64=y
 CONFIG_NVMEM=y
+CONFIG_NVMEM_SYSFS=y
 CONFIG_OCTEON_ETHERNET=y
 CONFIG_OCTEON_ILM=y
 CONFIG_OCTEON_MGMT_ETHERNET=y
@@ -191,6 +193,8 @@ CONFIG_PTP_1588_CLOCK_OPTIONAL=y
 CONFIG_QUEUED_RWLOCKS=y
 CONFIG_QUEUED_SPINLOCKS=y
 CONFIG_RAS=y
+CONFIG_REGMAP=y
+CONFIG_REGMAP_I2C=y
 CONFIG_RELAY=y
 CONFIG_RFS_ACCEL=y
 CONFIG_RPS=y