- 08 May, 2009 4 commits
-
-
Carl-Daniel Hailfinger authored
- Read/write accesses through function pointers - Command line parameter for internal/external flasher - Board and chipset setup moved to internal init function - Shutdown stuff moved to internal shutdown function As a side benefit, this will allow us to undo chipset write enable during shutdown. Tested by Uwe on real hardware. Corresponding to flashrom svn r476. 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
Corresponding to flashrom svn r475. 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>
-
Uwe Hermann authored
This is (among other things) useful/required for the -L output and the upcoming wiki-syntax output of supported boards. Corresponding to flashrom svn r474. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
Carl-Daniel Hailfinger authored
Flashrom assumes that the flash chip contents are available via mmap if no read function is defined. This special case is handled in lots of places all over the code. Remove the special case and use the read_memmapped function. Not only does this allow us to fix a read bug in flashrom I recently uncovered on ICH SPI, it also allows us to add support for Paraflasher to flashrom. Corresponding to flashrom svn r473. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 07 May, 2009 2 commits
-
-
Uwe Hermann authored
The list of tested chipsets is synced from the wiki. Also, split the chipset vendor and name into two fields for easier wiki-syntax output later. Corresponding to flashrom svn r472. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
Carl-Daniel Hailfinger authored
Suggested by Peter Stuge. Corresponding to flashrom svn r471. 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>
-
- 06 May, 2009 7 commits
-
-
Carl-Daniel Hailfinger authored
ASD chips may exist, but all available docs suggest they are just rebranded Winbond chips with Winbond IDs. The ASD vendor/chip IDs in flash.h are very likely just misinterpreted LHA headers. Corresponding to flashrom svn r470. 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>
-
Peter Stuge authored
Corresponding to flashrom svn r469. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
Carl-Daniel Hailfinger authored
- Using a 4-bit index into an array with 8 elements leads to out-of-bounds accesses. Use proper bit masking to fix this. - Factor out common SST25 status register printing. - Use the common SST25 status register printing for SST25VF080B. Corresponding to flashrom svn r468. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Peter Stuge <peter@stuge.se>
-
Carl-Daniel Hailfinger authored
If unprotect succeeded, it will print "SB600 unprotect failed". Corresponding to flashrom svn r467. 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>
-
Peter Stuge authored
Corresponding to flashrom svn r466. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
Peter Stuge authored
Corresponding to flashrom svn r465. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
Carl-Daniel Hailfinger authored
Use pci_dev_find() instead of setting up a filter and iterating over PCI devices. Corresponding to flashrom svn r464. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
- 05 May, 2009 4 commits
-
-
Carl-Daniel Hailfinger authored
- Check for read/write protected regions first. - Region protection is write-once according to the data sheets. Check if the write succeeded. Don't write if the region is not protected. - Verbose region protection dumping. - Improve readability of BAR mapping code. - Align BAR mapping to a page boundary (4k) instead of a 16k boundary. This patch prepares the code for a SPI detection heuristic. Corresponding to flashrom svn r463. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Peter Stuge <peter@stuge.se>
-
Bertrand Jacquin authored
Open fails so there is no reason to lseek in. Actually this is a trivial fix for a bad return value from open. Corresponding to flashrom svn r462. Signed-off-by:
Bertrand Jacquin <beber@meleeweb.net> Acked-by:
Ronald G. Minnich <rminnich@gmail.com>
-
Peter Stuge authored
As reported by A. Spamlover. Thanks! Corresponding to flashrom svn r461. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
Uwe Hermann authored
Also, move more stuff to the manpage where it belongs (this also eliminates some duplicated contents). Corresponding to flashrom svn r460. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 04 May, 2009 4 commits
-
-
Zheng Bao authored
Only access LPC ROM if we boot via LPC ROM. Only access SPI ROM if we boot via SPI ROM. The code to force enable SPI is commented out in case someone wants to reenable it for a particular board with LPC and SPI flash. Corresponding to flashrom svn r459. Signed-off-by:
Zheng Bao <zheng.bao@amd.com> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
Peter Stuge authored
Per report from from Henning Fleddermann. Thanks! Corresponding to flashrom svn r458. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
Carl-Daniel Hailfinger authored
Re-add the svn revision to the version string. Corresponding to flashrom svn r457. 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>
-
Carl-Daniel Hailfinger authored
Corresponding to flashrom svn r454. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 03 May, 2009 1 commit
-
-
Idwer Vollering authored
Corresponding to flashrom svn r453. Signed-off-by:
Idwer Vollering <vidwer@gmail.com> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 01 May, 2009 6 commits
-
-
Carl-Daniel Hailfinger authored
Fix compilation on Solaris and tell people how to compile flashrom on Solaris, Darwin/Mac OS X and DragonFly BSD. Thanks to Joerg Schilling and Patrick Georgi for the Solaris part. Corresponding to flashrom svn r452. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Peter Stuge <peter@stuge.se>
-
Peter Stuge authored
Corresponding to flashrom svn r451. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
Peter Stuge authored
Corresponding to flashrom svn r450. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
Carl-Daniel Hailfinger authored
Make that explicit in the associated prototypes. This avoids a warning on some compilers and is a correctness issue. Corresponding to flashrom svn r449. 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>
-
Carl-Daniel Hailfinger authored
He started flashrom back in 2000. Thanks to Ron for pointing this out. Corresponding to flashrom svn r448. 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>
-
Carl-Daniel Hailfinger authored
(all-caps or no-caps for short options, exclude range syntax, etc.) we should tell users in the man page and the usage message about this. Corresponding to flashrom svn r447. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 29 Apr, 2009 1 commit
-
-
Peter Stuge authored
Per report from Aldrik Dunbar. Thanks! Corresponding to flashrom svn r446. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 28 Apr, 2009 1 commit
-
-
Patrick Georgi authored
There are still some tweaks necessary to get flashrom to build on DragonFly, but this helps a lot. Corresponding to flashrom svn r445. Signed-off-by:
Patrick Georgi <patrick.georgi@coresystems.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-
- 26 Apr, 2009 1 commit
-
-
Patrick Georgi authored
Corresponding to flashrom svn r444. Signed-off-by:
Patrick Georgi <patrick.georgi@coresystems.de> Acked-by:
Patrick Georgi <patrick.georgi@coresystems.de>
-
- 25 Apr, 2009 1 commit
-
-
Stephan Guilloux authored
The old variant of using &>/dev/null works on bash and zsh, but not on dash and tcsh. dash and tcsh interpret it as "background command and truncate /dev/null" which is not what we want. >& works on tcsh and bash, but it is not POSIX compliant. Since make uses /bin/sh and /bin/sh has to be POSIX compliant, we can use the POSIX variant of stderr and stdout redirection. >/dev/null 2>&1 is POSIX compliant. This is specified in SuSv3, Shell Command Language, sections 2.7.2 and 2.7.6. Corresponding to flashrom svn r443 and coreboot v2 svn r4211. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Ward Vandewege <ward@gnu.org>
-
- 24 Apr, 2009 1 commit
-
-
Uwe Hermann authored
Also, fix smaller cosmetics Corresponding to flashrom svn r442 and coreboot v2 svn r4205. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 23 Apr, 2009 2 commits
-
-
Stephan Guilloux authored
Corresponding to flashrom svn r441 and coreboot v2 svn r4200. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Peter Stuge <peter@stuge.se>
-
Uwe Hermann authored
Also, additional small cosmetic fix. Corresponding to flashrom svn r440 and coreboot v2 svn r4196. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 22 Apr, 2009 1 commit
-
-
Carl-Daniel Hailfinger authored
That is incorrect. A bit of confusion comes from how the #defines are named. We call them TEST_BAD_*, but the message printed by flashrom says: "This flash part has status NOT WORKING for operations:" Something that is unimplemented is definitely not working. Neither of the chip entries mentioned above has erase or write functions implemented, so erase and write are not working. Since their size is unknown, we can't read them in. That means read is not working as well. Probing is a different matter. If a chip-specific probe function had matched, we wouldn't have to handle the chip with the "unknown xy SPI chip" fallback. I'm tempted to call that "not working" as well, but I'm open to discussion on this point. Corresponding to flashrom svn r439 and coreboot v2 svn r4177. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 21 Apr, 2009 3 commits
-
-
Carl-Daniel Hailfinger authored
This board uses IT8718F LPC->SPI translation for the flash chip. Tested by Mateusz Murawski. Corresponding to flashrom svn r438 and coreboot v2 svn r4161. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Mateusz Murawski <matowy@tlen.pl>
-
Stephan Guilloux authored
Corresponding to flashrom svn r437 and coreboot v2 svn r4150. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Peter Stuge <peter@stuge.se>
-
Stephan Guilloux authored
Corresponding to flashrom svn r436 and coreboot v2 svn r4149. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 20 Apr, 2009 1 commit
-
-
Stephan Guilloux authored
Corresponding to flashrom svn r435 and coreboot v2 svn r4146. Signed-off-by:
Stephan Guilloux <stephan.guilloux@free.fr> Acked-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-