[PATCH] remove obsolete arch/ppc/8xx_io/uart.c

Dan Malek dan at embeddededge.com
Fri Oct 8 12:21:49 EST 2004

On Oct 7, 2004, at 6:42 PM, Tom Rini wrote:

> Oh, that.  console=ttyCPM1 is the answer if both SMC1 and SMC2 are
> UARTs.

Yeah, that's normally the way it's done.

> Anticipating Dan screaming about this,

What kind of a person do you think I am?  I don't scream about
anything.  I just point out facts and if others choose to ignore it
I'll just remind everyone later.

The original CPM uart drivers had lots of hard coded things
because the 'console=' option wasn't available at the time it
was developed.  It just was never updated when the command
line options appeared because the old config options were around.
It's also required information to the boards that use the 'simple'
zImage boot loader because there usually isn't any way for it
to know what to use as the console port.

The console= option is fine, it's used on many embedded boards,
including 8xx and 82xx when U-boot is used.  Just remember,
removing these console selection options from config will break
some things.  Be prepared to fix it, not just ignore it.

I'm most concerned with the Alternate SMC pin configurations, although
the new IO support functions that Kumar and I are looking at will
correct that.  Until those are done, you have to ensure there is
some way to 8xx parts with the small pin counts and the SMC pins
moved to work properly.

	-- Dan

More information about the Linuxppc-embedded mailing list