diff options
author | Ed Swarthout <Ed.Swarthout@freescale.com> | 2013-03-25 07:39:37 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-05-14 16:13:25 -0500 |
commit | 9c0a6de21d58fe5976202ee82c500c1182ac2dc7 (patch) | |
tree | 2a43876b069963970c8ebebf04e442bcc853534e /board/freescale | |
parent | 431047955b7f9addeda0a7c796618c102711247b (diff) | |
download | u-boot-imx-9c0a6de21d58fe5976202ee82c500c1182ac2dc7.zip u-boot-imx-9c0a6de21d58fe5976202ee82c500c1182ac2dc7.tar.gz u-boot-imx-9c0a6de21d58fe5976202ee82c500c1182ac2dc7.tar.bz2 |
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>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/t4qds/t4240qds_qixis.h | 2 | ||||
-rw-r--r-- | board/freescale/t4qds/t4qds.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/t4qds/t4240qds_qixis.h b/board/freescale/t4qds/t4240qds_qixis.h index efb718d..485353d 100644 --- a/board/freescale/t4qds/t4240qds_qixis.h +++ b/board/freescale/t4qds/t4240qds_qixis.h @@ -42,7 +42,7 @@ #define QIXIS_DDRCLK_125 0x2 #define QIXIS_DDRCLK_133 0x3 -#define BRDCFG5_RESET 0x00 +#define BRDCFG5_IRE 0x20 /* i2c Remote i2c1 enable */ #define BRDCFG12_SD3EN_MASK 0x20 #define BRDCFG12_SD3MX_MASK 0x08 diff --git a/board/freescale/t4qds/t4qds.c b/board/freescale/t4qds/t4qds.c index a84218c..be6d1c4 100644 --- a/board/freescale/t4qds/t4qds.c +++ b/board/freescale/t4qds/t4qds.c @@ -504,8 +504,8 @@ int board_early_init_r(void) setup_portals(); #endif - /* Disable remote I2C connectoin */ - QIXIS_WRITE(brdcfg[5], BRDCFG5_RESET); + /* Disable remote I2C connection to qixis fpga */ + QIXIS_WRITE(brdcfg[5], QIXIS_READ(brdcfg[5]) & ~BRDCFG5_IRE); /* * Adjust core voltage according to voltage ID |