diff mbox

[U-Boot] armv7m: Make reset_cpu() weak

Message ID 1486473905-23880-1-git-send-email-phil.edworthy@renesas.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Phil Edworthy Feb. 7, 2017, 1:25 p.m. UTC
Some devices/boards have their own way to reset the cpu.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
---
 arch/arm/cpu/armv7m/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/arm/cpu/armv7m/cpu.c b/arch/arm/cpu/armv7m/cpu.c
index 58cde93..c3e4734 100644
--- a/arch/arm/cpu/armv7m/cpu.c
+++ b/arch/arm/cpu/armv7m/cpu.c
@@ -24,7 +24,7 @@  int cleanup_before_linux(void)
 /*
  * Perform the low-level reset.
  */
-void reset_cpu(ulong addr)
+__weak void reset_cpu(ulong addr)
 {
 	/*
 	 * Perform reset but keep priority group unchanged.