]> git.sur5r.net Git - openocd/commit
cfi: support for 16-bit flash with reversed endianness
authorEsben Haabendal <esben@haabendal.dk>
Fri, 23 Oct 2015 08:12:59 +0000 (10:12 +0200)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 13 Feb 2016 23:09:40 +0000 (23:09 +0000)
commit32b67ee3c9ec10f6ef04ff3deb327a40665ed8b3
treef4f8c135d6f6c84e6bc3626fdf860adaf706430d
parentd5a2c0c10ec7d3958659bd3898dc6d99249f5c8d
cfi: support for 16-bit flash with reversed endianness

This is for targets where flash controller has reverse endianness
compared to target.  For these, the 'bus_swap' parameter can be given to the
CFI driver, which will cause command CFI commands to be written with
bytes swapped.  This is only for x16 CFI flash.

Change-Id: I698b768e92e65d160232e90b0e81a824e3c81a46
Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Reviewed-on: http://openocd.zylin.com/3041
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
doc/openocd.texi
src/flash/nor/cfi.c
src/flash/nor/cfi.h