summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavid_yang <[email protected]>2019-07-09 11:43:48 +0800
committerAlex Doyle <[email protected]>2020-01-07 06:50:18 -0800
commit2b4bf5dd18dc01cfd30db33592189bb4c5db2023 (patch)
treea77934869aeab23524bf2d8639b1a4a72c159601
parent788efa3aef5437e0c1e2749f2ac62f3c0c17ab5d (diff)
Accton AS5916_54XM: revise to support EEPROM at 0x57
Signed-off-by: David Yang <[email protected]> Signed-off-by: Alex Doyle <[email protected]>
-rw-r--r--machine/accton/accton_as5916_54xm/busybox/conf/config2
-rw-r--r--machine/accton/accton_as5916_54xm/busybox/patches/series1
2 files changed, 2 insertions, 1 deletions
diff --git a/machine/accton/accton_as5916_54xm/busybox/conf/config b/machine/accton/accton_as5916_54xm/busybox/conf/config
index 4bad1795..7b6bead1 100644
--- a/machine/accton/accton_as5916_54xm/busybox/conf/config
+++ b/machine/accton/accton_as5916_54xm/busybox/conf/config
@@ -1,7 +1,7 @@
CONFIG_SYS_EEPROM=y
CONFIG_SYS_EEPROM_DEVICE_I2C=y
CONFIG_SYS_EEPROM_I2C_DEVICE="/dev/i2c-0"
-CONFIG_SYS_EEPROM_I2C_ADDR=0x56
+CONFIG_SYS_EEPROM_I2C_ADDR=0x57
CONFIG_SYS_EEPROM_I2C_MEM_ADDR_BITS=8
CONFIG_SYS_EEPROM_I2C_WRITE_2B_DELAY=4000
CONFIG_SYS_EEPROM_OFFSET=0
diff --git a/machine/accton/accton_as5916_54xm/busybox/patches/series b/machine/accton/accton_as5916_54xm/busybox/patches/series
new file mode 100644
index 00000000..ab35ac7e
--- /dev/null
+++ b/machine/accton/accton_as5916_54xm/busybox/patches/series
@@ -0,0 +1 @@
+onie-syseeprom-old-i2c-compatible.patch