aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Handley <dan.handley@arm.com>2015-05-06 14:47:40 +0100
committerDan Handley <dan.handley@arm.com>2015-05-19 10:04:54 +0100
commit12ad4d887b9cd99489dc0a40a7bcd236848b4175 (patch)
tree5a2a255237c073caf935503d1a27a8f4b163b01c
parent57e56bba34322b8da4f176199418a25bc8ace514 (diff)
Fix return type of FVP plat_arm_topology_setup
Fix the return type of the FVP `plat_arm_topology_setup` function to be `void` instead of `int` to match the declaration in `plat_arm.h`. This does not result in any change in behavior. Change-Id: I62edfa7652b83bd26cffb7d167153959b38e37e7
-rw-r--r--plat/arm/board/fvp/fvp_topology.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plat/arm/board/fvp/fvp_topology.c b/plat/arm/board/fvp/fvp_topology.c
index 168864a..c90e82f 100644
--- a/plat/arm/board/fvp/fvp_topology.c
+++ b/plat/arm/board/fvp/fvp_topology.c
@@ -183,7 +183,7 @@ unsigned int plat_get_aff_state(unsigned int aff_lvl,
* the FVP flavour its running on. We construct all the mpidrs we can handle
* and rely on the PWRC.PSYSR to flag absent cpus when their status is queried.
******************************************************************************/
-int plat_arm_topology_setup(void)
+void plat_arm_topology_setup(void)
{
unsigned char aff0, aff1, aff_state, aff0_offset = 0;
unsigned long mpidr;
@@ -229,5 +229,4 @@ int plat_arm_topology_setup(void)
fvp_aff1_topology_map[aff1 - 1].sibling = AFFINST_INVAL;
topology_setup_done = 1;
- return 0;
}