Allow OdmData to be specified in the config file

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Change-Id: I795131b39de2b09f77d53f2cb03a68d8ef07e2fb
Reviewed-on: https://gerrit.chromium.org/gerrit/22933
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Stephen Warren
2012-05-16 14:38:17 -06:00
committed by Gerrit
parent de7ab55eb1
commit fb4793a85b
2 changed files with 5 additions and 0 deletions

View File

@@ -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 */
};

4
set.c
View File

@@ -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();
}