#define FLASH_H
#include <flash/common.h>
-#include <target/target.h>
struct image;
#include "config.h"
#endif
-#include <flash/flash.h>
-#include <target/armv4_5.h>
+#include "imp.h"
#include <helper/binarybuffer.h>
#include <helper/time_support.h>
#include <target/algorithm.h>
+#include <target/armv4_5.h>
static int aduc702x_build_sector_list(struct flash_bank *bank);
#endif
-#include <stdio.h>
-#include <string.h>
-#include <stddef.h>
-#include <helper/types.h>
-#include <flash/flash.h>
-#include <helper/membuf.h>
+#include "imp.h"
#include "at91sam3.h"
+#include <helper/membuf.h>
#include <helper/time_support.h>
#define REG_NAME_WIDTH (12)
#include "config.h"
#endif
+#include "imp.h"
#include "at91sam7.h"
#include <helper/binarybuffer.h>
#include "config.h"
#endif
+#include "imp.h"
#include "avrf.h"
#include <target/avrt.h>
-#include <flash/flash.h>
/* AVR_JTAG_Instructions */
#include "config.h"
#endif
+#include "imp.h"
#include "cfi.h"
#include "non_cfi.h"
#include <target/armv4_5.h>
#include "config.h"
#endif
-#include <flash/flash.h>
+#include "imp.h"
#include <target/embeddedice.h>
-#include <target/image.h>
#include <target/algorithm.h>
+#include <target/image.h>
#if 0
#include "config.h"
#endif
-#include <flash/flash.h>
+#include "imp.h"
#include <target/image.h>
#include "hello.h"
// this is an internal header
#include "core.h"
+// common flash internals
+#include <flash/common.h>
+// almost all drivers will need this file
+#include <target/target.h>
/**
* Adds a new NOR bank to the global list of banks.
#include "config.h"
#endif
+#include "imp.h"
#include "lpc2000.h"
-#include <target/armv7m.h>
#include <helper/binarybuffer.h>
#include <target/algorithm.h>
+#include <target/armv7m.h>
/* flash programming support for NXP LPC17xx and LPC2xxx devices
#include "config.h"
#endif
+#include "imp.h"
#include "lpc288x.h"
#include <helper/binarybuffer.h>
#endif
-#include <target/image.h>
-#include <flash/flash.h>
+#include "imp.h"
#include <helper/binarybuffer.h>
-#include <target/armv4_5.h>
#include <target/algorithm.h>
+#include <target/armv4_5.h>
+#include <target/image.h>
/* 1024 bytes */
#include "config.h"
#endif
+#include "imp.h"
#include "ocl.h"
-#include <flash/flash.h>
#include <target/embeddedice.h>
#include "config.h"
#endif
+#include "imp.h"
#include "pic32mx.h"
#include <target/mips32.h>
#include "config.h"
#endif
+#include "imp.h"
#include "stellaris.h"
-#include <target/armv7m.h>
#include <helper/binarybuffer.h>
#include <target/algorithm.h>
+#include <target/armv7m.h>
#define DID0_VER(did0) ((did0 >> 28)&0x07)
#include "config.h"
#endif
+#include "imp.h"
#include "stm32x.h"
-#include <target/armv7m.h>
#include <helper/binarybuffer.h>
#include <target/algorithm.h>
+#include <target/armv7m.h>
static int stm32x_mass_erase(struct flash_bank *bank);
#include "config.h"
#endif
+#include "imp.h"
#include "str7x.h"
#include <target/armv4_5.h>
#include <helper/binarybuffer.h>
#include "config.h"
#endif
+#include "imp.h"
#include "str9x.h"
#include <target/arm966e.h>
#include <target/algorithm.h>
#include "config.h"
#endif
+#include "imp.h"
#include "str9xpec.h"
#include <target/arm7_9_common.h>
#endif
#include "tms470.h"
+#include "imp.h"
/* ----------------------------------------------------------------------
#define GDB_SERVER_H
struct image;
+#include <target/target.h>
#define GDB_BUFFER_SIZE 16384