coreboot-kgpe-d16/util
Carl-Daniel Hailfinger 7cb70d9abd Check for failed SPI command execution in flashrom. Although SPI itself
does not have a mechanism to signal command failure, the SPI host may be
unable to send a given command over the wire due to security or hardware
limitations. The current code ignores these mechanisms completely and
simply assumes almost every command succeeds. Complain if SPI command
execution fails.

Since locked down Intel chipsets (like the one we had problems with
earlier) only allow a small subset of commands, find the common subset
of commands between the chipset and the ROM in the chip erase case. That
is accomplished by the new spi_chip_erase_60_c7() which can be used for
chips supporting both 0x60 and 0xc7 chip erase commands.

Both parts of the patch address problems seen in the real world. The
increased verbosity for the error case will help us diagnose and address
problems better.

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


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3757 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-11-18 00:41:02 +00:00
..
ADLO Changes Makefile generation so that recursive "make" calls read 2008-06-08 23:05:24 +00:00
abuild Add an abuild command line option for -fno-stack-protect for toolchains that might require it. 2008-09-30 17:09:44 +00:00
analysis Rename almost all occurences of LinuxBIOS to coreboot. 2008-01-18 15:08:58 +00:00
buildrom fix build warnings for buildrom (trivial) 2008-08-01 11:20:33 +00:00
dump_mmcr small ts5300 update, fix endian problem in dummmcr. 2006-03-18 00:10:29 +00:00
flashrom Check for failed SPI command execution in flashrom. Although SPI itself 2008-11-18 00:41:02 +00:00
getpir cosmetic update for getpir. 2008-11-10 13:52:14 +00:00
inteltool inteltool 82945G/GZ/P/PL Support (trivial) 2008-11-02 11:11:40 +00:00
k8resdump K8 resource dump utility from Rudolf Marek 2007-10-30 01:12:20 +00:00
lbtdump Fix a typo in lbtdump output (trivial). 2008-05-07 19:21:18 +00:00
mkelfImage Add the contents of buildrom's 2008-08-06 20:37:38 +00:00
mptable fix typo 2008-03-15 16:30:39 +00:00
newconfig This changes the python generated makefiles 2008-09-04 13:44:00 +00:00
nrv2b
nvramtool Move the nvramtool manpage to section 8 (as it's only really usable as root), 2008-10-31 05:40:04 +00:00
optionlist Rename almost all occurences of LinuxBIOS to coreboot. 2008-01-18 15:08:58 +00:00
options rename linuxbios_* files, too. 2008-01-18 16:16:45 +00:00
resetcf
romcc Rename almost all occurences of LinuxBIOS to coreboot. 2008-01-18 15:08:58 +00:00
superiotool Add detection support for ITE IT8228E, IT8711F, IT8722F, IT8761E, 2008-11-12 19:08:58 +00:00
vgabios Adds support for understanding bus:dev.func to the -d option of testbios 2006-04-23 19:16:09 +00:00