powerpc/c29xpcie: Getting DDR SPD image from 16-bit sub-address EEPROM
authorPo Liu <po.liu@freescale.com>
Tue, 26 Nov 2013 06:34:07 +0000 (14:34 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 4 Dec 2013 22:54:32 +0000 (14:54 -0800)
commit380b8f307c5291016e1249ccd263876f0e9c1278
tree78be365c63e24410f42edaebc30a5ec4895b9fc5
parentc3cc02af6ce6f4ff2fa494aeb4dbf1e037254877
powerpc/c29xpcie: Getting DDR SPD image from 16-bit sub-address EEPROM

Currently, there is only one EEPROM on c29xpcie board which is AT24C1024.
We program the SPD data at beginning of the AT24C1024.But the AT24C1024
has a 16-bit sub-address mode. This patch is tomake it work when getting
SPD in a 16-bit sub-address EEPROM.

Signed-off-by: Po Liu <Po.Liu@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
board/freescale/c29xpcie/ddr.c