diff mbox

[U-Boot,v2] powerpc: MPC8544DS: revert typo in I2C offset value

Message ID 1467243878-13742-1-git-send-email-york.sun@nxp.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

York Sun June 29, 2016, 11:44 p.m. UTC
From: Benjamin Kamath <bkamath@spaceflight.com>

I2C offset was changed by commit 00f792e0 (added multibus support)
from 0x3100 to 0x3000. This typo leads to error when reading SPD
from DDR DIMMs.

Signed-off-by: Benjamin Kamath <bkamath@spaceflight.com>
Signed-off-by: York Sun <york.sun@nxp.com>

---

Changes in v2:
Add short summary of commit 00f792e0.

 include/configs/MPC8544DS.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joe Hershberger July 1, 2016, 2:01 a.m. UTC | #1
On Wed, Jun 29, 2016 at 6:44 PM, York Sun <york.sun@nxp.com> wrote:
> From: Benjamin Kamath <bkamath@spaceflight.com>
>
> I2C offset was changed by commit 00f792e0 (added multibus support)
> from 0x3100 to 0x3000. This typo leads to error when reading SPD
> from DDR DIMMs.
>
> Signed-off-by: Benjamin Kamath <bkamath@spaceflight.com>
> Signed-off-by: York Sun <york.sun@nxp.com>

Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
diff mbox

Patch

diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index b9d97c1..321f71e 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -209,7 +209,7 @@  extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_I2C_FSL
 #define CONFIG_SYS_FSL_I2C_SPEED	400000
 #define CONFIG_SYS_FSL_I2C_SLAVE	0x7F
-#define CONFIG_SYS_FSL_I2C_OFFSET	0x3000
+#define CONFIG_SYS_FSL_I2C_OFFSET	0x3100
 #define CONFIG_SYS_I2C_NOPROBES		{ {0, 0x69} }
 #define CONFIG_SYS_I2C_EEPROM_ADDR	0x57