ee4afb2ab718cc47b9d7395afb0d9059ea523572
[fw/openocd] / src / flash / tms470.h
1 /***************************************************************************\r
2  *   (c) Copyright 2007, 2008 by Christopher Kilgour                       *\r
3  *   techie |_at_| whiterocker |_dot_| com                                 *\r
4  *                                                                         *\r
5  *   This program is free software; you can redistribute it and/or modify  *\r
6  *   it under the terms of the GNU General Public License as published by  *\r
7  *   the Free Software Foundation; either version 2 of the License, or     *\r
8  *   (at your option) any later version.                                   *\r
9  *                                                                         *\r
10  *   This program is distributed in the hope that it will be useful,       *\r
11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *\r
12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *\r
13  *   GNU General Public License for more details.                          *\r
14  *                                                                         *\r
15  *   You should have received a copy of the GNU General Public License     *\r
16  *   along with this program; if not, write to the                         *\r
17  *   Free Software Foundation, Inc.,                                       *\r
18  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *\r
19  ***************************************************************************/\r
20 \r
21 #ifndef TMS470_DOT_H\r
22 #define TMS470_DOT_H\r
23 \r
24 #include "flash.h"\r
25 \r
26 typedef struct tms470_flash_bank_s\r
27 {\r
28   unsigned ordinal;\r
29 \r
30   /* device identification register */\r
31   u32 device_ident_reg;\r
32   u32 silicon_version;\r
33   u32 technology_family;\r
34   u32 rom_flash;\r
35   u32 part_number;\r
36   char * part_name;\r
37 } tms470_flash_bank_t;\r
38 \r
39 #endif /* TMS470_DOT_H */\r