- 14 Feb, 2008 1 commit
-
-
Clark Rawlins authored
With this small change it is possible to build flashrom again when specifying custom CFLAGS/LDFLAGS from the make command line like. make CFLAGS="..." LDFLAGS="..." I need to do this when building flashrom in a cross compiler environment like buildroot for a foreign target. Corresponding to flashrom svn r196 and coreboot v2 svn r3102. Signed-off-by:
Clark Rawlins <clark@bit63.org> Acked-by:
Ronald G. Minnich <rminnich@gmail.com> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 11 Feb, 2008 1 commit
-
-
Mart Raudsepp authored
- Remove the "enable write to flash" message, as the caller appears to already report that. - Move the 'modprobe msr' suggestions to the first lseek64 error handling, as we get an error there already. - Rename a perror string from "read" to "read msr", as we use the latter already in this function for another read. Corresponding to flashrom svn r195 and coreboot v2 svn r3101. Signed-off-by:
Mart Raudsepp <mart.raudsepp@artecdesign.ee> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 09 Feb, 2008 1 commit
-
-
Luc Verhaegen authored
Corresponding to flashrom svn r194 and coreboot v2 svn r3099. Signed-off-by:
Luc Verhaegen <libv@skynet.be> Acked-by:
Corey Osgood <corey.osgood@gmail.com> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 08 Feb, 2008 2 commits
-
-
Mart Raudsepp authored
Also, move a big code comment to the top of enable_flash_cs5536(). Corresponding to flashrom svn r193 and coreboot v2 svn r3098. Signed-off-by:
Mart Raudsepp <mart.raudsepp@artecdesign.ee> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
Mart Raudsepp authored
This implements support for devices using AMD Geode companion chip CS5536 that have the Boot ROM on NOR flash that is directly connected to FLASH_CS3 (Boot Flash Chip Select). We need to write enable it in the NORF_CTL MSR register for flashrom to be able to write to it, including JEDEC probe commands. This patch allows us to stop using AMD gx_utils.ko for BIOS flashing on the DBE61. Corresponding to flashrom svn r192 and coreboot v2 svn r3097. Signed-off-by:
Mart Raudsepp <mart.raudsepp@artecdesign.ee> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 06 Feb, 2008 1 commit
-
-
Carl-Daniel Hailfinger authored
Some vendors like Programmable Micro Corp (PMC) need this. Both the serial and parallel flash JEDEC detection routines would benefit from a parity/sanity check of the vendor ID. Will do this later. Add support for the PMC Pm25LV family of SPI flash chips. Corresponding to flashrom svn r191 and coreboot v2 svn r3091. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Chris Lingard <chris@stockwith.co.uk>
-
- 27 Jan, 2008 2 commits
-
-
Peter Stuge authored
Make the vendor name optional in the -m flashrom parameter when there's only one board name that matches The full syntax still works, and is required when two vendors have boards with the same names. Corresponding to flashrom svn r190 and coreboot v2 svn r3082. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
Peter Stuge authored
Corresponding to flashrom svn r189 and coreboot v2 svn r3080. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 26 Jan, 2008 1 commit
-
-
Marc Jones authored
Corresponding to flashrom svn r188 and coreboot v2 svn r3078. Signed-off-by:
Marc Jones <marc.jones@amd.com> Acked-by:
Peter Stuge <peter@stuge.se> Tested on the pcengines alix1c and works fine. Acked-by:
Ronald G. Minnich <rminnich@gmail.com>
-
- 25 Jan, 2008 1 commit
-
-
Peter Stuge authored
Corresponding to flashrom svn r187 and coreboot v2 svn r3074. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 22 Jan, 2008 3 commits
-
-
Harald Gutmann authored
I've tested and verified the chip myself, and it seems to work everything like supposted, since Carl-Daniel has patched flashrom to use the read funktion on verifying. "benchvice flashrom # ./flashrom -m gigabyte:m57sli -v test.4mb Calibrating delay loop... OK. No coreboot table found. Found chipset "NVIDIA MCP55", enabling flash write... OK. Found board "GIGABYTE GA-M57SLI-S4": enabling flash write... Serial flash segment 0xfffe0000-0xffffffff enabled Serial flash segment 0x000e0000-0x000fffff enabled Serial flash segment 0xffee0000-0xffefffff disabled Serial flash segment 0xfff80000-0xfffeffff enabled LPC write to serial flash enabled serial flash pin 29 OK. MX25L3205 found at physical address 0xffc00000. Flash part is MX25L3205 (4096 KB). Flash image seems to be a legacy BIOS. Disabling checks. Verifying flash... VERIFIED. benchvice flashrom # ls -l test.4mb -rw-r--r-- 1 root root 4194304 22. Jan 16:27 test.4mb Corresponding to flashrom svn r186 and coreboot v2 svn r3072. Signed-off-by:
Harald Gutmann <harald.gutmann@gmx.net> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
Carl-Daniel Hailfinger authored
That fails if the flash chip is not mapped completely. If the read function is set in struct flashchip, use it for verification as well. This fixes verification of all SPI flash chips >512 kByte behind an IT8716F flash translation chip. "MX25L8005 found at physical address 0xfff00000. Flash part is MX25L8005 (1024 KB). Flash image seems to be a legacy BIOS. Disabling checks. Verifying flash... VERIFIED." Corresponding to flashrom svn r185 and coreboot v2 svn r3070. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Harald Gutmann <harald.gutmann@gmx.net>
-
Carl-Daniel Hailfinger authored
Minor formatting changes. Corresponding to flashrom svn r184 and coreboot v2 svn r3069. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Harald Gutmann <harald.gutmann@gmx.net>
-
- 21 Jan, 2008 2 commits
-
-
Ronald Hoogenboom authored
readcnt==0 saves 10 seconds with the unconditional 10us delay, reducing programming time for SST25VF016B to 40-45 secs. Corresponding to flashrom svn r183 and coreboot v2 svn r3068. Signed-off-by:
Ronald Hoogenboom <hoogenboom30@zonnet.nl> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
Bernhard Walle authored
Because 'v' and 'V' are already in use, the patch uses 'R' (for release) and, of course, '--version'. Corresponding to flashrom svn r182 and coreboot v2 svn r3067. Signed-off-by:
Bernhard Walle <bernhard.walle@gmx.de> Acked-by:
Ulf Jordan <jordan@chalmers.se> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 19 Jan, 2008 1 commit
-
-
Ronald Hoogenboom authored
Support SPI flash chips bigger than 512 kByte sitting behind IT8716F Super I/O performing LPC-to-SPI flash translation. Corresponding to flashrom svn r181 and coreboot v2 svn r3061. Signed-off-by:
Ronald Hoogenboom <hoogenboom30@zonnet.nl> Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 18 Jan, 2008 3 commits
-
-
Uwe Hermann authored
Corresponding to flashrom svn r180 and coreboot v2 svn r3059. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
Stefan Reinauer authored
Corresponding to flashrom svn r179 and coreboot v2 svn r3058. Signed-off-by:
Stefan Reinauer <stepan@coresystems.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
Stefan Reinauer authored
Corresponding to flashrom svn r178 and coreboot v2 svn r3054. Signed-off-by:
Stefan Reinauer <stepan@coresystems.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
- 11 Jan, 2008 1 commit
-
-
Bernhard Walle authored
After the patch [...] The line length is still below 80 characters. Corresponding to flashrom svn r177 and coreboot v2 svn r3045. Signed-off-by:
Bernhard Walle <bernhard.walle@gmx.de> Acked-by:
Torsten Duwe <duwe@lst.de>
-
- 10 Jan, 2008 1 commit
-
-
Harald Gutmann authored
The #defines were already there. Corresponding to flashrom svn r176 and coreboot v2 svn r3042. Signed-off-by:
Harald Gutmann <harald.gutmann@gmx.net> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 07 Jan, 2008 1 commit
-
-
Carl-Daniel Hailfinger authored
Straight from the data sheet, not tested. Corresponding to flashrom svn r175 and coreboot v2 svn r3036. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
- 04 Jan, 2008 2 commits
-
-
Ronald G. Minnich authored
Corresponding to flashrom svn r174 and coreboot v2 svn r3033. Signed-off-by:
Ronald G. Minnich <rminnich@gmail.com> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
Carl-Daniel Hailfinger authored
Corresponding to flashrom svn r173 and coreboot v2 svn r3032. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Ronald G. Minnich <rminnich@gmail.com>
-
- 31 Dec, 2007 3 commits
-
-
Carl-Daniel Hailfinger authored
Improve model number printing. Add EN29F002(A)(N)B support while I'm at it. Corresponding to flashrom svn r172 and coreboot v2 svn r3031. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Markus Boas <bios@ryven.de>
-
Carl-Daniel Hailfinger authored
The continuation ID code does not go further than checking for IDs of the type 0x7fXX, but does this for vendor and product ID. The current published JEDEC spec has a list where the largest vendor ID is 7 bytes long, but all leading bytes are 0x7f. The list will grow in the future, and using a 64bit variable will not be enough anymore. Besides that, it seems that the location of the ID byte after the first continuation ID byte is very vendor specific, so we may have to revisit that code some time in the future. (Suggestion for a new encoding: Use a two-byte data type for the ID, the lower byte contains the only non-0x7f byte, the upper byte contains the number of 0x7f bytes used as prefix, which is the bank number minus 1 the vendor ID appears in.) Add support for EON EN29F002AT. Corresponding to flashrom svn r171 and coreboot v2 svn r3030. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Corey Osgood <corey.osgood@gmail.com>
-
Carl-Daniel Hailfinger authored
This fixes a few vendor IDs to conform with JEDEC publication 106W (JEP106W), adds some device IDs and provides information about non-conforming IDs. The EON change is left to the patch adding EON chips. This patch should have no effect on code generation. Corresponding to flashrom svn r170 and coreboot v2 svn r3029. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Corey Osgood <corey.osgood@gmail.com>
-
- 29 Dec, 2007 3 commits
-
-
Carl-Daniel Hailfinger authored
Fix that. Page size is uniform 256 bytes for SPI. A sector/block size field in struct flashchip would be nice, though. Corresponding to flashrom svn r169 and coreboot v2 svn r3027. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Corey Osgood <corey.osgood@gmail.com>
-
Carl-Daniel Hailfinger authored
Pretty-print the chip status register (including block lock information) for ST M25P family and Macronix MX25L family chips. Corresponding to flashrom svn r168 and coreboot v2 svn r3026. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Corey Osgood <corey.osgood@gmail.com>
-
Carl-Daniel Hailfinger authored
Untested, but verified against the data sheet. Corresponding to flashrom svn r167 and coreboot v2 svn r3025. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Corey Osgood <corey.osgood@gmail.com>
-
- 17 Dec, 2007 2 commits
-
-
Carl-Daniel Hailfinger authored
Add support for ST M25P05-A, M25P10-A, M25P20, M25P40, M25P16, M25P32, M25P64, M25P128. ST M25P80 support is already there. Not tested, but conforming to data sheets and double checked. Corresponding to flashrom svn r166 and coreboot v2 svn r3012. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
Carl-Daniel Hailfinger authored
To make it easier to add new SPI chips to flashchips.c, rename functions with multiple possible opcodes from linear numbering at the end (_1, _2) to include the opcode at the end (_60, _c7). That way, you only have to take a short look at the data sheet and choose the right function by appending the opcode listed in the data sheet. No functional changes. Corresponding to flashrom svn r165 and coreboot v2 svn r3009. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Ward Vandewege <ward@gnu.org>
-
- 16 Dec, 2007 1 commit
-
-
Carl-Daniel Hailfinger authored
Detection was tested. Print status register before erase to help debugging block locks. Corresponding to flashrom svn r164 and coreboot v2 svn r3008. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Corey Osgood <corey.osgood@gmail.com>
-
- 10 Dec, 2007 1 commit
-
-
Frederico Silva authored
AT49F002 AT49F002N AT49F002T AT49F002NT Only tested the read function on AT49F002T. datasheet @ http://www.atmel.com/atmel/acrobat/doc1017.pdf Corresponding to flashrom svn r163 and coreboot v2 svn r3003. Signed-off-by:
Frederico Silva <frederico.silva@gmail.com> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 04 Dec, 2007 1 commit
-
-
Uwe Hermann authored
Also, s/0xFF80/0xFFC0/ in the Acorp 6A815EPD board-enable, as per http://www.linuxbios.org/pipermail/linuxbios/2007-December/027750.html Corresponding to flashrom svn r162 and coreboot v2 svn r2997. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 02 Dec, 2007 1 commit
-
-
Jonathan A. Kollasch authored
Corresponding to flashrom svn r161 and coreboot v2 svn r2995. Signed-off-by:
Jonathan A. Kollasch <jakllsch@kollasch.net> Acked-by:
Ronald G. Minnich <rminnich@gmail.com> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 13 Nov, 2007 2 commits
-
-
Lane Brooks authored
Attached is a patch that enables AMD Geode CS5536 chipset support. I have tested it successfully on a MSM800 board from digital logic. Corresponding to flashrom svn r160 and coreboot v2 svn r2967. Signed-off-by:
Lane Brooks <lbrooks@mit.edu> Acked-by:
Jordan Crouse <jordan.crouse@amd.com>
-
Carl-Daniel Hailfinger authored
The JEDEC probe routine had a delay of 10 us after entering ID mode and this was insufficient for the 29C020. The data sheet claims we have to wait 10 ms, but tests have shown that 20 us suffice. Allow for variations in chip delays with a factor of 2 safety margin. Corresponding to flashrom svn r159 and coreboot v2 svn r2962. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 30 Oct, 2007 1 commit
-
-
Uwe Hermann authored
Detection and reading works, writing is not tested. Corresponding to flashrom svn r158 and coreboot v2 svn r2903. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 25 Oct, 2007 1 commit
-
-
Peter Lemenkov authored
Looking through the sources of Uniflash utility I found that this chip is no more no less than low-voltage variant of Am29F040B but with different ID. So I created a very quick patch (attached). Corresponding to flashrom svn r157 and coreboot v2 svn r2897. Signed-off-by:
Peter Lemenkov <lemenkov@gmail.com> Acked-by:
Peter Stuge <peter@stuge.se>
-