diff options
Diffstat (limited to 'scripts/tegra/t124/nvbctlib_t124.c')
-rw-r--r-- | scripts/tegra/t124/nvbctlib_t124.c | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/scripts/tegra/t124/nvbctlib_t124.c b/scripts/tegra/t124/nvbctlib_t124.c index 27e5a628af..9cc312b2e4 100644 --- a/scripts/tegra/t124/nvbctlib_t124.c +++ b/scripts/tegra/t124/nvbctlib_t124.c @@ -1,21 +1,5 @@ -/* - * Copyright (c) 2013, 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: 2013 NVIDIA CORPORATION #include "../cbootimage.h" #include "../parse.h" @@ -831,7 +815,7 @@ t124_set_sdram_param(build_image_context *context, return 0; } -int +static int t124_getbl_param(u_int32_t set, parse_token id, u_int32_t *data, @@ -866,7 +850,7 @@ t124_getbl_param(u_int32_t set, return 0; } -int +static int t124_setbl_param(u_int32_t set, parse_token id, u_int32_t *data, @@ -901,7 +885,7 @@ t124_setbl_param(u_int32_t set, return 0; } -int +static int t124_bct_get_value(parse_token id, u_int32_t *data, u_int8_t *bct) { nvboot_config_table *bct_ptr = (nvboot_config_table *)bct; @@ -985,7 +969,7 @@ t124_bct_get_value(parse_token id, u_int32_t *data, u_int8_t *bct) return 0; } -int +static int t124_bct_set_value(parse_token id, u_int32_t data, u_int8_t *bct) { nvboot_config_table *bct_ptr = (nvboot_config_table *)bct; @@ -1013,7 +997,7 @@ t124_bct_set_value(parse_token id, u_int32_t data, u_int8_t *bct) return 0; } -int +static int t124_bct_set_data(parse_token id, u_int8_t *data, u_int32_t length, @@ -1039,7 +1023,7 @@ t124_bct_set_data(parse_token id, return 0; } -void t124_init_bad_block_table(build_image_context *context) +static void t124_init_bad_block_table(build_image_context *context) { u_int32_t bytes_per_entry; nvboot_badblock_table *table; |