coreboot/src/southbridge/amd
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
..
agesa Trinity wrapper code improvement. 2012-07-22 13:09:41 +02:00
amd8111 Clean up #ifs 2012-05-08 00:34:34 +02:00
amd8131 first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
amd8131-disable first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
amd8132 first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
amd8151 first round name simplification. drop the <component>_ prefix. 2010-12-08 05:42:47 +00:00
cimx AGESA F15 wrapper for Trinity 2012-07-03 09:38:55 +02:00
cs5530 Clean up #ifs 2012-05-08 00:34:34 +02:00
cs5535 Unify use of post_code 2011-04-11 20:17:22 +00:00
cs5536 cs5536: add smbus support in ramstage 2012-07-24 12:18:28 +02:00
rs690 Define global uma_memory variables 2012-07-16 18:41:46 +02:00
rs780 Define global uma_memory variables 2012-07-16 18:41:46 +02:00
sb600 Clean up #ifs 2012-05-08 00:34:34 +02:00
sb700 Unmark source files as executables 2012-05-10 08:44:08 +02:00
sb800 Clean up #ifs 2012-05-08 00:34:34 +02:00
sr5650 Some more #if cleanup 2012-05-08 00:38:11 +02:00
Kconfig AGESA F15 wrapper for Hudson. 2012-07-14 16:29:52 +02:00
Makefile.inc AGESA F15 wrapper for Hudson. 2012-07-14 16:29:52 +02:00