]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/common/sys_eeprom.c
powerpc/eeprom: update MAX_NUM_PORTS to adapt non-256-bytes EEPROM
[karo-tx-uboot.git] / board / freescale / common / sys_eeprom.c
index d7893644cd4816519e04d7fce8a69a52cba051e2..9c18dd824248a072a558197eb3426b6d5eae1e26 100644 (file)
 #endif
 
 #ifdef CONFIG_SYS_I2C_EEPROM_NXID
+/* some boards with non-256-bytes EEPROM have special define */
+/* for MAX_NUM_PORTS in board-specific file */
+#ifndef MAX_NUM_PORTS
 #define MAX_NUM_PORTS  23
+#endif
 #define NXID_VERSION   1
 #endif