X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Farm_nandio.c;h=63eb0413a73b939a0cbef65e5fe6baa08f698919;hb=ef746e27c55c14b7a4f6381c490e5c175e409c0b;hp=8087221abded469e03a83b93632fa1bcc2889dbd;hpb=aa46b1537792688510717cbbc215da160c2cb665;p=openocd.git diff --git a/src/flash/arm_nandio.c b/src/flash/arm_nandio.c index 8087221abd..63eb0413a7 100644 --- a/src/flash/arm_nandio.c +++ b/src/flash/arm_nandio.c @@ -41,10 +41,10 @@ */ int arm_nandwrite(struct arm_nand_data *nand, uint8_t *data, int size) { - target_t *target = nand->target; - armv4_5_algorithm_t algo; - armv4_5_common_t *armv4_5 = target->arch_info; - reg_param_t reg_params[3]; + struct target *target = nand->target; + struct armv4_5_algorithm algo; + struct arm *armv4_5 = target->arch_info; + struct reg_param reg_params[3]; uint32_t target_buf; uint32_t exit = 0; int retval;