coreboot-kgpe-d16/util
Peter Stuge 646eb245e6 flashrom: Force read unknown flash chips
When flash chip detection fails, it is still useful and possible to read the
flash chip contents. If no flash chip is found in normal probes and the
-f -r -c CHIPNAME options are given, a successful probe for the specified
chip is forced, and then flashrom reads the flash chip using either the read
function for the specified chip, or if there is none, a simple memcpy().

The patch also moves the global variable int force in flashrom.c into main()
and passes it as a parameter to layout.c:show_id(), which was the only other
function that used the variable. This is needed to avoid confusion with the
new parameter int force which is added to flashrom.c:probe_flash() and used
to force probe success for the chip named in char *chip_to_probe.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Ward Vandewege <ward@gnu.org>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3367 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-06-18 02:08:40 +00:00
..
abuild abuild: fix gnu getopt detection (trivial) 2008-05-28 08:40:23 +00:00
ADLO Changes Makefile generation so that recursive "make" calls read 2008-06-08 23:05:24 +00:00
analysis Rename almost all occurences of LinuxBIOS to coreboot. 2008-01-18 15:08:58 +00:00
buildrom Rename almost all occurences of LinuxBIOS to coreboot. 2008-01-18 15:08:58 +00:00
dump_mmcr small ts5300 update, fix endian problem in dummmcr. 2006-03-18 00:10:29 +00:00
flashrom flashrom: Force read unknown flash chips 2008-06-18 02:08:40 +00:00
getpir Make the getpir output compile (Closes #70). 2008-03-25 19:43:01 +00:00
inteltool Initial support for the Intel 82845 (Brookdale) and ICH2 (trivial). 2008-05-17 21:33:35 +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 Importing mkelfimage from 2008-02-15 18:16:06 +00:00
mptable fix typo 2008-03-15 16:30:39 +00:00
newconfig Changes Makefile generation so that recursive "make" calls read 2008-06-08 23:05:24 +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 Rename lxbios to nvramtool, step 3 (rename directory). 2008-03-01 19:09:01 +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 dump support for Winbond (NSC) PC87427. Dumps available from real hardware. 2008-06-07 11:36:30 +00:00
vgabios Adds support for understanding bus:dev.func to the -d option of testbios 2006-04-23 19:16:09 +00:00