aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 04:14:55 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:24:42 -0800
commit450ceda9aec12a0b67cca8dfbaf0384824cbd6c2 (patch)
treecbfaa0b50097a98fc303180b1ff1953bf05b80d4 /src/flash
parent9cbab8d3a6b6157629b75457b79e1b828c78bf6e (diff)
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.h2
-rw-r--r--src/flash/nand/lpc3180.c2
-rw-r--r--src/flash/nand/mx3.h2
-rw-r--r--src/flash/nand/nonce.c2
-rw-r--r--src/flash/nand/s3c24xx.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/flash/arm_nandio.h b/src/flash/arm_nandio.h
index 6788e36b..27b3ad35 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 031e6b1d..80284cc6 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 09289ae2..94dbf0cb 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 dae62a72..f4411640 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 38057b27..0f899dad 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