Patchwork [U-Boot,2/2] powerpc/85xx: corrected p1_p2_rdb EEPROM address

login
register
mail settings
Submitter Kumar Gala
Date Feb. 10, 2011, 5:48 a.m.
Message ID <1297316934-12194-2-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/82560/
State Accepted
Commit b1d67857af0f66f3def3d0461c141d9b4eccc15e
Headers show

Comments

Kumar Gala - Feb. 10, 2011, 5:48 a.m.
From: Priyanka Jain <Priyanka.Jain@freescale.com>

Board EEPROM is used to read/save Ethernet MAC addresses.

Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 include/configs/P1_P2_RDB.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
Kumar Gala - Feb. 11, 2011, 5:38 a.m.
On Feb 9, 2011, at 11:48 PM, Kumar Gala wrote:

> From: Priyanka Jain <Priyanka.Jain@freescale.com>
> 
> Board EEPROM is used to read/save Ethernet MAC addresses.
> 
> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> include/configs/P1_P2_RDB.h |    3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)

applied to 85xx

- k

Patch

diff --git a/include/configs/P1_P2_RDB.h b/include/configs/P1_P2_RDB.h
index bf34740..982cdd5 100644
--- a/include/configs/P1_P2_RDB.h
+++ b/include/configs/P1_P2_RDB.h
@@ -344,7 +344,6 @@  extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_I2C_MULTI_BUS
 #define CONFIG_I2C_CMD_TREE
 #define CONFIG_SYS_I2C_SPEED		400000	/* I2C speed and slave address*/
-#define CONFIG_SYS_I2C_EEPROM_ADDR	0x57
 #define CONFIG_SYS_I2C_SLAVE		0x7F
 #define CONFIG_SYS_I2C_NOPROBES	{{0,0x29}}	/* Don't probe these addrs */
 #define CONFIG_SYS_I2C_OFFSET		0x3000
@@ -357,7 +356,7 @@  extern unsigned long get_board_sys_clk(unsigned long dummy);
 #ifdef CONFIG_ID_EEPROM
 #define CONFIG_SYS_I2C_EEPROM_NXID
 #endif
-#define CONFIG_SYS_I2C_EEPROM_ADDR	0x57
+#define CONFIG_SYS_I2C_EEPROM_ADDR	0x52
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
 #define CONFIG_SYS_EEPROM_BUS_NUM	1