* 824x EUMB/UART move problem
@ 2003-03-05 7:47 Chris Zimman
0 siblings, 0 replies; only message in thread
From: Chris Zimman @ 2003-03-05 7:47 UTC (permalink / raw)
To: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-05 7:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-05 7:47 824x EUMB/UART move problem Chris Zimman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).