[U-Boot-Users] CPM_SPI_BASE and CPM_I2C_BASE conflict in u-boot-1.2.0

stefano babic sbabic at denx.de
Mon Aug 27 14:53:36 CEST 2007


DI BACCO ANTONIO - technolabs wrote:
> In include/commproc.h CPM_I2C_BASE is set to 0x820 and CPM_SPI_BASE is 
> set 0x840, but 
> in cpu/mpc8xx/i2c.c 4 TX and 4 RX i2c buffers (each of 8 bytes) are 
> declared.
> I believe this causes a problem when issueing an SPI command after and 
> I2C one.

I see, I think you are right.
By the way, what do you think about using CFG_ALLOC_DPRAM in your config 
file ? This setup allocates dynamically the required buffer descriptors 
avoiding conflicts inside MPC8xx dpram.

Best regards,
stefano babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list