summaryrefslogtreecommitdiff
path: root/src/flash/nor/spearsmi.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-11-17 08:21:22 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-11-17 08:55:31 +0100
commitc5414f95b6435231fb3dc5266ddd0b54c95c155e (patch)
tree6cee6d5a23add3983b869b2c25aaf646e71018ad /src/flash/nor/spearsmi.c
parent49f42ab51d12a35206c6e255f2d45acde6ae5b68 (diff)
downloadopenocd_libswd-c5414f95b6435231fb3dc5266ddd0b54c95c155e.tar.gz
openocd_libswd-c5414f95b6435231fb3dc5266ddd0b54c95c155e.tar.bz2
openocd_libswd-c5414f95b6435231fb3dc5266ddd0b54c95c155e.tar.xz
openocd_libswd-c5414f95b6435231fb3dc5266ddd0b54c95c155e.zip
FLASH/NOR: Remove useless file spearsmi.h
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/spearsmi.c')
-rw-r--r--src/flash/nor/spearsmi.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/flash/nor/spearsmi.c b/src/flash/nor/spearsmi.c
index 4902a446..c3bc2ec5 100644
--- a/src/flash/nor/spearsmi.c
+++ b/src/flash/nor/spearsmi.c
@@ -39,7 +39,6 @@
#endif
#include "imp.h"
-#include "spearsmi.h"
#include <jtag/jtag.h>
#include <helper/time_support.h>
@@ -126,6 +125,14 @@
#define SMI_PROBE_TIMEOUT (100)
#define SMI_MAX_TIMEOUT (3000)
+struct spearsmi_flash_bank
+{
+ int probed;
+ uint32_t io_base;
+ uint32_t bank_num;
+ struct flash_device *dev;
+};
+
/* data structure to maintain flash ids from different vendors */
struct flash_device {
char *name;