]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: bcmbca: make reset_cpu function weak
authorWilliam Zhang <william.zhang@broadcom.com>
Mon, 22 Aug 2022 18:19:48 +0000 (11:19 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 12:55:41 +0000 (08:55 -0400)
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 <william.zhang@broadcom.com>
Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com>
board/broadcom/bcmbca/board.c

index 4aa1d659d5c7c1ef689769f0bb6a6d2874289c06..bcecb4d783922468eeaa3160b53c5bbb39b73ed4 100644 (file)
@@ -30,6 +30,6 @@ int print_cpuinfo(void)
        return 0;
 }
 
-void reset_cpu(ulong addr)
+__weak void reset_cpu(void)
 {
 }