Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
235c8174
Commit
235c8174
authored
5 years ago
by
Mark Dykes
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "Coverity: remove unnecessary header file includes" into integration
parents
9eac8e95
e6937287
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
bl1/tbbr/tbbr_img_desc.c
+1
-2
bl1/tbbr/tbbr_img_desc.c
bl31/bl31_context_mgmt.c
+1
-2
bl31/bl31_context_mgmt.c
drivers/arm/ccn/ccn.c
+1
-2
drivers/arm/ccn/ccn.c
drivers/arm/gic/v2/gicv2_helpers.c
+1
-2
drivers/arm/gic/v2/gicv2_helpers.c
drivers/auth/img_parser_mod.c
+1
-2
drivers/auth/img_parser_mod.c
lib/cpus/errata_report.c
+1
-2
lib/cpus/errata_report.c
lib/el3_runtime/aarch32/context_mgmt.c
+1
-3
lib/el3_runtime/aarch32/context_mgmt.c
lib/el3_runtime/aarch64/context_mgmt.c
+0
-2
lib/el3_runtime/aarch64/context_mgmt.c
lib/optee/optee_utils.c
+1
-4
lib/optee/optee_utils.c
plat/arm/board/fvp/fvp_bl2_setup.c
+1
-3
plat/arm/board/fvp/fvp_bl2_setup.c
plat/arm/board/fvp/fvp_err.c
+1
-2
plat/arm/board/fvp/fvp_err.c
plat/arm/board/fvp/fvp_pm.c
+1
-3
plat/arm/board/fvp/fvp_pm.c
plat/arm/board/juno/juno_err.c
+1
-2
plat/arm/board/juno/juno_err.c
plat/arm/common/aarch32/arm_bl2_mem_params_desc.c
+1
-2
plat/arm/common/aarch32/arm_bl2_mem_params_desc.c
plat/arm/common/aarch64/arm_bl2_mem_params_desc.c
+1
-2
plat/arm/common/aarch64/arm_bl2_mem_params_desc.c
plat/arm/common/aarch64/execution_state_switch.c
+1
-2
plat/arm/common/aarch64/execution_state_switch.c
plat/arm/common/arm_bl31_setup.c
+0
-1
plat/arm/common/arm_bl31_setup.c
plat/arm/common/arm_common.c
+0
-1
plat/arm/common/arm_common.c
plat/arm/common/arm_dyn_cfg_helpers.c
+1
-2
plat/arm/common/arm_dyn_cfg_helpers.c
plat/arm/common/arm_nor_psci_mem_protect.c
+1
-2
plat/arm/common/arm_nor_psci_mem_protect.c
with
17 additions
and
43 deletions
+17
-43
bl1/tbbr/tbbr_img_desc.c
View file @
235c8174
/*
* Copyright (c) 2015-20
18
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <platform_def.h>
#include <bl1/bl1.h>
#include <bl1/tbbr/tbbr_img_desc.h>
#include <common/bl_common.h>
...
...
This diff is collapsed.
Click to expand it.
bl31/bl31_context_mgmt.c
View file @
235c8174
/*
* Copyright (c) 2013-20
18
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2013-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -11,7 +11,6 @@
#include <context.h>
#include <lib/el3_runtime/context_mgmt.h>
#include <lib/el3_runtime/cpu_data.h>
#include <plat/common/platform.h>
/*******************************************************************************
* This function returns a pointer to the most recent 'cpu_context' structure
...
...
This diff is collapsed.
Click to expand it.
drivers/arm/ccn/ccn.c
View file @
235c8174
/*
* Copyright (c) 2015-20
19
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
#include <arch.h>
...
...
This diff is collapsed.
Click to expand it.
drivers/arm/gic/v2/gicv2_helpers.c
View file @
235c8174
/*
* Copyright (c) 2015-20
18
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -7,7 +7,6 @@
#include <assert.h>
#include <arch.h>
#include <arch_helpers.h>
#include <common/debug.h>
#include <common/interrupt_props.h>
#include <drivers/arm/gic_common.h>
...
...
This diff is collapsed.
Click to expand it.
drivers/auth/img_parser_mod.c
View file @
235c8174
/*
* Copyright (c) 2015-20
18
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <stdint.h>
#include <string.h>
...
...
This diff is collapsed.
Click to expand it.
lib/cpus/errata_report.c
View file @
235c8174
/*
* Copyright (c) 2017-20
18
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2017-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -14,7 +14,6 @@
#include <lib/cpus/errata_report.h>
#include <lib/el3_runtime/cpu_data.h>
#include <lib/spinlock.h>
#include <lib/utils.h>
#ifdef IMAGE_BL1
# define BL_STRING "BL1"
...
...
This diff is collapsed.
Click to expand it.
lib/el3_runtime/aarch32/context_mgmt.c
View file @
235c8174
/*
* Copyright (c) 2016-20
19
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2016-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -17,8 +17,6 @@
#include <lib/el3_runtime/context_mgmt.h>
#include <lib/extensions/amu.h>
#include <lib/utils.h>
#include <plat/common/platform.h>
#include <smccc_helpers.h>
/*******************************************************************************
* Context management library initialisation routine. This library is used by
...
...
This diff is collapsed.
Click to expand it.
lib/el3_runtime/aarch64/context_mgmt.c
View file @
235c8174
...
...
@@ -23,8 +23,6 @@
#include <lib/extensions/spe.h>
#include <lib/extensions/sve.h>
#include <lib/utils.h>
#include <plat/common/platform.h>
#include <smccc_helpers.h>
/*******************************************************************************
...
...
This diff is collapsed.
Click to expand it.
lib/optee/optee_utils.c
View file @
235c8174
/*
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2017
-2020
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <errno.h>
#include <arch_helpers.h>
#include <common/debug.h>
#include <common/desc_image_load.h>
#include <lib/optee_utils.h>
/*
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/fvp/fvp_bl2_setup.c
View file @
235c8174
/*
* Copyright (c) 2013-20
19
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2013-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <drivers/arm/sp804_delay_timer.h>
#include <drivers/generic_delay_timer.h>
#include <lib/mmio.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/fvp/fvp_err.c
View file @
235c8174
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
* Copyright (c) 2019
-2020
, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -10,7 +10,6 @@
#include <drivers/arm/sp805.h>
#include <drivers/cfi/v2m_flash.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
/*
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/fvp/fvp_pm.c
View file @
235c8174
/*
* Copyright (c) 2013-20
19
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2013-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <errno.h>
#include <arch_helpers.h>
#include <common/debug.h>
...
...
@@ -16,7 +15,6 @@
#include <lib/psci/psci.h>
#include <plat/arm/common/arm_config.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
#include "fvp_private.h"
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/juno/juno_err.c
View file @
235c8174
/*
* Copyright (c) 2015-20
19
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2015-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -9,7 +9,6 @@
#include <arch_helpers.h>
#include <drivers/arm/sp805.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <platform_def.h>
/*
...
...
This diff is collapsed.
Click to expand it.
plat/arm/common/aarch32/arm_bl2_mem_params_desc.c
View file @
235c8174
/*
* Copyright (c) 2016-20
18
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2016-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -8,7 +8,6 @@
#include <common/bl_common.h>
#include <common/desc_image_load.h>
#include <plat/common/platform.h>
/*******************************************************************************
* Following descriptor provides BL image/ep information that gets used
...
...
This diff is collapsed.
Click to expand it.
plat/arm/common/aarch64/arm_bl2_mem_params_desc.c
View file @
235c8174
/*
* Copyright (c) 2016-20
18
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2016-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -8,7 +8,6 @@
#include <common/bl_common.h>
#include <common/desc_image_load.h>
#include <plat/common/platform.h>
/*******************************************************************************
* Following descriptor provides BL image/ep information that gets used
...
...
This diff is collapsed.
Click to expand it.
plat/arm/common/aarch64/execution_state_switch.c
View file @
235c8174
/*
* Copyright (c) 2017-20
18
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2017-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -12,7 +12,6 @@
#include <lib/el3_runtime/context_mgmt.h>
#include <lib/psci/psci.h>
#include <lib/utils.h>
#include <plat/arm/common/arm_sip_svc.h>
#include <plat/arm/common/plat_arm.h>
#include <smccc_helpers.h>
...
...
This diff is collapsed.
Click to expand it.
plat/arm/common/arm_bl31_setup.c
View file @
235c8174
...
...
@@ -14,7 +14,6 @@
#include <lib/debugfs.h>
#include <lib/extensions/ras.h>
#include <lib/mmio.h>
#include <lib/utils.h>
#include <lib/xlat_tables/xlat_tables_compat.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
...
...
This diff is collapsed.
Click to expand it.
plat/arm/common/arm_common.c
View file @
235c8174
...
...
@@ -16,7 +16,6 @@
#include <lib/xlat_tables/xlat_tables_compat.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
#include <services/spm_mm_partition.h>
/* Weak definitions may be overridden in specific ARM standard platform */
#pragma weak plat_get_ns_image_entrypoint
...
...
This diff is collapsed.
Click to expand it.
plat/arm/common/arm_dyn_cfg_helpers.c
View file @
235c8174
/*
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2018
-2020
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -8,7 +8,6 @@
#include <libfdt.h>
#include <common/desc_image_load.h>
#include <common/fdt_wrappers.h>
#include <plat/arm/common/arm_dyn_cfg_helpers.h>
#include <plat/arm/common/plat_arm.h>
...
...
This diff is collapsed.
Click to expand it.
plat/arm/common/arm_nor_psci_mem_protect.c
View file @
235c8174
/*
* Copyright (c) 2017-20
18
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2017-20
20
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -9,7 +9,6 @@
#include <common/debug.h>
#include <drivers/cfi/v2m_flash.h>
#include <lib/psci/psci.h>
#include <lib/mmio.h>
#include <lib/utils.h>
#include <plat/arm/common/plat_arm.h>
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help