* [U-Boot-Users] CPM_SPI_BASE and CPM_I2C_BASE conflict in u-boot-1.2.0
@ 2007-08-26 18:43 DI BACCO ANTONIO - technolabs
2007-08-27 12:53 ` stefano babic
0 siblings, 1 reply; 2+ messages in thread
From: DI BACCO ANTONIO - technolabs @ 2007-08-26 18:43 UTC (permalink / raw)
To: u-boot
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.
Someone can confirm that this could be a problem?
Bye,
Antonio.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070826/8dbf1334/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] CPM_SPI_BASE and CPM_I2C_BASE conflict in u-boot-1.2.0
2007-08-26 18:43 [U-Boot-Users] CPM_SPI_BASE and CPM_I2C_BASE conflict in u-boot-1.2.0 DI BACCO ANTONIO - technolabs
@ 2007-08-27 12:53 ` stefano babic
0 siblings, 0 replies; 2+ messages in thread
From: stefano babic @ 2007-08-27 12:53 UTC (permalink / raw)
To: u-boot
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
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-27 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-26 18:43 [U-Boot-Users] CPM_SPI_BASE and CPM_I2C_BASE conflict in u-boot-1.2.0 DI BACCO ANTONIO - technolabs
2007-08-27 12:53 ` stefano babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox