coreboot-kgpe-d16/util
Carl-Daniel Hailfinger c88733c021 The existing check in probe_spi_res() was right for SPI controllers
which support all commands, but may not exist.
For controllers which support only a subset of commands, it will fail in
unexpected ways. Even if a command is supported by the controller, it
may be unavailable if the controller is locked down.

The new logic checks if RDID could be issued and its return values made
sense (not 0xff 0xff 0xff). In that case, RES probing is not performed.
Otherwise, we try RES.
There is one drawback: If RDID returned unexpected values, we don't
issue a RES probe. However, in that case we should try to match RDID
anyway.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: FENG yu ning <fengyuning1984@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3774 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-11-27 22:48:48 +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 The existing check in probe_spi_res() was right for SPI controllers 2008-11-27 22:48:48 +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
msrtool msrtool: Use libpci to let system and target probes find PCI devices. 2008-11-25 02:03:16 +00:00
newconfig This changes the python generated makefiles 2008-09-04 13:44:00 +00:00
nrv2b - Minor mod to reset16.inc to work with newer binutils hopefully this works with older ones... 2003-06-17 08:42:17 +00:00
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 epia-m support 2004-10-06 17:33:54 +00:00
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