[coreboot] flashrom SB600 LPC vs SPI, ROM straps
peter at stuge.se
Wed Feb 4 05:27:40 CET 2009
Bao, Zheng wrote:
> About 2, we don't have to know where the board boots.
I'm afraid we do.
> If we assume the cross-burning is not allowed, the flashrom can not
> detect the existence of a SPI chip. Then it will not do any SPI
> action. Right?
The flashbus variable is used to control if and how SPI commands are
performed by flashrom.
Existing chipset enable code for SB600 unconditionally enables SPI in
the PM registers, and sets flashbus = BUS_TYPE_SB600_SPI. This does
not work, as can be seen on SB600 boards with LPC flash. Leaving the
PM registers untouched and setting flashbus = BUS_TYPE_SB600_SPI also
does not work, because erase and probe commands will be sent via SPI.
flashrom must detect what the system is actually using so that the
flashbus variable is set correctly.
More information about the coreboot