riscv-openocd/src/flash
Antonio Borneo a69cbf0f74 NOR/CFI: use bus_width for memory access on flash ID.
NOR flash structure requires each access to be bus_width wide.
Fix read of flash ID accordingly to rule above.
Add case (chip_width == 4), allowed by CFI spec and coherent
with current value of CFI_MAX_CHIP_WIDTH but currently not
used by any target.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2010-05-16 13:39:47 +02:00
..
nand NAND: fix first and last handling in nand_build_bbt 2010-05-14 13:23:01 +02:00
nor NOR/CFI: use bus_width for memory access on flash ID. 2010-05-16 13:39:47 +02:00
ocl/at91sam7x change #include "ocl.h" to <flash/nor/ocl.h> 2009-12-03 04:24:49 -08:00
Makefile.am build: add build/src to include path 2009-12-08 10:16:10 +01:00
common.c change #include "log.h" to <helper/log.h> 2009-12-03 04:22:52 -08:00
common.h split NOR and NAND flash headers 2009-12-04 16:56:23 -08:00
mflash.c MFLASH: review scope of functions 2010-04-10 20:11:40 +08:00
mflash.h MFLASH: review scope of functions 2010-04-10 20:11:40 +08:00
startup.tcl add 'flash list', rewrite 'flash banks' 2009-12-06 21:39:35 -08:00