public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users]  Wondering about the PPC parallel I/O handling
@ 2007-12-10  8:59 David Saada
  0 siblings, 0 replies; only message in thread
From: David Saada @ 2007-12-10  8:59 UTC (permalink / raw)
  To: u-boot


Hi,

Looking at U-boot's handling of PPC parallel I/O, there are some things I
was wondering about:
- There's no module that's responsible of it. Handling is done in the
cpu_init module alone (among other things). This means that there's some
duplicated code (for instance in the 85xx and 83xx cpu_init modules).
- There's no easy way to read from a port or write to it - one needs to
perform some cumbersome actions on the port registers instead of having
simple read_port and write_port functions.
- For some reason, in the QE PIO configuration table, there's no field for
the port data (relevant for output ports) as it was with CPM2. This requires
to setup all initial values manually.

Are there any plans to reform this piece of code?

Regards,
David.
-- 
View this message in context: http://www.nabble.com/Wondering-about-the-PPC-parallel-I-O-handling-tp14249304p14249304.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-10  8:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-10  8:59 [U-Boot-Users] Wondering about the PPC parallel I/O handling David Saada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox