Skip to content
Snippets Groups Projects
Commit 2bd1aab0 authored by Shaohui Xie's avatar Shaohui Xie Committed by York Sun
Browse files

powerpc/p2041: fix I2C controller's offset


Without this patch, SPD access will fail which leads to DDR init fail.

Signed-off-by: default avatarShaohui Xie <Shaohui.Xie@freescale.com>
Tested-by: default avatarChris Packham <judge.packham@gmail.com>
Acked-by: default avatarYork Sun <yorksun@freescale.com>
parent 985a71d1
No related branches found
No related tags found
No related merge requests found
...@@ -354,10 +354,10 @@ unsigned long get_board_sys_clk(unsigned long dummy); ...@@ -354,10 +354,10 @@ unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_I2C_FSL #define CONFIG_SYS_I2C_FSL
#define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SPEED 400000
#define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F
#define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 #define CONFIG_SYS_FSL_I2C_OFFSET 0x118000
#define CONFIG_SYS_FSL_I2C2_SPEED 400000 #define CONFIG_SYS_FSL_I2C2_SPEED 400000
#define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F
#define CONFIG_SYS_FSL_I2C2_OFFSET 0x3100 #define CONFIG_SYS_FSL_I2C2_OFFSET 0x118100
/* /*
* RapidIO * RapidIO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment