X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnand%2Fmx3.c;h=7d9cc8b93255c10002590ca1103a189ddebf4fa4;hb=c936cb334b9e60c3326675912c97faafb379d3ed;hp=21577a6e9334ff8841abf078359ffcfef1a56847;hpb=e1ec02bb055fa356b058dddc0a15710e0fdc9870;p=openocd.git diff --git a/src/flash/nand/mx3.c b/src/flash/nand/mx3.c index 21577a6e93..7d9cc8b932 100644 --- a/src/flash/nand/mx3.c +++ b/src/flash/nand/mx3.c @@ -35,7 +35,9 @@ get_next_halfword_from_sram_buffer() not tested #include "config.h" #endif +#include "imp.h" #include "mx3.h" +#include static const char target_not_halted_err_msg[] = "target must be halted to use mx3 NAND flash controller"; @@ -45,7 +47,7 @@ static const char sram_buffer_bounds_err_msg[] = "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; +static unsigned char sign_of_sequental_byte_read; static int test_iomux_settings (struct target * target, uint32_t value, uint32_t mask, const char *text);