X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Ftms470.c;h=4ca6cd8d8f62139013939c2aee50f8e0cae94c54;hp=2f02e5d77cf9da23effd2b2797af76923457e82a;hb=ab263fafbb5ed7c0464e8cfefc2f95095aa3e7cd;hpb=29d7031fe34fa489075c6abe74df232cc070fe6e diff --git a/src/flash/nor/tms470.c b/src/flash/nor/tms470.c index 2f02e5d77c..4ca6cd8d8f 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},