summaryrefslogtreecommitdiff
path: root/drivers/mtd/jedec_flash.c
Commit message (Collapse)AuthorAgeLines
* add STM29F400BB to table of supported legacy flashsDavid Müller (ELSOFT AG)2012-02-09-0/+20
| | | | | Signed-off-by: David Mueller <d.mueller@elsoft.ch> Signed-off-by: Stefan Roese <sr@denx.de>
* GCC4.6: Squash warning in jedec_flash.cMarek Vasut2011-10-27-2/+3
| | | | | | | | | | | | | | | | | | jedec_flash.c: In function 'fill_info': jedec_flash.c:393: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'ulong' jedec_flash.c:393: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'ulong' jedec_flash.c:402: warning: format '%d' expects type 'int', but argument 2 has type 'ulong' jedec_flash.c:402: warning: format '%d' expects type 'int', but argument 3 has type 'ulong' Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Scott Wood <scottwood@freescale.com>
* add AM29F400BB to table of supported legacy flashsDavid Müller2011-01-11-0/+18
| | | | | Signed-off-by: David Mueller <d.mueller@elsoft.ch> Signed-off-by: Stefan Roese <sr@denx.de>
* Support up to 7 banks for ids as specified in JEDEC JEP106ZNiklaus Giger2009-08-26-0/+67
| | | | | | | | see http://www.jedec.org/download/search/jep106Z.pdf Add some second source legacy flash chips 256x8. Signed-off-by: Niklaus Giger <niklaus.giger@member.fsf.org> Signed-off-by: Stefan Roese <sr@denx.de>
* jedec_flash: Only use manufacturer defines from common flash.hStefan Roese2009-02-05-10/+6
| | | | | | | | | | | | | This patch removes the double defined manufacturer defines from jedec_flash.c. Since the common defines in flash.h are 32bit we now need the (16) cast. This patch also removes the compilation warning (e.g. seen on hcu5): ./MAKEALL hcu5 Configuring for hcu5 board... jedec_flash.c:219: warning: large integer implicitly truncated to unsigned type Signed-off-by: Stefan Roese <sr@denx.de>
* Added legacy flash ST Micro M29W040BNiklaus Giger2009-01-24-0/+14
|
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-4/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* cfi-flash: Add definition for the AM29LV800BB AMD NOR-flashGuennadi Liakhovetski2008-08-06-0/+17
| | | | | Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
* jedec_flash: Fix AM29DL800BB device IDStefan Roese2008-07-08-1/+1
| | | | | | | | As pointed out by Jerry Hicks, this patch corrects the device ID of the Spansion AM29DL800BB NOR device. Verified against latest Spansion datasheet (rev C4 from Dezember 2006). Signed-off-by: Stefan Roese <sr@denx.de>
* MTD/CFI: Add support for 16bit legacy AMD flashTor Krill2008-03-28-0/+19
| | | | | | | | Add entry for 512Kx16 AMD flash to jedec_table. Read out 16bit device id if chipwidth is 16bit. Fixed coding style after Stefans feedback Signed-off-by: Tor Krill <tor@excito.com>
* Remove duplicate defines for ARRAY_SIZEKumar Gala2008-02-14-4/+0
| | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* CFI: Coding style cleanupStefan Roese2007-12-08-5/+4
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* CFI: support JEDEC flash roms in CFI-flash frameworkMichael Schwingen2007-12-08-0/+312
The following patch adds support for non-CFI flash ROMS, by hooking into the CFI flash code and using most of its code, as recently discussed here in the thread "Mixing CFI and non-CFI flashs". Signed-off-by: Michael Schwingen <michael@schwingen.org> Signed-off-by: Stefan Roese <sr@denx.de>