X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Faduc702x.c;h=211b54e7598485bdff00d15393f5fce8bead94bb;hb=e40f6380638ed3f7780b78ceb1411f8b7059a073;hp=de362cb80955ad8991090b5fef6cbdf95f9ee173;hpb=e51b9a4ac7afa0fde11690268ba88861e1000f60;p=openocd.git diff --git a/src/flash/nor/aduc702x.c b/src/flash/nor/aduc702x.c index de362cb809..211b54e759 100644 --- a/src/flash/nor/aduc702x.c +++ b/src/flash/nor/aduc702x.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include static int aduc702x_build_sector_list(struct flash_bank *bank); @@ -165,7 +165,7 @@ static int aduc702x_write_block(struct flash_bank *bank, uint8_t *buffer, uint32 struct working_area *source; uint32_t address = bank->base + offset; struct reg_param reg_params[6]; - struct armv4_5_algorithm armv4_5_info; + struct arm_algorithm armv4_5_info; int retval = ERROR_OK; if (((count%2)!=0)||((offset%2)!=0))