diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:14:55 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:24:42 -0800 |
commit | 450ceda9aec12a0b67cca8dfbaf0384824cbd6c2 (patch) | |
tree | cbfaa0b50097a98fc303180b1ff1953bf05b80d4 /src/flash | |
parent | 9cbab8d3a6b6157629b75457b79e1b828c78bf6e (diff) | |
download | riscv-openocd-450ceda9aec12a0b67cca8dfbaf0384824cbd6c2.zip riscv-openocd-450ceda9aec12a0b67cca8dfbaf0384824cbd6c2.tar.gz riscv-openocd-450ceda9aec12a0b67cca8dfbaf0384824cbd6c2.tar.bz2 |
change #include "nand.h" to <flash/nand.h>
Changes from the flat namespace to heirarchical one. Instead of writing:
#include "nand.h"
the following form should be used.
#include <flash/nand.h>
The exception is from .c files in the same directory.
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/arm_nandio.h | 2 | ||||
-rw-r--r-- | src/flash/nand/lpc3180.c | 2 | ||||
-rw-r--r-- | src/flash/nand/mx3.h | 2 | ||||
-rw-r--r-- | src/flash/nand/nonce.c | 2 | ||||
-rw-r--r-- | src/flash/nand/s3c24xx.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/flash/arm_nandio.h b/src/flash/arm_nandio.h index 6788e36..27b3ad3 100644 --- a/src/flash/arm_nandio.h +++ b/src/flash/arm_nandio.h @@ -1,7 +1,7 @@ #ifndef __ARM_NANDIO_H #define __ARM_NANDIO_H -#include "nand.h" +#include <flash/nand.h> #include <helper/binarybuffer.h> /** diff --git a/src/flash/nand/lpc3180.c b/src/flash/nand/lpc3180.c index 031e6b1..80284cc 100644 --- a/src/flash/nand/lpc3180.c +++ b/src/flash/nand/lpc3180.c @@ -22,7 +22,7 @@ #endif #include "lpc3180.h" -#include "nand.h" +#include <flash/nand.h> static int lpc3180_reset(struct nand_device *nand); static int lpc3180_controller_ready(struct nand_device *nand, int timeout); diff --git a/src/flash/nand/mx3.h b/src/flash/nand/mx3.h index 09289ae..94dbf0c 100644 --- a/src/flash/nand/mx3.h +++ b/src/flash/nand/mx3.h @@ -25,7 +25,7 @@ * * Many thanks to Ben Dooks for writing s3c24xx driver. */ -#include "nand.h" +#include <flash/nand.h> #define MX3_NF_BASE_ADDR 0xb8000000 #define MX3_NF_BUFSIZ (MX3_NF_BASE_ADDR + 0xe00) diff --git a/src/flash/nand/nonce.c b/src/flash/nand/nonce.c index dae62a7..f441164 100644 --- a/src/flash/nand/nonce.c +++ b/src/flash/nand/nonce.c @@ -20,7 +20,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include "nand.h" +#include <flash/nand.h> static int nonce_nand_command(struct nand_device *nand, uint8_t command) diff --git a/src/flash/nand/s3c24xx.h b/src/flash/nand/s3c24xx.h index 38057b2..0f899da 100644 --- a/src/flash/nand/s3c24xx.h +++ b/src/flash/nand/s3c24xx.h @@ -27,7 +27,7 @@ * Many thanks to Simtec Electronics for sponsoring this work. */ -#include "nand.h" +#include <flash/nand.h> #include "s3c24xx_regs.h" struct s3c24xx_nand_controller |