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

Ben Warren biggerbadderben at gmail.com
Sat Feb 9 03:35:04 CET 2008


On Feb 8, 2008 7:43 PM, Ladislav Michl <ladis at linux-mips.org> wrote:
> On Fri, Feb 08, 2008 at 07:10:44PM -0500, Ben Warren wrote:
> > Here's the patch that will be going in:
> > http://article.gmane.org/gmane.comp.boot-loaders.u-boot/36039
> >
> > I guess Wolfgang just hasn't had a chance to pull the 83xx tree.
> >
> > CONFIG_HARD_SPI is intended to be used by multiple controllers, not
> > just MPC_8XXX
>
> Okay, I just tried to use the same logic - no functional changes. What
> about this as a replacement of above mentioned patch? (note that we are
> trying to migrate towards COBJS-$(CONFIG_*) += file.o in Makefiles
> instead of #ifdefs inside each file)
>

Yeah, man.  I didn't know the build system supported this yet.
Definitely preferable to conditionally compile a whole file than its
contents.
If it works, add my

Acked-by: Ben Warren <biggerbadderben at gmail.com>




More information about the U-Boot mailing list