coreboot-kgpe-d16/src/southbridge
Christian Gmeiner b5dfcae097 cs5536: add smbus support in ramstage
With this patch it is possible to use the smbus in ramstage. The
biggest part of the patch is a simple code split into a general
part (smbus.h) and the concrete users (early_smbus.c and cs5536.c).
After the switch from romstage to ramstage the smb base address
has changed, but that is no problem as the new base address is
stored in bar0 of the ISA bridge. It could also be read via msr,
but via PCI it is simpler. I used the following patch as
reference on how to readout the new base address:
http://lists.laptop.org/pipermail/commits-kernel/2006-November/000178.html

Change-Id: I9f86a1e474368c62f9ed3a95edfb3e63117aa156
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-on: http://review.coreboot.org/1243
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2012-07-24 12:18:28 +02:00
..
amd cs5536: add smbus support in ramstage 2012-07-24 12:18:28 +02:00
broadcom Clean up #ifs 2012-05-08 00:34:34 +02:00
intel SPI flash layer: remove unused function spi_flash_free() 2012-07-24 02:37:39 +02:00
nvidia Don't use 64-bit constant 0x100000000 in linker scripts 2012-06-21 08:05:31 +02:00
rdc Add support for RDC R8610 Southbridge 2012-03-27 18:39:05 +02:00
ricoh add functions to set Subsystem Vendor/Device to rl5c746 2011-02-28 18:09:58 +00:00
sis Don't use 64-bit constant 0x100000000 in linker scripts 2012-06-21 08:05:31 +02:00
ti remove trailing whitespace 2011-11-01 19:07:45 +01:00
via Define global uma_memory variables 2012-07-16 18:41:46 +02:00
Kconfig Add support for RDC R8610 Southbridge 2012-03-27 18:39:05 +02:00
Makefile.inc Add support for RDC R8610 Southbridge 2012-03-27 18:39:05 +02:00