- 06 Mar, 2009 1 commit
-
-
Carl-Daniel Hailfinger authored
Before we attempt trickery, we can simply rename the accessor functions. Patch created with the help of Coccinelle. Corresponding to flashrom svn r420 and coreboot v2 svn r3984. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Idwer Vollering <idwer_v@hotmail.com> Acked-by:
Patrick Georgi <patrick@georgi-clan.de>
-
- 05 Mar, 2009 1 commit
-
-
Carl-Daniel Hailfinger authored
Right now we perform direct pointer manipulation without any abstraction to read from and write to memory mapped flash chips. That makes it impossible to drive any flasher which does not mmap the whole chip. Using helper functions readb() and writeb() allows a driver for external flash programmers like Paraflasher to replace readb and writeb with calls to its own chip access routines. This patch has the additional advantage of removing lots of unnecessary casts to volatile uint8_t * and now-superfluous parentheses which caused poor readability. I used the semantic patcher Coccinelle to create this patch. The semantic patch follows: @@ expression a; typedef uint8_t; volatile uint8_t *b; @@ - *(b) = (a); + writeb(a, b); @@ volatile uint8_t *b; @@ - *(b) + readb(b) @@ type T; T b; @@ ( readb | writeb ) (..., - (T) - (b) + b ) In contrast to a sed script, the semantic patch performs type checking before converting anything. Tested-by: Joe Julian Corresponding to flashrom svn r418 and coreboot v2 svn r3971. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
FENG Yu Ning <fengyuning1984@gmail.com>
-
- 25 Jan, 2009 1 commit
-
-
Peter Stuge authored
Corresponding to flashrom svn r390 and coreboot v2 svn r3895. Signed-off-by:
Peter Stuge <peter@stuge.se> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 14 Mar, 2008 1 commit
-
-
Carl-Daniel Hailfinger authored
Corresponding to flashrom svn r204 and coreboot v2 svn r3140. 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>
-
- 13 Mar, 2008 1 commit
-
-
Carl-Daniel Hailfinger authored
Corresponding to flashrom svn r201 and coreboot v2 svn r3137. Signed-off-by:
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by:
Peter Stuge <peter@stuge.se>
-
- 17 Oct, 2007 1 commit
-
-
Uwe Hermann authored
Corresponding to flashrom svn r151 and coreboot v2 svn r2873. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
- 09 Sep, 2007 1 commit
-
-
Uwe Hermann authored
Corresponding to flashrom svn r136 and coreboot v2 svn r2768. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 29 Aug, 2007 1 commit
-
-
Uwe Hermann authored
No changes in content of the files. Corresponding to flashrom svn r131 and coreboot v2 svn r2751. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 23 Aug, 2007 4 commits
-
-
Uwe Hermann authored
Corresponding to flashrom svn r130 and coreboot v2 svn r2748. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
Uwe Hermann authored
Corresponding to flashrom svn r129 and coreboot v2 svn r2747. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
Uwe Hermann authored
Corresponding to flashrom svn r128 and coreboot v2 svn r2746. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
Uwe Hermann authored
Corresponding to flashrom svn r127 and coreboot v2 svn r2745. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
- 24 May, 2007 3 commits
-
-
Uwe Hermann authored
Corresponding to flashrom svn r116 and coreboot v2 svn r2696. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
Stefan Reinauer authored
Corresponding to flashrom svn r115 and coreboot v2 svn r2693. Signed-off-by:
Stefan Reinauer <stepan@coresystems.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
Stefan Reinauer authored
Corresponding to flashrom svn r113 and coreboot v2 svn r2691. Signed-off-by:
Stefan Reinauer <stepan@coresystems.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
- 23 May, 2007 2 commits
-
-
Stefan Reinauer authored
Corresponding to flashrom svn r112 and coreboot v2 svn r2690. Signed-off-by:
Stefan Reinauer <stepan@coresystems.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
Stefan Reinauer authored
* Give decent names to virt_addr and virt_addr_2 * add some comments * move virtual addresses to the end of the struct, so they dont mess up the initializer. Corresponding to flashrom svn r111 and coreboot v2 svn r2689. Signed-off-by:
Stefan Reinauer <stepan@coresystems.de> Acked-by:
Stefan Reinauer <stepan@coresystems.de>
-
- 09 May, 2007 1 commit
-
-
Uwe Hermann authored
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs *.[ch] Some minor fixups were required, and maybe a few more cosmetic changes are needed. Corresponding to flashrom svn r108 and coreboot v2 svn r2643. Signed-off-by:
Uwe Hermann <uwe@hermann-uwe.de> Acked-by:
Uwe Hermann <uwe@hermann-uwe.de>
-
- 06 Apr, 2007 1 commit
-
-
Stefan Reinauer authored
* 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>
-
- 06 Feb, 2007 1 commit
-
-
Adam Kaufman authored
* 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>
-
- 23 Aug, 2006 1 commit
-
-
Stefan Reinauer authored
Corresponding to flashrom svn r60 and coreboot v2 svn r2386.
-
- 14 Mar, 2006 1 commit
-
-
Ronald G. Minnich authored
Corresponding to flashrom svn r44 and coreboot v2 svn r2197.
-
- 23 Feb, 2006 1 commit
-
-
Ronald G. Minnich authored
Corresponding to flashrom svn r40 and coreboot v2 svn r2180.
-
- 26 Nov, 2005 1 commit
-
-
Ollie Lho authored
Corresponding to flashrom svn r34 and coreboot v2 svn r2111.
-
- 27 Mar, 2004 1 commit
-
-
Ollie Lho authored
Corresponding to flashrom svn r19 and coreboot v2 svn r1486.
-
- 20 Mar, 2004 1 commit
-
-
Ollie Lho authored
Corresponding to flashrom svn r15 and coreboot v2 svn r1457.
-
- 18 Mar, 2004 1 commit
-
-
Ollie Lho authored
Corresponding to flashrom svn r8 and coreboot v2 svn r1434.
-
- 12 Sep, 2003 1 commit
-
-
Ronald G. Minnich authored
Corresponding to coreboot v1 svn r873.
-
- 28 Feb, 2003 1 commit
-
-
Ronald G. Minnich authored
Corresponding to coreboot v1 svn r752.
-
- 29 Jan, 2002 2 commits
-
-
Ronald G. Minnich authored
- switch to volatile everywhere - use myusec_delay instead of usleep Corresponding to coreboot v1 svn r492.
-
Ronald G. Minnich authored
Corresponding to coreboot v1 svn r489.
-