Patch to make ppc_md.progress useful on 4xx

Armin akuster at pacbell.net
Thu Feb 21 07:26:00 EST 2002


David Gibson wrote:
> 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
>
>
>
>
>

What Patch?

I can test on some of the boards

--armin


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list