change #include "algorithm.h" to <target/algorithm.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:35 +0000 (04:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:24:40 +0000 (04:24 -0800)
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.

src/flash/arm_nandio.c
src/flash/nor/aduc702x.c
src/flash/nor/cfi.c
src/flash/nor/ecos.c
src/flash/nor/lpc2000.c
src/flash/nor/lpc2900.c
src/flash/nor/stellaris.c
src/flash/nor/stm32x.c
src/flash/nor/str7x.c
src/flash/nor/str9x.c

index f774b619257055843a53f5fc9264b237f1594a37..4647c79487c6e91392e47c3d141f413340caf728 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "arm_nandio.h"
 #include "armv4_5.h"
-#include "algorithm.h"
+#include <target/algorithm.h>
 
 /**
  * Copies code to a working area.  This will allocate room for the code plus the
index f7aa7468b0edbb6e28290d4846d1fcb645b158c0..402da1f4822e80d699b1628e83766d2c1a032991 100644 (file)
@@ -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);
index cf83271def961cc9dd6e097e6198d2b210cea898..043d74206f2224ec6c7c372fad69bafb2ebf9ba9 100644 (file)
@@ -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
index 7a0b26f323d44f0e220542824f2c8c3798c75603..f689e152353de48875753b5c4afb55eed42470e5 100644 (file)
@@ -24,7 +24,7 @@
 #include "flash.h"
 #include "embeddedice.h"
 #include "image.h"
-#include "algorithm.h"
+#include <target/algorithm.h>
 
 
 #if 0
index 981cfac1d1c459f69b8ec57880af79f3256564f5..9479a9fe176ca61fa3f10c57f999eca24da13832 100644 (file)
@@ -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
index bb467c547b7dedc7b8edcd04d7383e5c98d88fa6..9cbb9e4bd21fbea6c465bf2ed113355aeacb0e92 100644 (file)
@@ -27,7 +27,7 @@
 #include "flash.h"
 #include <helper/binarybuffer.h>
 #include "armv4_5.h"
-#include "algorithm.h"
+#include <target/algorithm.h>
 
 
 /* 1024 bytes */
index 71bd5baf34d673e259a3083c363ec6a223628e6c..90b0ac65b2f502b9380ff9f608658d48eea8e9c7 100644 (file)
@@ -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)
index 98684285fa9c2fd123ce7ec42280324d305e8e30..581b6505fb3ccc4b9258e4b596e21f7fa52b0471 100644 (file)
@@ -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);
index 17a58c9928a216172ba00f0ee4fa834176967e92..4da3f07eef248384afe91f588a4911ecf52c2e5c 100644 (file)
@@ -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[] = {
index 98f15e75b4bf7d8d8337b27e70dc7b084fd866e5..7b345809fc08c5069b42071764838e892d8ded80 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "str9x.h"
 #include "arm966e.h"
-#include "algorithm.h"
+#include <target/algorithm.h>
 
 
 static uint32_t bank1start = 0x00080000;

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)