Parts structure updated
authorNathael Pajani <nathael.pajani@ed3l.fr>
Fri, 18 May 2012 23:44:19 +0000 (01:44 +0200)
committerNathael Pajani <nathael.pajani@ed3l.fr>
Fri, 18 May 2012 23:44:19 +0000 (01:44 +0200)
parts.c
parts.h

diff --git a/parts.c b/parts.c
index 4df2f4c..93d7941 100644 (file)
--- a/parts.c
+++ b/parts.c
 #include "parts.h"
 
 struct part_desc parts[] = {
-       /*        part info             |        flash            |            ram                  */
-       /*                              |                     nb  |                      buffer     */
-       /*  part_id      part name      | base addr    size  sect | base addr   size    off   size  */
-       { 0x2540102B, "LPC1114FHN33/302", 0x00000000, 0x8000, 8,    0x10000000, 0x2000, 0x800, 0x400 },
-       {0, NULL, 0, 0, 0, 0, 0, 0, 0},
+       /*        part info             |        flash            | reset  |            ram                  */
+       /*                              |                     nb  | vector |                      buffer     */
+       /*  part_id      part name      | base addr    size  sect | offset | base addr   size    off   size  */
+       { 0x2540102B, "LPC1114FHN33/302", 0x00000000, 0x8000, 8,    0x04,    0x10000000, 0x2000, 0x800, 0x400 },
+       {0, NULL, 0, 0, 0, 0, 0, 0, 0, 0},
 };
 
 
diff --git a/parts.h b/parts.h
index e92aa31..6357875 100644 (file)
--- a/parts.h
+++ b/parts.h
@@ -22,6 +22,7 @@ struct part_desc {
        uint32_t flash_base;
        uint32_t flash_size;
        uint32_t flash_nb_sectors;
+       uint32_t reset_vector_offset;
        /* RAM */
        uint32_t ram_base;
        uint32_t ram_size;