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
77544efb
Commit
77544efb
authored
7 years ago
by
danh-arm
Committed by
GitHub
7 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1071 from jeenu-arm/syntax-fix
plat/arm: Fix ARM_INSTANTIATE_LOCK syntax anomaly
parents
6328f76b
19583169
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
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
include/plat/arm/common/plat_arm.h
+2
-2
include/plat/arm/common/plat_arm.h
plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c
+2
-2
plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c
plat/arm/css/drivers/scp/css_pm_scmi.c
+1
-1
plat/arm/css/drivers/scp/css_pm_scmi.c
plat/arm/css/drivers/scpi/css_mhu.c
+2
-2
plat/arm/css/drivers/scpi/css_mhu.c
with
7 additions
and
7 deletions
+7
-7
include/plat/arm/common/plat_arm.h
View file @
77544efb
...
...
@@ -45,7 +45,7 @@ void arm_setup_page_tables(uintptr_t total_base,
* Use this macro to instantiate lock before it is used in below
* arm_lock_xxx() macros
*/
#define ARM_INSTANTIATE_LOCK DEFINE_BAKERY_LOCK(arm_lock)
;
#define ARM_INSTANTIATE_LOCK DEFINE_BAKERY_LOCK(arm_lock)
#define ARM_LOCK_GET_INSTANCE (&arm_lock)
/*
* These are wrapper macros to the Coherent Memory Bakery Lock API.
...
...
@@ -59,7 +59,7 @@ void arm_setup_page_tables(uintptr_t total_base,
/*
* Empty macros for all other BL stages other than BL31 and BL32
*/
#define ARM_INSTANTIATE_LOCK
#define ARM_INSTANTIATE_LOCK
static int arm_lock __unused
#define ARM_LOCK_GET_INSTANCE 0
#define arm_lock_init()
#define arm_lock_get()
...
...
This diff is collapsed.
Click to expand it.
plat/arm/board/fvp/drivers/pwrc/fvp_pwrc.c
View file @
77544efb
/*
* Copyright (c) 2013-201
6
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2013-201
7
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -15,7 +15,7 @@
* TODO: Someday there will be a generic power controller api. At the moment
* each platform has its own pwrc so just exporting functions is fine.
*/
ARM_INSTANTIATE_LOCK
ARM_INSTANTIATE_LOCK
;
unsigned
int
fvp_pwrc_get_cpu_wkr
(
u_register_t
mpidr
)
{
...
...
This diff is collapsed.
Click to expand it.
plat/arm/css/drivers/scp/css_pm_scmi.c
View file @
77544efb
...
...
@@ -76,7 +76,7 @@ void *scmi_handle;
/* The SCMI channel global object */
static
scmi_channel_t
scmi_channel
;
ARM_INSTANTIATE_LOCK
ARM_INSTANTIATE_LOCK
;
/*
* Helper function to suspend a CPU power domain and its parent power domains
...
...
This diff is collapsed.
Click to expand it.
plat/arm/css/drivers/scpi/css_mhu.c
View file @
77544efb
/*
* Copyright (c) 2014-201
6
, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2014-201
7
, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
...
...
@@ -23,7 +23,7 @@
#define CPU_INTR_S_SET 0x308
#define CPU_INTR_S_CLEAR 0x310
ARM_INSTANTIATE_LOCK
ARM_INSTANTIATE_LOCK
;
/* Weak definition may be overridden in specific CSS based platform */
#pragma weak plat_arm_pwrc_setup
...
...
This diff is collapsed.
Click to expand it.
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