summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ao-tools/lib/ao-editaltos.c26
-rw-r--r--ao-tools/lib/ao-hex.h1
2 files changed, 20 insertions, 7 deletions
diff --git a/ao-tools/lib/ao-editaltos.c b/ao-tools/lib/ao-editaltos.c
index a8b64098..7547c82c 100644
--- a/ao-tools/lib/ao-editaltos.c
+++ b/ao-tools/lib/ao-editaltos.c
@@ -20,12 +20,26 @@
#include "ao-editaltos.h"
struct ao_sym ao_symbols[] = {
-
- { 0, 0, "ao_romconfig_version", 1 },
- { 0, 0, "ao_romconfig_check", 1 },
- { 0, 0, "ao_serial_number", 1 },
- { 0, 0, "ao_radio_cal", 0 },
- { 0, 0, "ao_usb_descriptors", 0 },
+ {
+ .name = "ao_romconfig_version",
+ .required = 1
+ },
+ {
+ .name = "ao_romconfig_check",
+ .required = 1
+ },
+ {
+ .name = "ao_serial_number",
+ .required = 1
+ },
+ {
+ .name = "ao_radio_cal",
+ .required = 0
+ },
+ {
+ .name = "ao_usb_descriptors",
+ .required = 0
+ },
};
#define NUM_SYMBOLS 5
diff --git a/ao-tools/lib/ao-hex.h b/ao-tools/lib/ao-hex.h
index 98497460..eb510ba2 100644
--- a/ao-tools/lib/ao-hex.h
+++ b/ao-tools/lib/ao-hex.h
@@ -51,7 +51,6 @@ struct ao_hex_image {
struct ao_sym {
unsigned addr;
- unsigned default_addr;
char *name;
bool required;
bool found;