]> git.sur5r.net Git - openocd/blobdiff - src/flash/nor/lpc2900.c
stellaris: remove needless code
[openocd] / src / flash / nor / lpc2900.c
index 1ef759e2b05bc5f7659f2831719e93c800a3e93b..13dd731c786e1777f09d981e0d8d1cc8915d6255 100644 (file)
@@ -26,7 +26,7 @@
 #include "imp.h"
 #include <helper/binarybuffer.h>
 #include <target/algorithm.h>
-#include <target/armv4_5.h>
+#include <target/arm.h>
 #include <target/image.h>
 
 
@@ -1302,7 +1302,7 @@ static int lpc2900_write(struct flash_bank *bank, uint8_t *buffer,
        if( warea )
        {
                struct reg_param reg_params[5];
-               struct armv4_5_algorithm armv4_5_info;
+               struct arm_algorithm armv4_5_info;
 
                /* We can use target mode. Download the algorithm. */
                retval = target_write_buffer( target,