diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-12 09:28:56 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2009-10-12 09:28:56 +0200 |
commit | 026559068d889660ad4545ee28b6561c82c39aea (patch) | |
tree | 7e318d1698b5eac365bc512a9d0027cc70b4d11e /src/flash/mx3_nand.c | |
parent | c8d935ab7cbffb8b72e52bc39bfe85bb97dce0ac (diff) | |
parent | 2d924a59db74f12d210e26abfab629cbcfbfc014 (diff) | |
download | openocd_libswd-026559068d889660ad4545ee28b6561c82c39aea.tar.gz openocd_libswd-026559068d889660ad4545ee28b6561c82c39aea.tar.bz2 openocd_libswd-026559068d889660ad4545ee28b6561c82c39aea.tar.xz openocd_libswd-026559068d889660ad4545ee28b6561c82c39aea.zip |
Merge commit 'origin/master'
Diffstat (limited to 'src/flash/mx3_nand.c')
-rw-r--r-- | src/flash/mx3_nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/mx3_nand.c b/src/flash/mx3_nand.c index 20ab91e8..a5df0033 100644 --- a/src/flash/mx3_nand.c +++ b/src/flash/mx3_nand.c @@ -40,9 +40,9 @@ get_next_halfword_from_sram_buffer() not tested static const char target_not_halted_err_msg[] = "target must be halted to use mx3 NAND flash controller"; static const char data_block_size_err_msg[] = - "minimal granularity is one half-word, %d is incorrect"; + "minimal granularity is one half-word, %" PRId32 " is incorrect"; static const char sram_buffer_bounds_err_msg[] = - "trying to access out of SRAM buffer bound (addr=0x%x)"; + "trying to access out of SRAM buffer bound (addr=0x%" PRIx32 ")"; static const char get_status_register_err_msg[] = "can't get NAND status"; static uint32_t in_sram_address; unsigned char sign_of_sequental_byte_read; |