public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: stefano babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] CPM_SPI_BASE and CPM_I2C_BASE conflict in	u-boot-1.2.0
Date: Mon, 27 Aug 2007 14:53:36 +0200	[thread overview]
Message-ID: <46D2C950.6040802@denx.de> (raw)
In-Reply-To: <F1F6EC0C8B75034F9E3A79FC85122E8E2649AD@aquib01a>

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
=====================================================================

      reply	other threads:[~2007-08-27 12:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46D2C950.6040802@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox