aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/fw.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware-utils/src/fw.h')
-rw-r--r--tools/firmware-utils/src/fw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/fw.h b/tools/firmware-utils/src/fw.h
index 44f8d851d2..53a92a573c 100644
--- a/tools/firmware-utils/src/fw.h
+++ b/tools/firmware-utils/src/fw.h
@@ -27,6 +27,7 @@
#define MAGIC_ENDS "ENDS"
#define MAGIC_LENGTH 4
+#define PART_NAME_LENGTH 16
typedef struct header {
char magic[MAGIC_LENGTH];
@@ -37,7 +38,7 @@ typedef struct header {
typedef struct part {
char magic[MAGIC_LENGTH];
- char name[16];
+ char name[PART_NAME_LENGTH];
char pad[12];
u_int32_t memaddr;
u_int32_t index;