[U-Boot-Users] [PATCH] [DRIVERS] <asm/mpc8xxx_spi.h> is only available for ppc boards.

Kim Phillips kim.phillips at freescale.com
Thu Jan 24 18:01:30 CET 2008


On Thu, 24 Jan 2008 10:50:09 -0600
"Andy Fleming" <afleming at gmail.com> wrote:

> On Jan 24, 2008 10:33 AM, Peter Pearse <peter.pearse at arm.com> wrote:
> >
> > +#if defined(CONFIG_MPC834X) || \
> > +       defined(CONFIG_MPC8313) || \
> > +       defined(CONFIG_MPC8315) || \
> > +       defined(CONFIG_MPC837X)
> >  #include <asm/mpc8xxx_spi.h>
> > +#endif
> >
> >  #ifdef CONFIG_HARD_SPI
> > ---
does Vlad's post not work for you?:

http://article.gmane.org/gmane.comp.boot-loaders.u-boot/35888

> >
> > or should asm-ppc/mpc8xxx_spi.h be moved to drivers/spi?
> 
> Hm.  I'd prefer that, since that SPI driver will possibly propagate
> through *many* variants, and it seems silly to change the driver every
> time we make a new part.  :)
> 
> I'm not familiar enough with the device or driver to know whether the
> header is truly ppc-specific, or just coincidentally so.

mpc8xxx_spi.h is included by other files in asm-ppc.

btw, apologies for not testing non-ppc.

Kim




More information about the U-Boot mailing list