summaryrefslogtreecommitdiff
path: root/src/flash/nor/ocl.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-14 16:32:30 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-04-15 19:19:46 +0200
commitc9e58238c3b1ae181a7d54bc5255ef98771493c2 (patch)
tree0bf1c99958bc2bd3d73c3bcd6ca17eef5936ef40 /src/flash/nor/ocl.c
parentee139164114460d5c4c1a720e28740a7dceca712 (diff)
downloadopenocd_libswd-c9e58238c3b1ae181a7d54bc5255ef98771493c2.tar.gz
openocd_libswd-c9e58238c3b1ae181a7d54bc5255ef98771493c2.tar.bz2
openocd_libswd-c9e58238c3b1ae181a7d54bc5255ef98771493c2.tar.xz
openocd_libswd-c9e58238c3b1ae181a7d54bc5255ef98771493c2.zip
NOR/CFI: fix order of arguments check
Syntax of "flash bank" command requires: - chip_width as CMD_ARGV[3] - bus_width as CMD_ARGV[4] Actual code swaps the arguments. Bug has no run time impact since wrong variables are only used to check value and both are checked against same constraint. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/ocl.c')
0 files changed, 0 insertions, 0 deletions