summaryrefslogtreecommitdiff
path: root/board/broadcom
diff options
context:
space:
mode:
authorWilliam Zhang <[email protected]>2022-08-22 11:19:48 -0700
committerTom Rini <[email protected]>2022-10-31 08:55:41 -0400
commitb4582f5df43f71e1a11083fe54c2dca5ac0bfba7 (patch)
tree453ba2053b4e8ff400c22054507607ed6c6e4e4b /board/broadcom
parentb23c804025eb58485b4ec60152408dac6591a1b2 (diff)
arm: bcmbca: make reset_cpu function weak
BCM63158 carries the CONFIG_SYSRESET from the original configuration. It provide reset_cpu function already so need to define weak version of the dummy reset_cpu for other BCMBCA SoCs to avoid linking error. Signed-off-by: William Zhang <[email protected]> Reviewed-by: Philippe Reynes <[email protected]>
Diffstat (limited to 'board/broadcom')
-rw-r--r--board/broadcom/bcmbca/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/broadcom/bcmbca/board.c b/board/broadcom/bcmbca/board.c
index 4aa1d659d5c..bcecb4d7839 100644
--- a/board/broadcom/bcmbca/board.c
+++ b/board/broadcom/bcmbca/board.c
@@ -30,6 +30,6 @@ int print_cpuinfo(void)
return 0;
}
-void reset_cpu(ulong addr)
+__weak void reset_cpu(void)
{
}