aboutsummaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 04:14:30 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:22:52 -0800
commitdf0e90ec8c728be50f1457ecc513d78de044f5a4 (patch)
tree73c1742fe3fb11deb8b2bd409af7bfcffab694f4 /src/flash
parent6512e5e36b067ae458cb7f6a9fdfb08d38da3583 (diff)
downloadriscv-openocd-df0e90ec8c728be50f1457ecc513d78de044f5a4.zip
riscv-openocd-df0e90ec8c728be50f1457ecc513d78de044f5a4.tar.gz
riscv-openocd-df0e90ec8c728be50f1457ecc513d78de044f5a4.tar.bz2
change #include "types.h" to <helper/types.h>
Changes from the flat namespace to heirarchical one. Instead of writing: #include "types.h" the following form should be used. #include <helper/types.h> The exception is from .c files in the same directory.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/common.h2
-rw-r--r--src/flash/nor/at91sam3.c2
-rw-r--r--src/flash/nor/avrf.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/common.h b/src/flash/common.h
index 1fd0d77..e0dcdb3 100644
--- a/src/flash/common.h
+++ b/src/flash/common.h
@@ -19,7 +19,7 @@
#ifndef FLASH_COMMON_H
#define FLASH_COMMON_H
-#include "types.h"
+#include <helper/types.h>
/**
* Parses the optional '.index' portion of a flash bank identifier.
diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c
index b27ea94..5f7e8d7 100644
--- a/src/flash/nor/at91sam3.c
+++ b/src/flash/nor/at91sam3.c
@@ -60,7 +60,7 @@
#include <stdio.h>
#include <string.h>
#include <stddef.h>
-#include "types.h"
+#include <helper/types.h>
#include "flash.h"
#include <helper/membuf.h>
#include "at91sam3.h"
diff --git a/src/flash/nor/avrf.h b/src/flash/nor/avrf.h
index e75d9d7..0f270e6 100644
--- a/src/flash/nor/avrf.h
+++ b/src/flash/nor/avrf.h
@@ -20,7 +20,7 @@
#ifndef AVRF_H
#define AVRF_H
-#include "types.h"
+#include <helper/types.h>
struct avrf_type
{