summaryrefslogtreecommitdiffstats
path: root/scripts/tegra/t114/nvbctlib_t114.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tegra/t114/nvbctlib_t114.c')
-rw-r--r--scripts/tegra/t114/nvbctlib_t114.c32
1 files changed, 8 insertions, 24 deletions
diff --git a/scripts/tegra/t114/nvbctlib_t114.c b/scripts/tegra/t114/nvbctlib_t114.c
index f7e449aceb..1085146ee0 100644
--- a/scripts/tegra/t114/nvbctlib_t114.c
+++ b/scripts/tegra/t114/nvbctlib_t114.c
@@ -1,21 +1,5 @@
-/*
- * Copyright (c) 2012, 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,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- */
+// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-FileCopyrightText: 2012 NVIDIA CORPORATION
#include "../cbootimage.h"
#include "../parse.h"
@@ -830,7 +814,7 @@ t114_set_sdram_param(build_image_context *context,
return 0;
}
-int
+static int
t114_getbl_param(u_int32_t set,
parse_token id,
u_int32_t *data,
@@ -865,7 +849,7 @@ t114_getbl_param(u_int32_t set,
return 0;
}
-int
+static int
t114_setbl_param(u_int32_t set,
parse_token id,
u_int32_t *data,
@@ -900,7 +884,7 @@ t114_setbl_param(u_int32_t set,
return 0;
}
-int
+static int
t114_bct_get_value(parse_token id, u_int32_t *data, u_int8_t *bct)
{
nvboot_config_table *bct_ptr = (nvboot_config_table *)bct;
@@ -984,7 +968,7 @@ t114_bct_get_value(parse_token id, u_int32_t *data, u_int8_t *bct)
return 0;
}
-int
+static int
t114_bct_set_value(parse_token id, u_int32_t data, u_int8_t *bct)
{
nvboot_config_table *bct_ptr = (nvboot_config_table *)bct;
@@ -1012,7 +996,7 @@ t114_bct_set_value(parse_token id, u_int32_t data, u_int8_t *bct)
return 0;
}
-int
+static int
t114_bct_set_data(parse_token id,
u_int8_t *data,
u_int32_t length,
@@ -1037,7 +1021,7 @@ t114_bct_set_data(parse_token id,
return 0;
}
-void t114_init_bad_block_table(build_image_context *context)
+static void t114_init_bad_block_table(build_image_context *context)
{
u_int32_t bytes_per_entry;
nvboot_badblock_table *table;