[U-Boot-Users] iic1 can't work on 440EPx

Hi all,
Is there anyone working on the 440EPx? I found the code in u-boot 1.2.0 only support iic0, so iic1 didn't work.
However I tried many ways to enable the iic1 bus, bus all failed.
I even tried the simple way as changing the 'I2C_BASE_ADDR' in file ../include/440_i2c.h to (CFG_PERIPHERAL_BASE + 0x00000800), still can't make the iic1 work, why? can anyone give me the answer that why the u-boot always skip the iic1 bus, is there some bug in the iic1 bus itself?
,Thanks - Denny

Hi Denny,
as I already told you off the list, you _may not post HTML_ to this list. Your request will be ignored.
Concerning your iic issue it might be the case that you did not set up the I2C balls of your CPU correctly. Try this in board_early_init_f():
u32 sdr0_pfc1;
mfsdr(SDR0_PFC1, sdr0_pfc1);
/* enable 2nd IIC */ sdr0_pfc1 = (sdr0_pfc1 & ~SDR0_PFC1_SIS_MASK) | SDR0_PFC1_SIS_IIC1_SEL;
mtsdr(SDR0_PFC1, sdr0_pfc1);
Matthias
On Wednesday 05 September 2007 13:04, Dong Yuan Xiao (CW) wrote:
Hi all,
Is there anyone working on the 440EPx? I found the code in u-boot 1.2.0 only support iic0, so iic1 didn't work.
However I tried many ways to enable the iic1 bus, bus all failed.
I even tried the simple way as changing the 'I2C_BASE_ADDR' in file ../include/440_i2c.h to (CFG_PERIPHERAL_BASE + 0x00000800), still can't make the iic1 work, why? can anyone give me the answer that why the u-boot always skip the iic1 bus, is there some bug in the iic1 bus itself?
,Thanks
- Denny

Dear Denny,
in message 6E15BDA7F0F53D418A36A342570C178502BC00@BRM-EXCH-2.corp.brocade.com you wrote:
Is there anyone working on the 440EPx? I found the code in u-boot 1.2.0 only support iic0, so iic1 didn't work.
Ah, you think that reposting the same question yet another time makes any difference when you use a new name instead of the "jxnuxdy" you used before? It doesn't.
------_=_NextPart_001_01C7EFAC.805A8FD4 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
This is the 6th time I tell you not to post HTML here! Please heed to the rules! My patience is limited.
Wolfgang Denk
participants (3)
-
Dong Yuan Xiao (CW)
-
Matthias Fuchs
-
Wolfgang Denk