summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.c1
-rw-r--r--set.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index a89290b..23bdf26 100644
--- a/parse.c
+++ b/parse.c
@@ -103,6 +103,7 @@ static parse_item s_top_level_items[] = {
{ "Redundancy=", token_redundancy, parse_value_u32 },
{ "Bctcopy=", token_bct_copy, parse_value_u32 },
{ "Version=", token_version, parse_value_u32 },
+ { "OdmData=", token_odm_data, parse_value_u32 },
{ NULL, 0, NULL } /* Must be last */
};
diff --git a/set.c b/set.c
index 01e3846..9d3c1d1 100644
--- a/set.c
+++ b/set.c
@@ -190,6 +190,10 @@ int context_set_value(build_image_context *context,
context->bct_copy = value;
break;
+ case token_odm_data:
+ context->odm_data = value;
+ break;
+
DEFAULT();
}