Skip to content
GitLab
Menu
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
26630942
Commit
26630942
authored
Aug 14, 2020
by
Sandrine Bailleux
Committed by
TrustedFirmware Code Review
Aug 14, 2020
Browse files
Merge "Use true instead of 1 in while" into integration
parents
fb6a9ed6
92069086
Changes
10
Hide whitespace changes
Inline
Side-by-side
plat/arm/board/a5ds/a5ds_err.c
View file @
26630942
/*
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
* Copyright (c) 2019
-2020
, Arm Limited. All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*/
*/
void
__dead2
plat_arm_error_handler
(
int
err
)
void
__dead2
plat_arm_error_handler
(
int
err
)
{
{
while
(
1
)
{
while
(
true
)
{
wfi
();
wfi
();
}
}
}
}
plat/arm/board/fvp/fvp_bl1_setup.c
View file @
26630942
...
@@ -64,7 +64,7 @@ __dead2 void bl1_plat_fwu_done(void *client_cookie, void *reserved)
...
@@ -64,7 +64,7 @@ __dead2 void bl1_plat_fwu_done(void *client_cookie, void *reserved)
/* Setup the watchdog to reset the system as soon as possible */
/* Setup the watchdog to reset the system as soon as possible */
sp805_refresh
(
ARM_SP805_TWDG_BASE
,
1U
);
sp805_refresh
(
ARM_SP805_TWDG_BASE
,
1U
);
while
(
1
)
while
(
true
)
wfi
();
wfi
();
}
}
...
...
plat/arm/board/fvp_ve/fvp_ve_err.c
View file @
26630942
/*
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
* Copyright (c) 2019
-2020
, Arm Limited. All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*/
*/
void
__dead2
plat_arm_error_handler
(
int
err
)
void
__dead2
plat_arm_error_handler
(
int
err
)
{
{
while
(
1
)
{
while
(
true
)
{
wfi
();
wfi
();
}
}
}
}
plat/arm/board/juno/juno_bl1_setup.c
View file @
26630942
...
@@ -97,7 +97,7 @@ __dead2 void bl1_plat_fwu_done(void *client_cookie, void *reserved)
...
@@ -97,7 +97,7 @@ __dead2 void bl1_plat_fwu_done(void *client_cookie, void *reserved)
/* Setup the watchdog to reset the system as soon as possible */
/* Setup the watchdog to reset the system as soon as possible */
sp805_refresh
(
ARM_SP805_TWDG_BASE
,
1U
);
sp805_refresh
(
ARM_SP805_TWDG_BASE
,
1U
);
while
(
1
)
while
(
true
)
wfi
();
wfi
();
}
}
...
...
plat/arm/board/rde1edge/rde1edge_err.c
View file @
26630942
/*
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
* Copyright (c) 2019
-2020
, Arm Limited. All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*/
*/
void
__dead2
plat_arm_error_handler
(
int
err
)
void
__dead2
plat_arm_error_handler
(
int
err
)
{
{
while
(
1
)
{
while
(
true
)
{
wfi
();
wfi
();
}
}
}
}
plat/arm/board/rdn1edge/rdn1edge_err.c
View file @
26630942
/*
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
* Copyright (c) 2019
-2020
, Arm Limited. All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*/
*/
void
__dead2
plat_arm_error_handler
(
int
err
)
void
__dead2
plat_arm_error_handler
(
int
err
)
{
{
while
(
1
)
{
while
(
true
)
{
wfi
();
wfi
();
}
}
}
}
plat/arm/board/sgi575/sgi575_err.c
View file @
26630942
/*
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
* Copyright (c) 2019
-2020
, Arm Limited. All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*/
*/
void
__dead2
plat_arm_error_handler
(
int
err
)
void
__dead2
plat_arm_error_handler
(
int
err
)
{
{
while
(
1
)
{
while
(
true
)
{
wfi
();
wfi
();
}
}
}
}
plat/arm/board/sgm775/sgm775_err.c
View file @
26630942
/*
/*
* Copyright (c) 2019, Arm Limited. All rights reserved.
* Copyright (c) 2019
-2020
, Arm Limited. All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
*/
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*/
*/
void
__dead2
plat_arm_error_handler
(
int
err
)
void
__dead2
plat_arm_error_handler
(
int
err
)
{
{
while
(
1
)
{
while
(
true
)
{
wfi
();
wfi
();
}
}
}
}
plat/arm/board/tc0/tc0_err.c
View file @
26630942
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*/
*/
void
__dead2
plat_arm_error_handler
(
int
err
)
void
__dead2
plat_arm_error_handler
(
int
err
)
{
{
while
(
1
)
{
while
(
true
)
{
wfi
();
wfi
();
}
}
}
}
plat/common/plat_bl1_common.c
View file @
26630942
...
@@ -60,7 +60,7 @@ struct image_desc *bl1_plat_get_image_desc(unsigned int image_id)
...
@@ -60,7 +60,7 @@ struct image_desc *bl1_plat_get_image_desc(unsigned int image_id)
__dead2
void
bl1_plat_fwu_done
(
void
*
client_cookie
,
void
*
reserved
)
__dead2
void
bl1_plat_fwu_done
(
void
*
client_cookie
,
void
*
reserved
)
{
{
while
(
1
)
while
(
true
)
wfi
();
wfi
();
}
}
...
...
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