]> git.sur5r.net Git - openocd/blobdiff - src/target/image.h
arm_adi_v5: Add part numbers for Infineon XMC4000 family
[openocd] / src / target / image.h
index 5aeba2f7937c2ddfd70a5f60442c201b72ec6d64..cd9ee08d2a8b912934416986abbbcfa3087d5e66 100644 (file)
@@ -66,11 +66,11 @@ struct image {
 };
 
 struct image_binary {
-       struct fileio fileio;
+       struct fileio *fileio;
 };
 
 struct image_ihex {
-       struct fileio fileio;
+       struct fileio *fileio;
        uint8_t *buffer;
 };
 
@@ -81,7 +81,7 @@ struct image_memory {
 };
 
 struct image_elf {
-       struct fileio fileio;
+       struct fileio *fileio;
        Elf32_Ehdr *header;
        Elf32_Phdr *segments;
        uint32_t segment_count;
@@ -89,7 +89,7 @@ struct image_elf {
 };
 
 struct image_mot {
-       struct fileio fileio;
+       struct fileio *fileio;
        uint8_t *buffer;
 };