change #include "time_support.h" to <helper/time_support.h>
Changes from the flat namespace to heirarchical one. Instead of writing: #include "time_support.h" the following form should be used. #include <helper/time_support.h> The exception is from .c files in the same directory.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include "flash.h"
|
||||
#include "common.h"
|
||||
#include "image.h"
|
||||
#include "time_support.h"
|
||||
#include <helper/time_support.h>
|
||||
|
||||
static int flash_write_unlock(struct target *target, struct image *image, uint32_t *written, int erase, bool unlock);
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "mflash.h"
|
||||
#include "target.h"
|
||||
#include "time_support.h"
|
||||
#include <helper/time_support.h>
|
||||
#include <helper/fileio.h>
|
||||
#include <helper/log.h>
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "nand.h"
|
||||
#include "common.h"
|
||||
#include "time_support.h"
|
||||
#include <helper/time_support.h>
|
||||
#include <helper/fileio.h>
|
||||
|
||||
static int nand_read_page(struct nand_device *nand, uint32_t page, uint8_t *data, uint32_t data_size, uint8_t *oob, uint32_t oob_size);
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "flash.h"
|
||||
#include "armv4_5.h"
|
||||
#include <helper/binarybuffer.h>
|
||||
#include "time_support.h"
|
||||
#include <helper/time_support.h>
|
||||
#include "algorithm.h"
|
||||
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
#include "flash.h"
|
||||
#include <helper/membuf.h>
|
||||
#include "at91sam3.h"
|
||||
#include "time_support.h"
|
||||
#include <helper/time_support.h>
|
||||
|
||||
#define REG_NAME_WIDTH (12)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user