Patch to make ppc_md.progress useful on 4xx
David Gibson
david at gibson.dropbear.id.au
Thu Feb 21 11:56:47 EST 2002
Currently, ppc_md.progress on 4xx just does a printk(), which means
its messages won't be displayed until console_init() at which point
it's usually too late to be useful.
The patch below changes ppc4xx_progress() to write directly to the
serial port. I'd like to get comments before pushing the change,
because I don't want to break 4xx machines that I don't have (and so
can't test).
At the moment it should only affect 405GP. NP405H and NP405L support
should be trivial (I've only refrained from adding it because I can't
test it myself). STBxxxx should be possible but will be much
yuckier. It would be nice to have it work on all 4xx though, to get
rid of the nasty #ifdef in ppc4xx_setup.c.
--
David Gibson | For every complex problem there is a
david at gibson.dropbear.id.au | solution which is simple, neat and
| wrong. -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list