[coreboot] Patch merged into coreboot/master: d9c108e cs5536: add smbus support in ramstage

gerrit at coreboot.org gerrit at coreboot.org
Tue Jul 24 12:18:30 CEST 2012


the following patch was just integrated into master:
commit d9c108eef717bc1de1b86b8120267b4c3a00f06d
Author: Christian Gmeiner <christian.gmeiner at gmail.com>
Date:   Fri Jul 20 10:21:29 2012 +0200

    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 at gmail.com>

Reviewed-By: Patrick Georgi <patrick at georgi-clan.de> at Tue Jul 24 12:18:28 2012, giving +2
See http://review.coreboot.org/1243 for details.

-gerrit




More information about the coreboot mailing list