summaryrefslogtreecommitdiff
path: root/src/set.c
diff options
context:
space:
mode:
authorJimmy Zhang <jimmzhang@nvidia.com>2015-03-20 17:20:19 -0700
committerStephen Warren <swarren@nvidia.com>2015-03-25 08:21:16 -0600
commit623a1ad096ec4a39e4cbd6dcff9bef8ce74359e6 (patch)
treef95c65aabd57683b562149aa82bf681e420022fb /src/set.c
parent2065a9d21994bf8e90cfc7dd7a6b7ce556df5448 (diff)
downloadnvidia-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/set.c')
-rw-r--r--src/set.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/set.c b/src/set.c
index e8ae3dd..73af521 100644
--- a/src/set.c
+++ b/src/set.c
@@ -246,6 +246,12 @@ int context_set_value(build_image_context *context,
value, context->bct);
break;
+ case token_secure_debug_control:
+ context->secure_debug_control = *((u_int32_t *)value);
+ g_soc_config->set_value(token_secure_debug_control,
+ value, context->bct);
+ break;
+
case token_unique_chip_id:
memcpy(context->unique_chip_id, value, 16);
g_soc_config->set_value(token_unique_chip_id,