diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:14:35 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:24:40 -0800 |
commit | 2958665f6b1239705a7dcc2b275810c394023f0f (patch) | |
tree | 6fd9126f123dea7930ecdf9723bc67f41769e403 /src/flash/nor | |
parent | 2641fd9576ae5e3c2856de9a06176b24d05149ac (diff) | |
download | riscv-openocd-2958665f6b1239705a7dcc2b275810c394023f0f.zip riscv-openocd-2958665f6b1239705a7dcc2b275810c394023f0f.tar.gz riscv-openocd-2958665f6b1239705a7dcc2b275810c394023f0f.tar.bz2 |
change #include "algorithm.h" to <target/algorithm.h>
Changes from the flat namespace to heirarchical one. Instead of writing:
#include "algorithm.h"
the following form should be used.
#include <target/algorithm.h>
The exception is from .c files in the same directory.
Diffstat (limited to 'src/flash/nor')
-rw-r--r-- | src/flash/nor/aduc702x.c | 2 | ||||
-rw-r--r-- | src/flash/nor/cfi.c | 2 | ||||
-rw-r--r-- | src/flash/nor/ecos.c | 2 | ||||
-rw-r--r-- | src/flash/nor/lpc2000.c | 2 | ||||
-rw-r--r-- | src/flash/nor/lpc2900.c | 2 | ||||
-rw-r--r-- | src/flash/nor/stellaris.c | 2 | ||||
-rw-r--r-- | src/flash/nor/stm32x.c | 2 | ||||
-rw-r--r-- | src/flash/nor/str7x.c | 2 | ||||
-rw-r--r-- | src/flash/nor/str9x.c | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/src/flash/nor/aduc702x.c b/src/flash/nor/aduc702x.c index f7aa746..402da1f 100644 --- a/src/flash/nor/aduc702x.c +++ b/src/flash/nor/aduc702x.c @@ -27,7 +27,7 @@ #include "armv4_5.h" #include <helper/binarybuffer.h> #include <helper/time_support.h> -#include "algorithm.h" +#include <target/algorithm.h> static int aduc702x_build_sector_list(struct flash_bank *bank); diff --git a/src/flash/nor/cfi.c b/src/flash/nor/cfi.c index cf83271..043d742 100644 --- a/src/flash/nor/cfi.c +++ b/src/flash/nor/cfi.c @@ -27,7 +27,7 @@ #include "non_cfi.h" #include "armv4_5.h" #include <helper/binarybuffer.h> -#include "algorithm.h" +#include <target/algorithm.h> #define CFI_MAX_BUS_WIDTH 4 diff --git a/src/flash/nor/ecos.c b/src/flash/nor/ecos.c index 7a0b26f..f689e15 100644 --- a/src/flash/nor/ecos.c +++ b/src/flash/nor/ecos.c @@ -24,7 +24,7 @@ #include "flash.h" #include "embeddedice.h" #include "image.h" -#include "algorithm.h" +#include <target/algorithm.h> #if 0 diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c index 981cfac..9479a9f 100644 --- a/src/flash/nor/lpc2000.c +++ b/src/flash/nor/lpc2000.c @@ -28,7 +28,7 @@ #include "lpc2000.h" #include "armv7m.h" #include <helper/binarybuffer.h> -#include "algorithm.h" +#include <target/algorithm.h> /* flash programming support for NXP LPC17xx and LPC2xxx devices diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c index bb467c5..9cbb9e4 100644 --- a/src/flash/nor/lpc2900.c +++ b/src/flash/nor/lpc2900.c @@ -27,7 +27,7 @@ #include "flash.h" #include <helper/binarybuffer.h> #include "armv4_5.h" -#include "algorithm.h" +#include <target/algorithm.h> /* 1024 bytes */ diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c index 71bd5ba..90b0ac6 100644 --- a/src/flash/nor/stellaris.c +++ b/src/flash/nor/stellaris.c @@ -31,7 +31,7 @@ #include "stellaris.h" #include "armv7m.h" #include <helper/binarybuffer.h> -#include "algorithm.h" +#include <target/algorithm.h> #define DID0_VER(did0) ((did0 >> 28)&0x07) diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c index 9868428..581b650 100644 --- a/src/flash/nor/stm32x.c +++ b/src/flash/nor/stm32x.c @@ -27,7 +27,7 @@ #include "stm32x.h" #include "armv7m.h" #include <helper/binarybuffer.h> -#include "algorithm.h" +#include <target/algorithm.h> static int stm32x_mass_erase(struct flash_bank *bank); diff --git a/src/flash/nor/str7x.c b/src/flash/nor/str7x.c index 17a58c9..4da3f07 100644 --- a/src/flash/nor/str7x.c +++ b/src/flash/nor/str7x.c @@ -27,7 +27,7 @@ #include "str7x.h" #include "armv4_5.h" #include <helper/binarybuffer.h> -#include "algorithm.h" +#include <target/algorithm.h> struct str7x_mem_layout mem_layout_str7bank0[] = { diff --git a/src/flash/nor/str9x.c b/src/flash/nor/str9x.c index 98f15e7..7b34580 100644 --- a/src/flash/nor/str9x.c +++ b/src/flash/nor/str9x.c @@ -29,7 +29,7 @@ #include "str9x.h" #include "arm966e.h" -#include "algorithm.h" +#include <target/algorithm.h> static uint32_t bank1start = 0x00080000; |