1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

39 Commits

Author SHA1 Message Date
Stefan Reinauer
7038564346 Trivial (cosmetic) cleanup
* Only open /dev/mem once and do it early.
* Drop extern for function prototypes.
* Minimize ts5300 impact in probe_flash()

This cleanup will making ICH7 SPI support quite some easier.

Corresponding to flashrom svn r100 and coreboot v2 svn r2585.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
2007-04-06 11:58:03 +00:00
Luc Verhaegen
8e3a600123 Split flash_enable.c into chipset_enable.c and board_enable.c
This splits up the ROM Write enable code into chipset specific and
board specific parts. This of course means that a lot of code is
plainly moved about.

* Allows for linuxbios name matching and pci-subsystem id matching.
  The latter uses a double set to properly distuinguish boards despite
  of some known vendors being lax about it.
* Fixes GPIO15 being raised on every VT8235 southbridge, regardless of what
  that line actually controls; rom on EPIA-M, backlight on mitac 8999 laptop.
* Adds flashrom support for Asus A7V400-MX (KM400 + VT8235)
* Island aruma was renamed agami aruma, the board specific code now got
  adjusted. A set of pci-ids was retrieved from source code.

Corresponding to flashrom svn r99 and coreboot v2 svn r2581.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
2007-04-04 22:45:58 +00:00
Uwe Hermann
af2b52dc5f Drop useless and partly even incorrect comments
Corresponding to flashrom svn r98 and coreboot v2 svn r2578.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2007-04-01 20:00:32 +00:00
Uwe Hermann
0b7afe65fb Coding style fixes
Corresponding to flashrom svn r97 and coreboot v2 svn r2577.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2007-04-01 19:44:21 +00:00
David Hendricks
71437d076f Add Winbond W39V080A support
Corresponding to flashrom svn r92 and coreboot v2 svn r2565.

Signed-off-by: David Hendricks <david.hendricks@gmail.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2007-03-02 02:25:36 +00:00
Adam Kaufman
064b1f23fa This patch is a rework of Adam Kaufman's Solaris patch
* flash.h:
  - add a license header
  - add system definitions
* flash_enable.c:
  - put io priviledge access in one single place
  - add includes required for Solaris.
* lbtable.c, flash_rom.c, 82802ab.c:
  - use MEM_DEV so it works on Solaris
* sst49lfxxxc.c, sharplhf00l04.c, sst_fwhub.c, 82802ab.c
  - drop unneeded include to sys/io.h
* Makefile
  - adapt to Solaris specifics.

Corresponding to flashrom svn r88 and coreboot v2 svn r2550.

Signed-off-by: Adam Kaufman <adam.kaufman@pinnacle.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Adam Kaufman <adam.kaufman@pinnacle.com>
2007-02-06 19:47:50 +00:00
Alan Carvalho de Assis
474230ad42 Add support for the SST 49LF160C
Corresponding to flashrom svn r87 and coreboot v2 svn r2539.

Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2007-01-27 13:39:06 +00:00
Yinghai Lu
ca78297374 Add support for the SST-49LF004C, SST-49LF008C, SST-49LF016C
Also add suport for NVIDIA MCP55.

Corresponding to flashrom svn r85 and coreboot v2 svn r2537.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
2007-01-22 20:21:17 +00:00
Stefan Reinauer
ef54abab33 Add support for ASD AE49F2008
Corresponding to flashrom svn r77 and coreboot v2 svn r2504.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
2006-11-21 23:51:08 +00:00
Uwe Hermann
566820d7f6 Rename SM_ID to SYNCMOS_ID
Corresponding to flashrom svn r75 and coreboot v2 svn r2502.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2006-11-21 15:09:05 +00:00
Uwe Hermann
838c7697a1 Add support for the SyncMOS S29C51001T, S29C51004T, and S29C31004T
Corresponding to flashrom svn r74 and coreboot v2 svn r2501.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
2006-11-21 15:02:27 +00:00
Giampiero Giancipoli
a8c8082c1f Support for the 256K SyncMos S29C51002T flash
Corresponding to flashrom svn r72 and coreboot v2 svn r2499.

Signed-off-by: Giampiero Giancipoli <gianci@email.it>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
2006-11-20 20:03:07 +00:00
Uwe Hermann
e205d98044 Here's a small patch to add support for the SST 49LF020A
Corresponding to flashrom svn r66 and coreboot v2 svn r2450.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
X-Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
2006-10-07 22:59:03 +00:00
Stefan Reinauer
e807d82e7d Add support for SST39SF040, SST39SF010A and W39V040B
Corresponding to flashrom svn r58 and coreboot v2 svn r2354.
2006-07-31 23:37:17 +00:00
Stefan Reinauer
64f05bb12f Signed-off-by: Scott Tsai <scott.tsai@arima.com.tw>
Data sheet:
http://www.alldatasheet.com/datasheet-pdf/pdf/47674/WINBOND/W49V002FAP.html

