summaryrefslogtreecommitdiff
path: root/src/t20/nvbctlib_t20.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/t20/nvbctlib_t20.c')
-rw-r--r--src/t20/nvbctlib_t20.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/t20/nvbctlib_t20.c b/src/t20/nvbctlib_t20.c
index 30a95a3..4e07bf2 100644
--- a/src/t20/nvbctlib_t20.c
+++ b/src/t20/nvbctlib_t20.c
@@ -645,6 +645,11 @@ t20_bct_set_data(parse_token id,
return 0;
}
+int t20_get_bct_size()
+{
+ return sizeof(nvboot_config_table);
+}
+
int t20_bct_token_supported(parse_token token)
{
int index;
@@ -689,6 +694,7 @@ cbootimage_soc_config tegra20_config = {
.set_value = t20_bct_set_value,
.get_value = t20_bct_get_value,
.set_data = t20_bct_set_data,
+ .get_bct_size = t20_get_bct_size,
.token_supported = t20_bct_token_supported,
.devtype_table = s_devtype_table_t20,