All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH v2 1/2] Add support for a Freescale non-CPMSPI controller
Date: Thu, 17 Jan 2008 20:42:53 -0500	[thread overview]
Message-ID: <4790041D.50500@gmail.com> (raw)
In-Reply-To: <58A20A281BAF1047B4EAE68DE5C0BDC2C52382@zch01exm21.fsl.freescale.net>

Liu Dave wrote:
>> +#if defined(CONFIG_MPC834X) || \
>> +	defined(CONFIG_MPC8313) || \
>> +	defined(CONFIG_MPC8315) || \
>> +	defined(CONFIG_MPC837X)
>> +
>> +typedef struct spi8xxx
>> +{
>> +	u8 res0[0x20];	/* 0x0-0x01f reserved */
>> +	u32 mode;	/* mode register  */
>> +	u32 event;	/* event register */
>> +	u32 mask;	/* mask register  */
>> +	u32 com;	/* command register */
>> +	u32 tx;		/* transmit register */
>> +	u32 rx;		/* receive register */
>> +	u8 res1[0xC8];	/* fill up to 0x100 */
>> +} spi8xxx_t;
>>     
>
> Ben, the sizeof(struct spi8xxx_t) should be 0x1000,
> So, This will break 83xx immap, the DMA and PCI will be failed.
> I will send one patch to fix it.
>
>   
Oh jeez. Sorry. I guess it should be res1[0xfc8]. Thanks for taking care 
of this Dave.

regards,
Ben

      reply	other threads:[~2008-01-18  1:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-17  3:37 [U-Boot-Users] [PATCH v2 1/2] Add support for a Freescale non-CPM SPI controller Ben Warren
2008-01-17 18:39 ` Kim Phillips
2008-01-18  1:29 ` [U-Boot-Users] [PATCH v2 1/2] Add support for a Freescale non-CPMSPI controller Liu Dave
2008-01-18  1:42   ` Ben Warren [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=4790041D.50500@gmail.com \
    --to=biggerbadderben@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.