tms470: use register_commands()
[fw/openocd] / src / flash / tms470.h
index ad5108d190d973cab89114cbb4fa4dd4e612fae1..f275e510673f26c047f307cc9b68c318f0167242 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   (c) Copyright 2007, 2008 by Christopher Kilgour                       *
+ *   Copyright (C) 2007,2008 by Christopher Kilgour                        *
  *   techie |_at_| whiterocker |_dot_| com                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   Free Software Foundation, Inc.,                                       *
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
-
 #ifndef TMS470_DOT_H
 #define TMS470_DOT_H
 
 #include "flash.h"
 
-typedef struct tms470_flash_bank_s
+struct tms470_flash_bank
 {
        unsigned ordinal;
 
        /* device identification register */
-       u32 device_ident_reg;
-       u32 silicon_version;
-       u32 technology_family;
-       u32 rom_flash;
-       u32 part_number;
+       uint32_t device_ident_reg;
+       uint32_t silicon_version;
+       uint32_t technology_family;
+       uint32_t rom_flash;
+       uint32_t part_number;
        char * part_name;
 
-} tms470_flash_bank_t;
+};
 
 #endif /* TMS470_DOT_H */