summaryrefslogtreecommitdiff
path: root/src/data_layout.h
diff options
context:
space:
mode:
authorVince Hsu <vinceh@nvidia.com>2014-07-16 10:37:16 +0800
committerAllen Martin <amartin@nvidia.com>2014-07-15 21:42:46 -0700
commit456b8aa442f0e54db9c38cedf548a4f14cee1f59 (patch)
treecf26e7ce79d14e8ff85197b6188bc0813db1e1b8 /src/data_layout.h
parent3717d5efb02b96104c0533df463d148faeb7afa1 (diff)
downloadnvidia-cbootimage-456b8aa442f0e54db9c38cedf548a4f14cee1f59.tar.gz
Add Tegra132 support for the cbootimage utility
This patch adds support for Tegra132. This are only slight differences between Tegra124 and Tegra132. The command line usage is exactly the same as other platforms like Tegra124. The structure nvboot_mts_info is added into the bct for Tegra132. So the bootrom and first stage bootloader know where to load the preboot and mts images. Two parse items "Mts=" and "MtsPreboot=" are added to embedded MTS images in BCT image like what we do for bootloader. The syntax is also the same. For example: MtsPreboot = <preboot_image>,<load_address>,<entry_address>,Complete; Mts = <mts_image>,<load_address>,<entry_address>,Complete; The load and entry addresses depned on your board design. Four files are added in src/t132: nvbctlib_t132.c - is cloned from nvbctlib_t124.c and adds mts information getter and setter. nvboot_bct_t132.h - adds mts structure into bct nvboot_sdram_param_t132.h - clone of nvboot_sdram_param_t124.h parse_t132.c - clone of parse_t124.c Signed-off-by: Vince Hsu <vinceh@nvidia.com> Acked-by: Allen Martin <amartin@nvidia.com>
Diffstat (limited to 'src/data_layout.h')
-rw-r--r--src/data_layout.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/data_layout.h b/src/data_layout.h
index 12da165..c6e53e6 100644
--- a/src/data_layout.h
+++ b/src/data_layout.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
+ * Copyright (c) 2012-2014, 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,
@@ -37,6 +37,9 @@ void destroy_block_list(blk_data_handle);
int
update_bl(struct build_image_context_rec *context);
+int
+update_mts_image(build_image_context *context);
+
void
update_context(struct build_image_context_rec *context);