From 2958665f6b1239705a7dcc2b275810c394023f0f Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 04:14:35 -0800 Subject: change #include "algorithm.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "algorithm.h" the following form should be used. #include The exception is from .c files in the same directory. --- src/flash/nor/aduc702x.c | 2 +- src/flash/nor/cfi.c | 2 +- src/flash/nor/ecos.c | 2 +- src/flash/nor/lpc2000.c | 2 +- src/flash/nor/lpc2900.c | 2 +- src/flash/nor/stellaris.c | 2 +- src/flash/nor/stm32x.c | 2 +- src/flash/nor/str7x.c | 2 +- src/flash/nor/str9x.c | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/flash/nor') 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 #include -#include "algorithm.h" +#include 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 -#include "algorithm.h" +#include #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 #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 -#include "algorithm.h" +#include /* 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 #include "armv4_5.h" -#include "algorithm.h" +#include /* 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 -#include "algorithm.h" +#include #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 -#include "algorithm.h" +#include 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 -#include "algorithm.h" +#include 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 static uint32_t bank1start = 0x00080000; -- cgit v1.1