summaryrefslogtreecommitdiff
path: root/sst49lf040.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop unused/duplicated #includes and some dead code (trivial).uwe2009-05-161-1/+0
| | | | | | | | | | | Build-tested on 32bit x86. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@521 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Use chipaddr instead of volatile uint8_t * because when we accesshailfinger2009-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | | chips in external flashers, they are not accessed via pointers at all. Benefits: This allows us to differentiate between volatile machine memory accesses and flash chip accesses. It also enforces usage of chip_{read,write}[bwl] to access flash chips, so nobody will unintentionally use pointers to access chips anymore. Some unneeded casts are removed as well. Grepping for chip operations and machine memory operations doesn't yield any false positives anymore. Compile tested on 32 bit and 64 bit Linux. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@519 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 3682uwe2008-10-211-2/+4
| | | | | | | | | | | | | Reduce serial output, otherwise flashing will fail very often (trivial). This has been tested on hardware by me. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@327 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2873uwe2007-10-171-1/+1
| | | | | | | | | | | Some cosmetic cleanups in the flashrom code and output. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@151 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2768uwe2007-09-091-1/+1
| | | | | | | | | | | Add '(C)' where it's missing (for consistency reasons). Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@136 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2751uwe2007-08-291-20/+13
| | | | | | | | | | | | Change all flashrom license headers to use our standard format. No changes in content of the files. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@131 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2748uwe2007-08-231-1/+3
| | | | | | | | | | | Cosmetic fixes (trivial). Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@130 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2746uwe2007-08-231-2/+0
| | | | | | | | | | | Drop a bunch of useless header files, merge them into flash.h. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@128 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2693stepan2007-05-241-2/+2
| | | | | | | | | | | drop leftover includes (trivial) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@115 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2689stepan2007-05-231-2/+2
| | | | | | | | | | | | | | | big cosmetic offensive on flashrom. (trivial) * 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. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@111 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2577uwe2007-04-011-7/+7
| | | | | | | | | | | Coding style fixes (trivial). Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@97 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2448stepan2006-10-071-5/+4
| | | | | | | | | Fix flashrom for sst49lf080a and small print bug, by Roman Kononov <kononov195-lbl@yahoo.com>. X-Signed-Off-By: Stefan Reinauer <stepan@coresystems.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@64 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2386stepan2006-08-231-1/+0
| | | | | | | Removing $Id$ tags as they have no meaning in SVN git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@60 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2220stepan2006-03-201-2/+2
| | | | | | | compilation fix for gcc 4.0.2 (SUSE10) git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@50 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2210stepan2006-03-171-2/+5
| | | | | | | | update dumpmmcr.c utility another flash chip that doesn't clog the serial line git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@48 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 2111ollie2005-11-261-3/+3
| | | | | | flasrom update from Stefan, resovle issue 21 git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@34 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 1852ollie2005-01-111-2/+17
| | | | | | | *** empty log message *** git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@31 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 1486ollie2004-03-271-4/+3
| | | | | | | removed false alarm of erase/write, use verify '-v' if you are not sure about the integrity git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@19 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 1459ollie2004-03-201-8/+0
| | | | | | | rmove unused #define and function declaretion git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@17 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 1457ollie2004-03-201-11/+13
| | | | | | | consolidate more jedec standard code git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@15 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 1456ollie2004-03-191-129/+6
| | | | | | | remove duplicated code git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@14 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 1436ollie2004-03-181-4/+0
| | | | | | | removed unused code in pm49fl004, remove experimental delay in sst49lf040 git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@10 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 1434ollie2004-03-181-1/+3
| | | | | | | fixed 32bit v.s. 64bit long int arithematics git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@8 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 1433ollie2004-03-171-40/+5
| | | | | | | | | removed spd_dump.c, it has nothing to do with flashing flash parts. use standard product ID exit method for w49f002u move udelay stuff into its own file git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@7 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
* Original v2 revision: 1422dhendricks2004-03-171-0/+224
Added support for SST49LF040 git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@5 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1