diff options
author | Jimmy Zhang <jimmzhang@nvidia.com> | 2015-03-20 17:20:19 -0700 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2015-03-25 08:21:16 -0600 |
commit | 623a1ad096ec4a39e4cbd6dcff9bef8ce74359e6 (patch) | |
tree | f95c65aabd57683b562149aa82bf681e420022fb /src/cbootimage.c | |
parent | 2065a9d21994bf8e90cfc7dd7a6b7ce556df5448 (diff) | |
download | nvidia-cbootimage-623a1ad096ec4a39e4cbd6dcff9bef8ce74359e6.tar.gz |
Add support for Tegra210
This patch adds support for Tegra210. The command option is
--soc tegra210 or -s tegra210
T210 specific files are added under src/t210 directory.
Main changes from earlier soc are many new fileds are added to
structure nvboot_sdram_params and the number of boot devices
that can be defined within bct is reduced from 4 to 1.
Signed-off-by: Jimmy Zhang <jimmzhang@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'src/cbootimage.c')
-rw-r--r-- | src/cbootimage.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cbootimage.c b/src/cbootimage.c index 62328b4..22d7aef 100644 --- a/src/cbootimage.c +++ b/src/cbootimage.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2014, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2012-2015, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -71,11 +71,11 @@ usage(void) printf(" -gbct Generate the new bct file.\n"); printf(" -o<ODM_DATA> Specify the odm_data(in hex).\n"); printf(" -t|--tegra NN Select target device. Must be one of:\n"); - printf(" 20, 30, 114, 124, 132.\n"); + printf(" 20, 30, 114, 124, 132, 210.\n"); printf(" Default: 20. This option is deprecated\n"); printf(" -s|--soc tegraNN Select target device. Must be one of:\n"); printf(" tegra20, tegra30, tegra114, tegra124,\n"); - printf(" tegra132.\n"); + printf(" tegra132, tegra210.\n"); printf(" Default: tegra20.\n"); printf(" -u|--update Copy input image data and update bct\n"); printf(" configs into new image file.\n"); @@ -131,6 +131,8 @@ process_command_line(int argc, char *argv[], build_image_context *context) t124_get_soc_config(context, &g_soc_config); } else if (!strcasecmp("132", optarg)) { t132_get_soc_config(context, &g_soc_config); + } else if (!strcasecmp("210", optarg)) { + t210_get_soc_config(context, &g_soc_config); } else { printf("Unsupported chipname!\n"); usage(); |