]> git.sur5r.net Git - openocd/commitdiff
change #include "nand.h" to <flash/nand.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:55 +0000 (04:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:24:42 +0000 (04:24 -0800)
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.

src/ecosboard.c
src/flash/arm_nandio.h
src/flash/nand/lpc3180.c
src/flash/nand/mx3.h
src/flash/nand/nonce.c
src/flash/nand/s3c24xx.h
src/openocd.c

index b42a777cd4aba65978f7a79ccf9c73c87834e1e7..2464868e73619fcfe82c5d747930346df8d4b87c 100644 (file)
@@ -27,7 +27,7 @@
 #include <helper/configuration.h>
 #include "xsvf.h"
 #include "svf.h"
-#include "nand.h"
+#include <flash/nand.h>
 #include "pld.h"
 
 #include "server.h"
index 6788e36b687c93299041c684d72c6b6633e115c8..27b3ad35139427f31756e28ff5fdaf017386d9dc 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __ARM_NANDIO_H
 #define __ARM_NANDIO_H
 
-#include "nand.h"
+#include <flash/nand.h>
 #include <helper/binarybuffer.h>
 
 /**
index 031e6b1d7dcea52b77c17a7cf25d1fcda6f36668..80284cc62d6728cb446e9715c51a78fc5913ba12 100644 (file)
@@ -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);
index 09289ae27090eefb81f1f10510a2975ca42df020..94dbf0cba6d94a93dc657143f2c2a05f5346ab13 100644 (file)
@@ -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)
index dae62a72d08af927b2f814979ee0befa45226fb0..f4411640a190f51c0f679ac875b7b273455155a8 100644 (file)
@@ -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)
index 38057b2707cacef88c96733e72ae2931cb24d320..0f899dad371d67fb1e9b7b0394a1964d2a1958d8 100644 (file)
@@ -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
index eae8c0c0165ed948d173492c74b48baec55613fb..9377816ff8f9a59f87bf4b969fcd9a6236d4b8ed 100644 (file)
@@ -34,7 +34,7 @@
 #include <helper/configuration.h>
 #include "xsvf.h"
 #include "svf.h"
-#include "nand.h"
+#include <flash/nand.h>
 #include "pld.h"
 #include <flash/mflash.h>