From 7a4b402df192e810fb9370e0c2728f8c4a277afa Mon Sep 17 00:00:00 2001 From: Penny Chiu Date: Fri, 23 Aug 2013 11:46:31 +0800 Subject: Add Tegra124 support Add the Tegra124 chip support to cbootimage. User can use "-t124" as option to parse .cfg and generate BCT/image for Tegra124. Signed-off-by: Penny Chiu [swarren, modified change to usage() to avoid re-indenting it all] Signed-off-by: Stephen Warren --- src/cbootimage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/cbootimage.c') diff --git a/src/cbootimage.c b/src/cbootimage.c index 937bac9..336b169 100644 --- a/src/cbootimage.c +++ b/src/cbootimage.c @@ -68,7 +68,8 @@ usage(void) printf(" -d, --debug Output debugging information.\n"); printf(" -gbct Generate the new bct file.\n"); printf(" -o Specify the odm_data(in hex).\n"); - printf(" [-t20|-t30|-t114] Select one of the possible target devices,\n"); + printf(" [-t20|-t30|-t114|-t124]\n"); + printf(" Select one of the possible target devices,\n"); printf(" -t20 if unspecified.\n"); printf(" configfile File with configuration information\n"); printf(" imagename Output image name\n"); @@ -107,6 +108,8 @@ process_command_line(int argc, char *argv[], build_image_context *context) t30_get_soc_config(context, &g_soc_config); } else if (!strcasecmp("114", optarg)) { t114_get_soc_config(context, &g_soc_config); + } else if (!strcasecmp("124", optarg)) { + t124_get_soc_config(context, &g_soc_config); } else { printf("Unsupported chipname!\n"); usage(); -- cgit v1.2.1