summaryrefslogtreecommitdiff
path: root/src/flash/nor/stm32x.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-04 14:06:20 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-04 16:56:23 -0800
commitd9dc604a4d790f557a7ba502babdabffa27eaa17 (patch)
tree2df028ecfa72a89775956202975c890493f83714 /src/flash/nor/stm32x.c
parent1527272fb21beee7839335ea5587e879163d2ed1 (diff)
downloadopenocd+libswd-d9dc604a4d790f557a7ba502babdabffa27eaa17.tar.gz
openocd+libswd-d9dc604a4d790f557a7ba502babdabffa27eaa17.tar.bz2
openocd+libswd-d9dc604a4d790f557a7ba502babdabffa27eaa17.tar.xz
openocd+libswd-d9dc604a4d790f557a7ba502babdabffa27eaa17.zip
remove target.h from flash.h
The flash.h header does not require the target.h header file, but its implementation source files do. Move it to flash/nor/imp.h.
Diffstat (limited to 'src/flash/nor/stm32x.c')
-rw-r--r--src/flash/nor/stm32x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c
index 37925470..9e761f91 100644
--- a/src/flash/nor/stm32x.c
+++ b/src/flash/nor/stm32x.c
@@ -24,10 +24,11 @@
#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);