[coreboot] [PATCH] flashrom: SB600 SPI detection heuristic

Stefan Reinauer stepan at coresystems.de
Wed May 6 03:22:45 CEST 2009

On 06.05.2009 2:50 Uhr, Carl-Daniel Hailfinger wrote:
> Create a SB600 SPI detection heuristic.
> I know that the data sheets say we can't read the ROM straps, but
> creative interpretation of the data sheets yielded a heuristic which
> should work pretty well.
> NOTE: If you test this, make sure you power down and _unplug_ the
> machine for a few minutes before you boot and run flashrom with this patch.
> If the machine is not unplugged for some time, the test will yield
> incorrect results.
> If you run a slightly older flashrom version than svn HEAD, the test
> will yield incorrect results.
> If you run any flashrom version (except svn HEAD plus this patch) after
> poweron, the test will yield incorrect results.
> Explanation:
> Older flashrom versions unconditionally stomp on registers which are
> used for this heuristic. These registers are in the S5 power domain, so
> even powering down does not clear them, you really have to unplug the
> machine.
(and remove the battery if it is a laptop)

> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Stefan Reinauer <stepan at coresystems.de>

coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

More information about the coreboot mailing list