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