powerpc/t4qds: Fix disabling remote I2C connection

Only clear IRE bit in qixis brdcfg5 register and keep other bits
unchanged.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
Ed Swarthout 2013-03-25 07:39:37 +00:00 committed by Andy Fleming
parent 431047955b
commit 9c0a6de21d
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@
#define QIXIS_DDRCLK_125 0x2 #define QIXIS_DDRCLK_125 0x2
#define QIXIS_DDRCLK_133 0x3 #define QIXIS_DDRCLK_133 0x3
#define BRDCFG5_RESET 0x00 #define BRDCFG5_IRE 0x20 /* i2c Remote i2c1 enable */
#define BRDCFG12_SD3EN_MASK 0x20 #define BRDCFG12_SD3EN_MASK 0x20
#define BRDCFG12_SD3MX_MASK 0x08 #define BRDCFG12_SD3MX_MASK 0x08

View file

@ -504,8 +504,8 @@ int board_early_init_r(void)
setup_portals(); setup_portals();
#endif #endif
/* Disable remote I2C connectoin */ /* Disable remote I2C connection to qixis fpga */
QIXIS_WRITE(brdcfg[5], BRDCFG5_RESET); QIXIS_WRITE(brdcfg[5], QIXIS_READ(brdcfg[5]) & ~BRDCFG5_IRE);
/* /*
* Adjust core voltage according to voltage ID * Adjust core voltage according to voltage ID