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

Phil Edworthy phil.edworthy at renesas.com
Tue Feb 7 13:25:05 UTC 2017


Some devices/boards have their own way to reset the cpu.

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

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.
-- 
2.7.4



More information about the U-Boot mailing list