[U-Boot-Users] Shared serial driver

Marc Singer elf at buici.com
Tue May 27 01:24:09 CEST 2003

I now remember why there is an x86 specific serial driver.  Unlike
every other chip, the x86 has a separately mapped I/O port address
space.  Sharing the driver will require some inline functions or
macros to bridge the gap.  

If continue to take from the Linux kernel model, there are CPU
specific macros to read and write in the IO space.  I also seem to
recall that the spacing of IO addresses is different on each CPU.
Some are forced to be 32 bit aligned while others may be word aligned.
There is a little bit of work to fit all of the pieces together.
Fortunately, the 16550 driver is simple enough to be a reliable test

Are you good with this path?


More information about the U-Boot mailing list