diff options
author | Penny Chiu <pchiu@nvidia.com> | 2013-08-23 11:46:31 +0800 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-08-27 10:40:55 -0600 |
commit | 7a4b402df192e810fb9370e0c2728f8c4a277afa (patch) | |
tree | 640cc7e68e97c25fff21e51b53a76d9972d80d39 /src/cbootimage.c | |
parent | ce1847a2b3ffc7026db58d800a103e7fdbf9f1ac (diff) | |
download | nvidia-cbootimage-7a4b402df192e810fb9370e0c2728f8c4a277afa.tar.gz |
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 <pchiu@nvidia.com>
[swarren, modified change to usage() to avoid re-indenting it all]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'src/cbootimage.c')
-rw-r--r-- | src/cbootimage.c | 5 |
1 files changed, 4 insertions, 1 deletions
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<ODM_DATA> 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(); |