- 19 May, 2011 1 commit
-
-
Carl-Daniel Hailfinger authored
Add lock printing for AMIC A25L05PT, A25L05PU, A25L10PT, A25L10PU, A25L20PT, A25L20PU, A25L40PT, A25L40PU, A25L80P, A25L16PT, A25L16PU, A25L512, A25L010, A25L020, A25L040, A25L080, A25L016, A25L032, A25LQ032 to a25.c. Add lock printing for Atmel AT26DF081A, AT26DF161, AT26DF161A, AT26DF321. Move Atmel AT25*/AT26* lock related functions originally added in r1115 from spi25.c to at25.c. For SPI chips the lock printing was handled by one common function, but sharing a common function which only is a big switch() statement doesn't make sense, especially if we can define lock printing functions per flash chip anyway. The printlock function pointer in struct flashchip is used to print status register and locking information, and serves as replacement for implicit status register and lock printing during probe. That code will later be changed to store locking info in a machine- accessible data structure so flashrom can handle locked regions...
-
- 18 May, 2011 14 commits
-
-
John Schmerge authored
Success report: http://www.flashrom.org/pipermail/flashrom/2011-May/006473.html Corresponding to flashrom svn r1315. Signed-off-by:
John Schmerge <jschmerge@gmail.com> Acked-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
-
Shailendra Sodhi authored
Corresponding to flashrom svn r1314. Signed-off-by:
Shailendra Sodhi <shailendra.sodhi@endace.com> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
Joshua Roys authored
Success report: http://www.flashrom.org/pipermail/flashrom/2010-October/005046.html Corresponding to flashrom svn r1313. Signed-off-by:
Joshua Roys <roysjosh@gmail.com> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
Stefan Tauner authored
Success report: http://flashrom.org/pipermail/flashrom/2011-April/006179.html Corresponding to flashrom svn r1312. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
Stefan Tauner authored
Success report: http://flashrom.org/pipermail/flashrom/2011-April/006179.html Corresponding to flashrom svn r1311. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
Stefan Tauner authored
Corresponding to flashrom svn r1310. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Peter Stuge <peter@stuge.se>
-
Stefan Tauner authored
Success report with MX29F001TPC-12 at: http://flashrom.org/pipermail/flashrom/2011-April/006132.html Corresponding to flashrom svn r1309. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Stefan Reinauer <stefan.reinauer@coreboot.org>
-
Stefan Tauner authored
http://www.flashrom.org/pipermail/flashrom/2011-April/006099.html Corresponding to flashrom svn r1308. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
Stefan Tauner authored
Corresponding to flashrom svn r1307. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
Stefan Tauner authored
Corresponding to flashrom svn r1306. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
Stefan Tauner authored
Corresponding to flashrom svn r1305. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
Raúl Soriano authored
Corresponding to flashrom svn r1304. Signed-off-by:
Raúl Soriano <GatoLoko@gmail.com> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
David Hendricks authored
Corresponding to flashrom svn r1303. Signed-off-by:
David Hendricks <dhendrix@google.com> Acked-by:
Stefan Reinauer <stepan@coreboot.org>
-
David Hendricks authored
Corresponding to flashrom svn r1302. Signed-off-by:
David Hendricks <dhendrix@google.com> Acked-by:
Stefan Reinauer <stepan@coreboot.org>
-
- 17 May, 2011 2 commits
-
-
Stefan Tauner authored
Corresponding to flashrom svn r1301. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
Stefan Tauner authored
Corresponding to flashrom svn r1300. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 11 May, 2011 2 commits
-
-
Michael Karcher authored
Remove the array spi_programmer, replace it by dynamic registration instead. Also initially start with no busses supported, and switch to the default non-SPI only for the internal programmer. Also this patch changes the initialization for the buses_supported variable from "everything-except-SPI" to "nothing". All programmers have to set the bus type on their own, and this enables register_spi_programmer to just add the SPI both for on-board SPI interfaces (where the internal programmer already detected the other bus types), as well as for external programmers (where we have the default "none"). Corresponding to flashrom svn r1299. Signed-off-by:
Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
Michael Karcher authored
Corresponding to flashrom svn r1298. Signed-off-by:
Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 08 May, 2011 1 commit
-
-
Carl-Daniel Hailfinger authored
Tested-by:
Maciej Pijanka <maciej.pijanka@gmail.com> Corresponding to flashrom svn r1297. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Tested-by:
Anton Kochkov <anton.kochkov@gmail.com> Acked-by:
Anton Kochkov <anton.kochkov@gmail.com>
-
- 07 May, 2011 1 commit
-
-
Carl-Daniel Hailfinger authored
r1293 introduced a bug which caused probing to loop at the first found chip. Corresponding to flashrom svn r1296. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
- 05 May, 2011 2 commits
-
-
John Schmerge authored
Corresponding to flashrom svn r1295. Signed-off-by: John Schmerge <jbschmerge@gmail.com> for Devon IT Acked-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
-
Carl-Daniel Hailfinger authored
Handle board-specific quirks in three phases: 1. Before Super I/O probing (e.g. blacklisting of some Super I/O probes, or unhiding the Super I/O) 2. Before the laptop enforcement decision (e.g. whitelisting a laptop for flashing) 3. After chipset enabling (all current board enables) Implementation note: All entries in board_pciid_enables get an additional phase parameter. Alternative variants (3 tables instead of 1) also have their downsides, and I chose table bloat over table multiplication). With this patch, it should be possible to whitelist supported laptops with a matching entry (phase P2) in board_pciid_enables which points to a function setting laptop_ok=1. (In case DMI is broken, matching might be a little bit more difficult, but it is still doable.) Corresponding to flashrom svn r1294. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
-
- 04 May, 2011 1 commit
-
-
Carl-Daniel Hailfinger authored
This moves 99.5% of the .data section to .rodata (which ends up in .text). Corresponding to flashrom svn r1293. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Stefan Reinauer <stefan.reinauer@coreboot.org>
-
- 03 May, 2011 1 commit
-
-
Carl-Daniel Hailfinger authored
Reversible MMIO space writes now use rmmio_write*(). Reversible PCI MMIO space writes now use pci_rmmio_write*(). If a MMIO value needs to be queued for restore without writing it, use rmmio_val*(). MMIO space writes which are one-shot (e.g. communication with some chip) should continue to use the permanent mmio_write* variants. Corresponding to flashrom svn r1292. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> David tested it successfully on some NM10/ICH7 platforms which switch between SPI and LPC targets (x86 BIOS ROM vs. EC firmware ROM). Acked-by:
David Hendricks <dhendrix@google.com>
-
- 29 Apr, 2011 2 commits
-
-
Stefan Tauner authored
Corresponding to flashrom svn r1291. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
-
Michael Karcher authored
Corresponding to flashrom svn r1290. Signed-off-by:
Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 27 Apr, 2011 1 commit
-
-
Carl-Daniel Hailfinger authored
Flashrom currently only supports exactly one Super I/O or Embedded Controller, and this means quite a few notebooks and a small subset of desktop/server boards cannot be handled reliably and easily. Allow detection and initialization of up to 3 Super I/O and/or EC chips. WARNING! If a Super I/O or EC responds on multiple ports (0x2e and 0x4e), the code will do the wrong thing (namely, initialize the hardware twice). I have no idea if we should handle such situations, and whether we should ignore the second chip with identical ID or not. Initializing the hardware twice for the IT87* family is _not_ a problem, but I don't know how well IT85* can handle it (and whether IT85* would listen at more than one port anyway). Corresponding to flashrom svn r1289. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Thanks to Thomas Schneider for testing on a board with ITE IT87* SPI. Test report (success) is here: http://paste.flashrom.org/view.php?id=379 Thanks to David Hendricks for testing on a Google Cr-48 laptop with ITE IT85* EC SPI. Test report (success) is here: http://www.flashrom.org/pipermail/flashrom/2011-April/006275.html Acked-by:
David Hendricks <dhendrix@google.com>
-
- 15 Apr, 2011 1 commit
-
-
Michael Karcher authored
It is extremely unlikely that a chip not requiring delays in probe does require them in erase. We observed unreliable erasing with a SST49LF004A with these delays, so remove them if the are not required. In review, I got the hint that "probe_jedec goes further by making that call conditional on nonzero delay". I decided to ignore that. For internal_delay, the small amount of clock cycles wasted for calling programmer_delay(0) is negligible compared to LPC cycle times. It might be an issue for 5 wasted bytes on the serial line in serprog. OTOH, flash erase is still slow compared to 6*5 bytes on a serial port at reasonable speed. Corresponding to flashrom svn r1288. Signed-off-by:
Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 14 Apr, 2011 2 commits
-
-
Michael Karcher authored
As the comment indicates, that function is not a chip erase function at all, but a function calling a block eraser in a loop. So it adds no extra value to what we already have in the block_eraser infrastructure. Furthermore, that function assumes a uniform sector size layout, but is referenced from flash chip with non-uniform sector size layout, which is just wrong. Corresponding to flashrom svn r1287. Signed-off-by:
Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
Michael Karcher authored
Reported by: wickberg@student.chalmers.se flashrom -V: http://paste.flashrom.org/view.php?id=452 lspci: http://paste.flashrom.org/view.php?id=453 (note that the flashrom dump is with a foreign chip. That board is originally equipped with an PMC Pm49FL004. Corresponding to flashrom svn r1286. Signed-off-by:
Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by:
Stefan Reinauer <stefan.reinauer@coreboot.org>
-
- 02 Apr, 2011 1 commit
-
-
Stefan Tauner authored
Success report at http://flashrom.org/pipermail/flashrom/2011-March/006072.html Corresponding to flashrom svn r1285. Signed-off-by:
Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-
- 01 Apr, 2011 1 commit
-
-
Stefan Reinauer authored
Corresponding to flashrom svn r1284. Signed-off-by:
Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 29 Mar, 2011 1 commit
-
-
Stefan Reinauer authored
Corresponding to flashrom svn r1283. Signed-off-by:
Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Idwer Vollering <vidwer@gmail.com>
-
- 18 Mar, 2011 1 commit
-
-
Stefan Reinauer authored
http://www.coreboot.org/DirectHW Corresponding to flashrom svn r1282. Signed-off-by:
Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Paul Menzel <paulepanter@users.sourceforge.net>
-
- 17 Mar, 2011 1 commit
-
-
Carl-Daniel Hailfinger authored
Use 16-bit values for bit masks in 16-bit registers. Check for SPI Cycle In Progress and wait up to 60 ms. Do not touch reserved bits. Reduce SPI cycle timeout from 60 s to 60 ms. Clear transaction errors caused by our own SPI accesses. Add better debugging in case the hardware misbehaves. Corresponding to flashrom svn r1281. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Stefan Reinauer <stefan.reinauer@coreboot.org>
-
- 08 Mar, 2011 3 commits
-
-
Patrick Georgi authored
- Fix various minor compile issues (eg. include necessary standard headers) - Fix compilation of libpayload code paths - Provide libpayload support in Makefile - Add make target "libflashrom.a" which links non-CLI code to static library Corresponding to flashrom svn r1280. Signed-off-by:
Patrick Georgi <patrick.georgi@secunet.com> Tested-with-DOS-crosscompiler-by:
Idwer Vollering <vidwer@gmail.com> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
Carl-Daniel Hailfinger authored
Fix a few typos. Change the EC memory region mapping name. Drop unused function parameter. Use mmio_writeb()/mmio_readb() to get reliable access to volatile memory locations instead of plain pointer access which is optimized away by gcc. Use own it85_* SPI high-level chip read/write functions instead of relying on unrelated ICH functions. Corresponding to flashrom svn r1279. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> David writes: I applied the patch against the Chromium OS branch and successfully tested read and write operations on a Cr48. Acked-by:
David Hendricks <dhendrix@google.com>
-
Carl-Daniel Hailfinger authored
Fix compilation if everything except CONFIG_SATAMV is no. Do not compile in PCI support for wiki printing if no PCI devices are supported. Corresponding to flashrom svn r1278. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
-
- 07 Mar, 2011 1 commit
-
-
Idwer Vollering authored
Corresponding to flashrom svn r1277. Signed-off-by:
Idwer Vollering <vidwer@gmail.com> Acked-by:
Idwer Vollering <vidwer@gmail.com>
-