coreboot-kgpe-d16/src/southbridge/amd/sb800
Rudolf Marek 74ad66cdc1 Attached patch fixes the LPC decode ranges of SB600/SB800. We enable early only Serial/SIO/RTC.
Everything else needs to be done by lpc.c Problem was that early settings survived, because the lpc.c is doing ORs only...
Hence we decode quite a lot and even strange ranges like IO port 0x4600 etc...

Also, if some port which does not fit to predefined set is requested, like 0x290 for Hardware monitor, the wide port is done, but in our case it has range 512 bytes which means we decode in fact 0x290 - 0x490. And if we hit GPU in the 0x3bx range I receive MCE exception if I do isadump -f 0x300 which is bad.
Therefore If I detect that the requested range is small (16 bytes) I additionally set the small wide io region so only 16 bytes is decoded.

While at it, I fix spelling typos and I init the regs so we don't write random garbage to regs even if we don't enable them later.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz> 
Acked-by: Marc Jones <marcj303@gmail.com>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6343 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2011-02-12 16:24:48 +00:00
..
bootblock.c Now bimini can boot linux to login. 2011-01-21 08:46:27 +00:00
chip.h This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
early_setup.c Attached patch fixes the LPC decode ranges of SB600/SB800. We enable early only Serial/SIO/RTC. 2011-02-12 16:24:48 +00:00
enable_usbdebug.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
fadt.c Change fadt revision back to 3. 2011-01-24 07:50:07 +00:00
hda.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
ide.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
Kconfig This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
lpc.c Attached patch fixes the LPC decode ranges of SB600/SB800. We enable early only Serial/SIO/RTC. 2011-02-12 16:24:48 +00:00
Makefile.inc This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
pci.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
pcie.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
reset.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
sata.c Set the phy via weak function. 2011-01-27 02:19:55 +00:00
sb800.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
sb800.h Fix Bimini build 2011-01-28 01:06:39 +00:00
sm.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
smbus.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
smbus.h This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00
usb.c This sb800 code is derived from sb700. 2011-01-20 04:45:48 +00:00