coreboot-kgpe-d16/util
Mark Marshall d08e69dd5e Use more care when implementing the PCI BIOS functions.
The READ_CONF and WRITE_CONF functions would both do the wrong thing
if the passed in BDF was not found.  We should return and error to the
caller, but not stop running the option ROM.

Signed-off-by: Mark Marshall <mark.marshall@csr.com>

I slightly reworked the patch:

The 'CHECK' function seemed to be both wrong code and the wrong
number. 

In fact the CHECK function was given the function number of
the "Microsoft Real-Time Compression Interface". Since this is definitely wrong 
I removed the code.

Dropped some unneeded scopes, too, to make the code easier to read.

Acked-by: Stefan Reinauer <stepan@coresystems.de>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4910 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-11-05 09:03:04 +00:00
..
abuild Remove: 2009-10-03 16:24:58 +00:00
amdtools Add an initial version of some tools to compare (extended) K8 memory settings. 2009-10-28 19:41:52 +00:00
analysis This patch unifies the use of config options in v2 to all start with CONFIG_ 2009-06-30 15:17:49 +00:00
cbfstool Remove all build/ prefixes in the build output. 2009-10-28 17:10:51 +00:00
compareboard Add kconfig menus for most chipset VIDEO_MB values. 2009-10-26 21:42:13 +00:00
crossgcc This adds a simple script to build a default toolchain for coreboot 2009-09-26 16:43:17 +00:00
dump_mmcr small ts5300 update, fix endian problem in dummmcr. 2006-03-18 00:10:29 +00:00
ectool Add 'install' target for ectool (trivial). 2009-04-23 22:22:47 +00:00
getpir This patch changes following in getpir application. 2009-09-26 16:18:22 +00:00
inteltool Add 82Q35/P35/Q33/G33/G31/P31 support to inteltool. 2009-11-02 15:01:49 +00:00
k8resdump K8 resource dump utility from Rudolf Marek 2007-10-30 01:12:20 +00:00
kbuildall Add the compareboard utility which is useful for porting 2009-10-12 18:43:26 +00:00
kconfig In the mainboard selection, the selected mainboard is printed twice in 2009-09-14 14:15:43 +00:00
lbtdump Fix a typo in lbtdump output (trivial). 2008-05-07 19:21:18 +00:00
mkelfImage Impact: fix vmlinux from 2.6.30 2009-06-28 15:04:06 +00:00
mptable fix typo 2008-03-15 16:30:39 +00:00
msrtool fix building on Linux again, working around crude runtime OS detection. 2009-10-05 10:23:36 +00:00
newconfig Remove: 2009-10-03 16:24:58 +00:00
nrv2b don't ignore return values (trivial) 2009-04-22 12:14:39 +00:00
nvramtool fix some wrong occurences of the FSF's address (trivial) 2009-09-23 21:53:25 +00:00
optionlist More compact format for wiki output at 2009-06-02 23:49:00 +00:00
options Make the error messages somewhat less incomprehensible. I forget 2009-09-29 13:34:56 +00:00
resetcf epia-m support 2004-10-06 17:33:54 +00:00
romcc Improve coreboot build output and eliminate some warnings: 2009-10-27 21:49:33 +00:00
sconfig Remove all build/ prefixes in the build output. 2009-10-28 17:10:51 +00:00
superiotool Add detection support for the SMSC FDC37M602. 2009-09-24 12:17:07 +00:00
vgabios this is probably in vain because this tool should use the same x86emu as 2009-10-16 01:08:07 +00:00
x86emu Use more care when implementing the PCI BIOS functions. 2009-11-05 09:03:04 +00:00
xcompile Only remove .xcompile with distclean. Look for crossgcc in util. 2009-10-31 20:47:14 +00:00