Corresponding to flashrom svn r56 and coreboot v2 svn r2341.
2006-07-19 15:13:21 +00:00
Stefan Reinauer
af2c2b5f2b Add support for EFST F49B002UA (untested)
Corresponding to flashrom svn r55 and coreboot v2 svn r2336.
2006-06-30 20:07:50 +00:00
Stefan Reinauer
6424faf2f4 Add support for PMC 49FL002 as used in the RD1-PMC2
Corresponding to flashrom svn r54 and coreboot v2 svn r2332.
2006-06-25 09:56:45 +00:00
Stefan Reinauer
db8b13ac53 Add support for Winbond W49V002A
Corresponding to flashrom svn r53 and coreboot v2 svn r2321.
2006-06-14 15:58:41 +00:00
Scott Tsai
023af76b2b Multiple unrelated changes
* SST_49LF040B flash support for flashrom
* add ICH4-M support to flashrom

Corresponding to flashrom svn r52 and coreboot v2 svn r2230.

Signed-off-by: Scott Tsai <scott.tsai@arima.com.tw>
2006-03-31 11:36:06 +00:00
Stefan Reinauer
86de283054 Multiple unrelated changes
* support for Winbond W39V040A
* Support for ATI SB400 (RS480 chipset)
* Support for Intel ICH7 (from Scott Tsai <scott.tsai@arima.com.tw>)

Corresponding to flashrom svn r51 and coreboot v2 svn r2229.
2006-03-31 11:26:55 +00:00
Stefan Reinauer
d918daa858 Support for Am29F016D
Corresponding to flashrom svn r45 and coreboot v2 svn r2203.
2006-03-16 16:44:07 +00:00
Stefan Reinauer
9d3d93e700 Add support for ST M29F040B
Signed-off-by: Leon Woestenberg <leonw@mailcan.com>

Corresponding to flashrom svn r41 and coreboot v2 svn r2182.
2006-02-24 13:47:26 +00:00
Ronald G. Minnich
5b582f23b8 Add sharp flash
Corresponding to flashrom svn r40 and coreboot v2 svn r2180.
2006-02-23 17:16:44 +00:00
Ollie Lho
184a404033 Flashrom update from Stefan, resolve issue 21
Corresponding to flashrom svn r34 and coreboot v2 svn r2111.
2005-11-26 21:55:36 +00:00
Ollie Lho
8b8897a5fd Remove false alarm of erase/write, use verify '-v' if you are not sure about the integrity
Corresponding to flashrom svn r19 and coreboot v2 svn r1486.
2004-03-27 00:18:15 +00:00
Ollie Lho
761bf1bdb7 Consolidate more jedec standard code
Corresponding to flashrom svn r15 and coreboot v2 svn r1457.
2004-03-20 16:46:10 +00:00
David Hendricks
1f12810d33 Add support for more SST 49lf0xxA parts
Corresponding to flashrom svn r12 and coreboot v2 svn r1438.
2004-03-18 21:55:22 +00:00
Ollie Lho
cbbf125981 Move utility functions into new source files
Corresponding to flashrom svn r6 and coreboot v2 svn r1428.
2004-03-17 22:22:08 +00:00
David Hendricks
3770a1132e Add support for SST49LF040
Corresponding to flashrom svn r5 and coreboot v2 svn r1422.
2004-03-17 21:47:30 +00:00
Ronald G. Minnich
e3dad01157 Now we support 8111 and these parts
Corresponding to flashrom svn r3 and coreboot v2 svn r1375.
2004-02-10 21:34:18 +00:00
Ronald G. Minnich
eaab50bb32 Changes from NIKI
Corresponding to coreboot v1 svn r873.
2003-09-12 22:41:53 +00:00
Andrew Ip
973b26db57 Add w29c011
Corresponding to coreboot v1 svn r727.
2002-12-30 13:10:06 +00:00
Andrew Ip
f0126ce251 Add w49f002u support
Corresponding to coreboot v1 svn r643.
2002-10-16 06:58:05 +00:00
Ronald G. Minnich
5643942750 Can now burn 82802ab
Corresponding to coreboot v1 svn r633.
2002-09-06 16:58:14 +00:00
Ollie Lho
6041bcda7a Add sst39vf020 support
Corresponding to coreboot v1 svn r606.
2002-07-18 03:32:00 +00:00
Ronald G. Minnich
3c910ed807 Add support for ST M29F400BT - part 1
Corresponding to coreboot v1 svn r582.
2002-05-28 23:29:17 +00:00
Ronald G. Minnich
c831647b17 Add support for 39sf020
Corresponding to coreboot v1 svn r523.
2002-03-21 22:40:40 +00:00
Ronald G. Minnich
ef5779d1dd Fixes
- switch to volatile everywhere
 - use myusec_delay instead of usleep

Corresponding to coreboot v1 svn r492.
2002-01-29 20:18:02 +00:00
Ronald G. Minnich
5e5f75e559 Trying to make this general purpose user-land flash burner
Corresponding to coreboot v1 svn r489.
2002-01-29 18:21:41 +00:00