summaryrefslogtreecommitdiff
path: root/src/flash/nor/tms470.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-11-17 21:28:34 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-11-17 17:02:43 +0100
commitab263fafbb5ed7c0464e8cfefc2f95095aa3e7cd (patch)
tree1c38bcb9727ecf21b7455edb11c2ef289ca1aa0a /src/flash/nor/tms470.c
parent29d7031fe34fa489075c6abe74df232cc070fe6e (diff)
downloadopenocd_libswd-ab263fafbb5ed7c0464e8cfefc2f95095aa3e7cd.tar.gz
openocd_libswd-ab263fafbb5ed7c0464e8cfefc2f95095aa3e7cd.tar.bz2
openocd_libswd-ab263fafbb5ed7c0464e8cfefc2f95095aa3e7cd.tar.xz
openocd_libswd-ab263fafbb5ed7c0464e8cfefc2f95095aa3e7cd.zip
FLASH/NOR: Remove useless file tms470.h
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/tms470.c')
-rw-r--r--src/flash/nor/tms470.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/flash/nor/tms470.c b/src/flash/nor/tms470.c
index 2f02e5d7..4ca6cd8d 100644
--- a/src/flash/nor/tms470.c
+++ b/src/flash/nor/tms470.c
@@ -21,7 +21,6 @@
#include "config.h"
#endif
-#include "tms470.h"
#include "imp.h"
@@ -29,6 +28,20 @@
Internal Support, Helpers
---------------------------------------------------------------------- */
+struct tms470_flash_bank
+{
+ unsigned ordinal;
+
+ /* device identification register */
+ uint32_t device_ident_reg;
+ uint32_t silicon_version;
+ uint32_t technology_family;
+ uint32_t rom_flash;
+ uint32_t part_number;
+ char * part_name;
+
+};
+
static const struct flash_sector TMS470R1A256_SECTORS[] = {
{0x00000000, 0x00002000, -1, -1},
{0x00002000, 0x00002000, -1, -1},