diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-19 15:08:50 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-23 11:29:52 +0000 |
commit | 9db465810a43e934f4f3c267ac279140c7c156dd (patch) | |
tree | 8dbe3748590af2872ffec9e1cacf769f0c9c5ad0 /src/target/armv7a.c | |
parent | 23ece85f33bb327ab50ce8573c2c46faa4ad1529 (diff) | |
download | riscv-openocd-9db465810a43e934f4f3c267ac279140c7c156dd.zip riscv-openocd-9db465810a43e934f4f3c267ac279140c7c156dd.tar.gz riscv-openocd-9db465810a43e934f4f3c267ac279140c7c156dd.tar.bz2 |
flash: print bank usage on failure
This makes use of the newly introduced usage field in the flash bank
structure.
Also remove the assertion if usage field is null and
lets print a DEBUG_LOG message instead.
Change-Id: I384bf0e2c444fcc99deef73aec9ef01149a91c76
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/391
Tested-by: jenkins
Diffstat (limited to 'src/target/armv7a.c')
0 files changed, 0 insertions, 0 deletions