History log of /rk3399_rockchip-uboot/drivers/mtd/cfi_flash.c (Results 201 – 225 of 261)
Revision Date Author Comments
# 81c4dc39 11-Aug-2008 Stefan Roese <sr@denx.de>

Merge branch 'master' of /home/stefan/git/u-boot/u-boot


# 2a112b23 08-Aug-2008 Wolfgang Denk <wd@denx.de>

CFI: allow for dynamically determined flash sizes and addresses

The CFI driver allowed only for static initializers in the
CFG_FLASH_BANKS_LIST definition, i. e. it did not allow to map
several flas

CFI: allow for dynamically determined flash sizes and addresses

The CFI driver allowed only for static initializers in the
CFG_FLASH_BANKS_LIST definition, i. e. it did not allow to map
several flash banks contiguously if the bank sizes were not known in
advance, which kind of violates U-Boot's design philosophy.

(will be used for example by the TQM8xxL boards)

Signed-off-by: Wolfgang Denk <wd@denx.de>

show more ...


# bc9019e1 31-Jul-2008 Rafael Campos <rafael.campos@hanscan.com>

cfi-flash: Added support to flash_real_protect for Atmel flash devices

Some of the flash memories produced by ATMEL start in read-only mode.
We need to unprotect it. This patch allows the AT49BV6416

cfi-flash: Added support to flash_real_protect for Atmel flash devices

Some of the flash memories produced by ATMEL start in read-only mode.
We need to unprotect it. This patch allows the AT49BV6416 to work with
cfi_flash memories. Tested in the at91rm9200ek board.

Signed-off-by: Rafael Campos Las Heras <rafael.campos@hanscan.com>
Signed-off-by: Stefan Roese <sr@denx.de>

show more ...


# f2302d44 06-Aug-2008 Stefan Roese <sr@denx.de>

Fix merge problems

Signed-off-by: Stefan Roese <sr@denx.de>


# ab06bddb 21-Jul-2008 Markus Klotzbuecher <mk@denx.de>

Merge branch 'master' of git://www.denx.de/git/u-boot


# 340ccb26 16-Jul-2008 Sebastian Siewior <bigeasy@linutronix.de>

cfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA

This got broken by commits 93c56f212c
[cfi_flash: support of long cmd in U-boot.]

That command needs to be in little endian format o

cfi_flash: fix flash on BE machines with CFG_WRITE_SWAPPED_DATA

This got broken by commits 93c56f212c
[cfi_flash: support of long cmd in U-boot.]

That command needs to be in little endian format on BE machines
with CFG_WRITE_SWAPPED_DATA. Without this patch, the command 0xf0
gets saved on stack as 0x00 00 00 f0 and 0x00 gets written into
the cmdbuf in case portwidth = chipwidth = 8bit.

Cc: Alexey Korolev <akorolev@infradead.org>
Cc: Vasiliy Leonenko <vasiliy.leonenko@mail.ru>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>

show more ...


# 42246dac 17-Jul-2008 Stefan Roese <sr@denx.de>

Merge branch 'master' of /home/stefan/git/u-boot/u-boot into next


# 7288f972 15-Jul-2008 Sebastian Siewior <bigeasy@linutronix.de>

cfi_flash: make the command u32 only

This got changed by commit 93c56f212c
[cfi_flash: support of long cmd in U-boot.]

Long is the wrong type because it will behave differently on 64bit
machines in

cfi_flash: make the command u32 only

This got changed by commit 93c56f212c
[cfi_flash: support of long cmd in U-boot.]

Long is the wrong type because it will behave differently on 64bit
machines in a way that is probably not expected. u32 should be
enough.

Cc: Alexey Korolev <akorolev@infradead.org>
Cc: Vasiliy Leonenko <vasiliy.leonenko@mail.ru>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>

show more ...


# 859f2435 10-Jul-2008 Jon Loeliger <jdl@freescale.com>

Merge commit 'wd/master'


# 794a5924 10-Jul-2008 Markus Klotzbuecher <mk@denx.de>

Merge branch 'master' of git://www.denx.de/git/u-boot


# 914f58c5 19-Jun-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash


# fb8c061e 16-Jun-2008 Stefan Roese <sr@denx.de>

cfi-flash: Fix problem in flash_toggle(), busy was not detected reliably

This patch simplifies flash_toggle() (AMD commandset), which is used to
detect if a FLASH device is still busy with erase/pro

cfi-flash: Fix problem in flash_toggle(), busy was not detected reliably

