[LinuxBIOS] usage of pci_write_config32()?
corey_osgood at verizon.net
Tue Mar 20 10:30:25 CET 2007
Stefan Reinauer wrote:
> * Corey Osgood <corey_osgood at verizon.net> [070320 05:45]:
>> It's raminit.c from LBv1's src/northbridge/440gx/, it addresses the
>> first register for a 32-bit write to 0x50-0x53, then the second for a
>> 16-bit write later on, can't see at the moment which it was. I'm working
>> on trying to port that up to v2, to see if it'll work on a 440zx, since
>> nothing else I've done seems to be working.
> Note that on some systems, a 32bit write is very different from 4 8bit
> writes. If it is a 32bit register, you should always read/write all 32
Yes, but on 440bx doesn't seem to matter, LBv1 uses 8-bit writes all
over the place on it. And yes, it was 0x44332211, written to the last
reg in the set, I've fixed my code accordingly (not that it works, but
at least correct now on that part).
More information about the coreboot