]> git.sur5r.net Git - openocd/blobdiff - src/flash/nor/lpc288x.c
FLASH/NOR: Remove useless file lpc288x.h
[openocd] / src / flash / nor / lpc288x.c
index b6d207e835a2661d24968e62aefb09e2c6b746ff..d8cecc0b10d1a1fa7e18b9ab76f35234e06f9bdc 100644 (file)
@@ -32,7 +32,6 @@
 #endif
 
 #include "imp.h"
-#include "lpc288x.h"
 #include <helper/binarybuffer.h>
 
 
 /* F_CLK_TIME */
 #define FCT_CLK_DIV_MASK    0x0FFF
 
+struct lpc288x_flash_bank
+{
+       uint32_t working_area;
+       uint32_t working_area_size;
+
+       /* chip id register */
+       uint32_t cidr;
+       char * target_name;
+       uint32_t cclk;
+
+       uint32_t sector_size_break;
+};
+
 static uint32_t lpc288x_wait_status_busy(struct flash_bank *bank, int timeout);
 static void lpc288x_load_timer(int erase, struct target *target);
 static void lpc288x_set_flash_clk(struct flash_bank *bank);