This patch simplifies flash_toggle() (AMD commandset), which is used to
detect if a FLASH device is still busy with erase/program operations. On
800MHz Canyonlands/Glacier boards (460EX/GT) the current implementation
did not detect the busy state reliably, resulting in non erased sectors
etc. This patch now simplifies this function by "just" comparing the
complete data-word instead of ANDing it with the command-word (0x40)
before the compatison. It is done the same way in the Linux implementation
chip_ready() in cfi_cmdset_0002.c.

Signed-off-by: Stefan Roese <sr@denx.de>

show more ...


# 1859e42f 11-Jun-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash


# e44f3ea4 09-Jun-2008 Ben Warren <biggerbadderben@gmail.com>

Merge branch 'master' of git://git.denx.de/u-boot


# 1a247ba7 06-Jun-2008 Jon Loeliger <jdl@freescale.com>

Merge commit 'wd/master'


# 8155efbd 04-Jun-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of ssh://mercury/home/wd/git/u-boot/master


# 9c048b52 07-May-2008 Vasiliy Leoenenko <vasiliy.leonenko@mail.ru>

cfi_flash: enable M18 flash chips family support.

Added new command set ID. Buffered write command processing is changed
in order to support M18 flash chips family.

Signed-off-by: Alexey Korolev <a

cfi_flash: enable M18 flash chips family support.

Added new command set ID. Buffered write command processing is changed
in order to support M18 flash chips family.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: Vasiliy Leonenko <vasiliy.leonenko@mail.ru>

show more ...


# 93c56f21 07-May-2008 Vasiliy Leoenenko <vasiliy.leonenko@mail.ru>

cfi_flash: support of long cmd in U-boot.

Some NOR flash chips needs support of commands with length grether than max
value size of uchar. For example all M18 family chips use 0x1ff command in
buffe

cfi_flash: support of long cmd in U-boot.

Some NOR flash chips needs support of commands with length grether than max
value size of uchar. For example all M18 family chips use 0x1ff command in
buffered write mode as value of program loops count.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: Vasiliy Leonenko <vasiliy.leonenko@mail.ru>

show more ...


# f979690e 15-May-2008 Kumar Gala <galak@kernel.crashing.org>

Fix warnings from gcc-4.3.0 build on a ppc host

* The cfi_flash.c memset fix actual allows the board to boot so there is
a bit more going on here than just resolving warnings associated with
uni

Fix warnings from gcc-4.3.0 build on a ppc host

* The cfi_flash.c memset fix actual allows the board to boot so there is
a bit more going on here than just resolving warnings associated with
uninitialized variables.

* include/asm/bitops.h:302: warning: '__swab32p' is static but used in
inline function 'ext2_find_next_zero_bit' which is not static

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

show more ...


# fe06d43b 25-Apr-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash


# c63ad632 18-Apr-2008 Matthias Fuchs <matthias.fuchs@esd-electronics.com>

cfi-flash: Add CFG_FLASH_AUTOPROTECT_LIST

This patch adds a configurable flash auto protection list that can be used
to make U-Boot protect flash regions in flash_init().

The idea has been discusse

cfi-flash: Add CFG_FLASH_AUTOPROTECT_LIST

This patch adds a configurable flash auto protection list that can be used
to make U-Boot protect flash regions in flash_init().

The idea has been discussed on the u-boot mailing list starting
on Nov 18th, 2007.

Even this patch brings a new feature it is used as a bugfix for 4xx
platforms where flash_init() does not completely protect the
monitor's flash range in all situations.

U-Boot protects the flash range from CFG_MONITOR_BASE to
(CFG_MONITOR_BASE + monitor_flash_len - 1) by default. This does not
include the reset vector at 0xfffffffc.

Example:
#define CFG_FLASH_AUTOPROTECT_LIST {{0xfff80000, 0x80000}}

This config option will auto protect the last 512k of flash that
contains the bootloader on board like APC405 and PMC405.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>

show more ...


# 8c8428a5 13-Apr-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of /home/wd/git/u-boot/custodians


# d6f98e76 13-Apr-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash


# 96ef831f 03-Apr-2008 Guennadi Liakhovetski <lg@denx.de>

cfi_flash: Support buffered writes on non-standard Spansion NOR flash

Some NOR flash chip from Spansion, for example, the s29ws-n MirrorBit
series require different addresses for buffered write comm

cfi_flash: Support buffered writes on non-standard Spansion NOR flash

Some NOR flash chip from Spansion, for example, the s29ws-n MirrorBit
series require different addresses for buffered write commands. Define a
configuration option to support buffered writes on those chips. A more
elegant solution would be to automatically detect those chips by parsing
their CFI records, but that would require introduction of a fixup table
into the cfi_flash driver.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>

show more ...


# 23c5189e 07-Apr-2008 Wolfgang Denk <wd@denx.de>

Merge branch 'master' of git://www.denx.de/git/u-boot-cfi-flash


1234567891011