summaryrefslogtreecommitdiff
path: root/include/configs/P2041RDB.h
diff options
context:
space:
mode:
authorMatt Merhar <mattmerhar@protonmail.com>2021-05-30 03:16:17 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2021-06-17 09:16:11 +0300
commit6bc2419cc25dd89f889c1ede88c68c046c64d943 (patch)
treea437522a19ba252fa68a5b207ea8cc14534eef5b /include/configs/P2041RDB.h
parent8bb20852eb4f503da921b1e1c67f1193c0ad5317 (diff)
downloadu-boot-6bc2419cc25dd89f889c1ede88c68c046c64d943.tar.xz
board: freescale: p2041rdb: use correct EEPROM address length
These boards, according to the schematic and per the board I own, use an M24256-BWDW6TP I2C EEPROM which requires two address bytes. This fixes the 'mac' command which is used to program, among other things, the MAC addresses for the ethernet interfaces on the board. Signed-off-by: Matt Merhar <mattmerhar@protonmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'include/configs/P2041RDB.h')
-rw-r--r--include/configs/P2041RDB.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index 3895c2d0c7..715154a0dd 100644
--- a/include/configs/P2041RDB.h
+++ b/include/configs/P2041RDB.h
@@ -92,7 +92,7 @@ unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_I2C_EEPROM_NXID
#define CONFIG_SYS_EEPROM_BUS_NUM 0
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
-#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
+#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
/*
* DDR Setup