- 21 Sep, 2011 1 commit
-
-
Vadim Bendebury authored
On some systems, we get a warning when %lu is used with size_t's, so use the correct format string. Signed-off-by:
Vadim Bendebury <vbendeb@chromium.org> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 26 Jul, 2011 2 commits
-
-
Mike Frysinger authored
Once we add a new page_size field for write lengths, we can unify the write methods for most of the spi flash drivers. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Every spi flash uses the same write enable command, so unify this in the common code. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 01 Jun, 2011 1 commit
-
-
Patrick Sestier authored
The status polling can take a while, so make sure we kick the watchdog after each successful poll. Signed-off-by:
Patrick Sestier <psestier@mircom.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 12 Apr, 2011 2 commits
-
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Richard Retanubun authored
This patch adds a new member to struct spi_flash (u16 sector_size) and updates the spi flash drivers to start populating it. This parameter can be used by spi flash commands that need to round up units of operation to the flash's sector_size. Having this number in one place also allows duplicated code to be further collapsed into one common location (such as erase parameter and the detected message). Signed-off-by:
Richard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 11 Apr, 2011 4 commits
-
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
All of the spi flash drivers implement the status register polling for detecting the device ready state, so unify them all in a new helper function -- spi_flash_wait_ready. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
These functions largely do the same exact thing, so unify them all into one basic function. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 17 Dec, 2010 1 commit
-
-
Chong Huang authored
Signed-off-by:
Chong Huang <chuang@ucrobotics.com> Signed-off-by:
Haitao Zhang <minipanda@linuxrobot.org> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 10 Nov, 2010 1 commit
-
-
Reinhard Meyer authored
Supports most types that support Read-Id and the FM25H20. Signed-off-by:
Reinhard Meyer <u-boot@emk-elektronik.de> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 13 Oct, 2010 1 commit
-
-
Reinhard Meyer authored
This allows for arbitrarily long manufacturer ids following the JEDEC standard of 0x7f continuation bytes. It also makes adding new entries easier as it's just one element in an array. The downside is that it increases code size a bit, but we're talking ~50 bytes. Signed-off-by:
Reinhard Meyer <u-boot@emk-elektronik.de> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 01 Jul, 2010 2 commits
-
-
Mike Frysinger authored
At the moment, the default SPI flash subsystem is quite terse. Errors and successes both result in a generic message. So move the useful errors and useful successes to printf output by default. While we're here, also convert the messages to use print_size(). Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Thomas Chou authored
Some old STMicro parts do not support JEDEC ID (0x9f). This patch uses RES (0xab) to get Electronic ID and translates it to JEDEC ID. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
- 22 Nov, 2009 1 commit
-
-
Jason McMullan authored
Signed-off-by:
Jason McMullan <jason.mcmullan@gmail.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 24 Oct, 2009 1 commit
-
-
Mike Frysinger authored
Some of the new spi flash files were missing explicit license lines. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> CC: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- 12 Jun, 2009 1 commit
-
-
Prafulla Wadaskar authored
Added macronix SF driver for MTD framework MX25L12805D is supported and tested TBD: sector erase implementation, other deivces support Signed-off-by:
Prafulla Wadaskar <prafulla@marvell.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- 02 Apr, 2009 3 commits
-
-
Mike Frysinger authored
Some SPI flash drivers like to have extended id information available (like the spansion flash), so rather than making it re-issue the ID cmd to get at the last 2 bytes, have the common code read 5 bytes rather than just 3. This also matches the Linux behavior where it always reads 5 id bytes from all flashes. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com> CC: Mingkai Hu <Mingkai.hu@freescale.com>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Mike Frysinger authored
Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
- 09 Sep, 2008 1 commit
-
-
TsiChung Liew authored
Add MTD SPI Flash support for M25P16, M25P20, M25P32, M25P40, M25P64, M25P80, M25P128. Signed-off-by:
Jason McMullan <mcmullan@netapp.com> Signed-off-by:
TsiChung Liew <Tsi-Chung.Liew@freescale.com>
-
- 03 Jun, 2008 1 commit
-
-
Haavard Skinnemoen authored
This adds a new SPI flash subsystem. Currently, only AT45 DataFlash in non-power-of-two mode is supported, but some preliminary support for other flash types is in place as well. Signed-off-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-