[PATCH 3/3] Add early debug console for CPM serial ports.

Scott Wood scottwood at freescale.com
Thu Aug 30 05:58:37 EST 2007


On Wed, Aug 29, 2007 at 09:02:39AM -0500, Scott Wood wrote:
> > >  # Temporary hack until we have migrated to asm-powerpc
> > >  ifeq ($(ARCH),powerpc)
> > > +obj-$(CONFIG_CPM1)$(CONFIG_CPM2) += cpm_common.o
> > 
> > Uh.. I don't think this will work properly.  If CONFIG_CPM1 and
> > CONFIG_CPM2 are both enabled, it will set obj-yy rather than obj-y.
> 
> The assumption was that CPM1 and CPM2 are never going to both be enabled,
> as CPM1 only exists on hardware with a unique MMU.
> 
> I could add an obj-y += $(obj-yy) if you like, though.

On second thought, I'll just add a CONFIG_CPM that CPM1 and CPM2 select;
that'll make things easier for further consolidation.

-Scott



More information about the Linuxppc-dev mailing list