]> git.sur5r.net Git - u-boot/commit
powerpc/eeprom: update MAX_NUM_PORTS to adapt non-256-bytes EEPROM
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Fri, 13 Sep 2013 06:46:01 +0000 (14:46 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 16 Oct 2013 23:15:17 +0000 (16:15 -0700)
commit5536aeb09b672e2541663fdc9370e2bc174dbae9
treeb7038558bd3804dfc0982ff50b298551d2701288
parent41c686d9758cad0050206b3176c8820ee2a88646
powerpc/eeprom: update MAX_NUM_PORTS to adapt non-256-bytes EEPROM

Some boards use System EEPROM with 128-bytes instead of 256-bytes.
Since we regard 256-bytes EEPROM as standard EEPROM with default
value for MAX_NUM_PORTS. For those non-256-bytes EEPROM, we can
redefine MAX_NUM_PORTS in board-specific file to override the
default MAX_NUM_PORTS.

This patch doesn't impact on previous existing boards.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
board/freescale/common/sys_eeprom.c