| #
3f96ee33 |
| 11-Sep-2011 |
Vadim Bendebury <vbendeb@chromium.org> |
sf: fix debug format string warning
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-
sf: fix debug format string warning
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>
show more ...
|
| #
d4aa5009 |
| 25-Apr-2011 |
Mike Frysinger <vapier@gentoo.org> |
sf: unify write funcs
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>
|
| #
2744a4e6 |
| 23-Apr-2011 |
Mike Frysinger <vapier@gentoo.org> |
sf: unify write enable commands
Every spi flash uses the same write enable command, so unify this in the common code.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| #
bd0d19cc |
| 15-Apr-2011 |
Patrick Sestier <psestier@mircom.com> |
sf: kick watchdog when polling
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:
sf: kick watchdog when polling
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>
show more ...
|
| #
f16b608a |
| 13-Apr-2011 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'sf' of git://git.denx.de/u-boot-blackfin
|
| #
493c3607 |
| 12-Apr-2011 |
Mike Frysinger <vapier@gentoo.org> |
sf: use print_size() for sector_size output
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| #
4e6a5158 |
| 16-Feb-2011 |
Richard Retanubun <RichardRetanubun@ruggedcom.com> |
sf: add struct spi_flash.sector_size parameter
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 use
sf: add struct spi_flash.sector_size parameter
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>
show more ...
|
| #
a4c3b40b |
| 10-Jan-2011 |
Mike Frysinger <vapier@gentoo.org> |
sf: unify read functions
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| #
e7b44edd |
| 10-Jan-2011 |
Mike Frysinger <vapier@gentoo.org> |
sf: unify erase functions
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| #
6163045b |
| 10-Jan-2011 |
Mike Frysinger <vapier@gentoo.org> |
sf: unify status polling for ready bit
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_flas
sf: unify status polling for ready bit
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>
show more ...
|
| #
000044d8 |
| 10-Jan-2011 |
Mike Frysinger <vapier@gentoo.org> |
sf: unify read/write helpers
These functions largely do the same exact thing, so unify them all into one basic function.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| #
cdc51c29 |
| 22-Dec-2010 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'next' of ../next
|
| #
d1d90656 |
| 30-Nov-2010 |
Chong Huang <chuang@ucrobotics.com> |
sf: new driver for EON devices
Signed-off-by: Chong Huang <chuang@ucrobotics.com> Signed-off-by: Haitao Zhang <minipanda@linuxrobot.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| #
be250833 |
| 12-Nov-2010 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of /home/wd/git/u-boot/custodians
|
| #
e0987e25 |
| 05-Oct-2010 |
Reinhard Meyer <u-boot@emk-elektronik.de> |
sf: ramtron: new spi fram driver
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>
|
| #
da61f6c4 |
| 13-Oct-2010 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'sf' of git://git.denx.de/u-boot-blackfin
|
| #
0d3fe2b1 |
| 05-Oct-2010 |
Reinhard Meyer <u-boot@emk-elektronik.de> |
sf: turn probe switch into a lookup table
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
sf: turn probe switch into a lookup table
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>
show more ...
|
| #
2271d3dd |
| 06-Jul-2010 |
Minkyu Kang <mk7.kang@samsung.com> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
f12d4cb4 |
| 04-Jul-2010 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'sf' of git://git.denx.de/u-boot-blackfin
|
| #
b376bbb4 |
| 29-Apr-2010 |
Mike Frysinger <vapier@gentoo.org> |
sf: move useful messages from debug to printf
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 us
sf: move useful messages from debug to printf
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>
show more ...
|
| #
12c2e3bb |
| 30-Apr-2010 |
Thomas Chou <thomas@wytron.com.tw> |
spi_flash: support old STMicro parts with RES
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: Th
spi_flash: support old STMicro parts with RES
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>
show more ...
|
| #
e598dfc2 |
| 15-Jan-2010 |
Minkyu Kang <mk7.kang@samsung.com> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Conflicts:
cpu/arm_cortexa8/s5pc1xx/cache.c include/asm-arm/arch-s5pc1xx/sys_proto.h include/sja1000.h
Signed-off-by: Minkyu Kang <mk7.kang
Merge branch 'master' of git://git.denx.de/u-boot-arm
Conflicts:
cpu/arm_cortexa8/s5pc1xx/cache.c include/asm-arm/arch-s5pc1xx/sys_proto.h include/sja1000.h
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
show more ...
|
| #
2a49bf31 |
| 05-Dec-2009 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' into next
Conflicts: board/esd/plu405/plu405.c drivers/rtc/ftrtc010.c
Signed-off-by: Wolfgang Denk <wd@denx.de>
|
| #
d394a779 |
| 09-Oct-2009 |
Jason McMullan <mcmullan@netapp.com> |
sf: new driver for Winbond W25X16/32/64 devices
Signed-off-by: Jason McMullan <jason.mcmullan@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
| #
b6d8992c |
| 09-Nov-2009 |
Minkyu Kang <mk7.kang@samsung.com> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
|