824x EUMB/UART move problem
Chris Zimman
chris at cryptoapps.com
Wed Mar 5 18:47:43 EST 2003
I'm looking at the EUMB move/UART problem right now. I don't see
that there's currently a clean way to deal with the fact that the EUMB
has moved and ppc_md.progress() is supposed to be called right after
the fact.
There are some obvious hacks that can be used to get around this, but
I'm looking for a clean method.
A callback could be added right after the EUMB move to update the base
addresses in serial_state. machdep_calls doesn't have a callback for
this right now. feature_call() could be used, but maybe this deserves
a callback of its own?
In mpc10x_common.c, something like:
/* Set base addr of the 8240/107 EUMB. */
early_write_config_dword(hose,
0,
PCI_DEVFN(0,0),
MPC10X_CFG_EUMBBAR,
phys_eumb_base);
if (ppc_md.eumb_uart_update)
ppc_md.eumb_uart_update(phys_eumb_base);
Has someone already dealt with this and I've somehow missed it?
--Chris
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list