diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-04 14:06:20 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-04 16:56:23 -0800 |
commit | d9dc604a4d790f557a7ba502babdabffa27eaa17 (patch) | |
tree | 2df028ecfa72a89775956202975c890493f83714 /src/flash/nor/stm32x.c | |
parent | 1527272fb21beee7839335ea5587e879163d2ed1 (diff) |
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.c | 3 |
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); |