Browse Source

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.
tags/v0.4.0-rc1
Zachary T Welch 14 years ago
parent
commit
450ceda9ae
7 changed files with 7 additions and 7 deletions
  1. +1
    -1
      src/ecosboard.c
  2. +1
    -1
      src/flash/arm_nandio.h
  3. +1
    -1
      src/flash/nand/lpc3180.c
  4. +1
    -1
      src/flash/nand/mx3.h
  5. +1
    -1
      src/flash/nand/nonce.c
  6. +1
    -1
      src/flash/nand/s3c24xx.h
  7. +1
    -1
      src/openocd.c

+ 1
- 1
src/ecosboard.c View 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"


+ 1
- 1
src/flash/arm_nandio.h View File

@@ -1,7 +1,7 @@
#ifndef __ARM_NANDIO_H
#define __ARM_NANDIO_H

#include "nand.h"
#include <flash/nand.h>
#include <helper/binarybuffer.h>

/**


+ 1
- 1
src/flash/nand/lpc3180.c View 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);


+ 1
- 1
src/flash/nand/mx3.h View 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)


+ 1
- 1
src/flash/nand/nonce.c View 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)


+ 1
- 1
src/flash/nand/s3c24xx.h View 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


+ 1
- 1
src/openocd.c View 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>



Loading…
Cancel
Save