From fa50df56ef572aa23b1aaa58cc4d8f9fb32086df Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 4 May 2020 22:16:22 +1000 Subject: [PATCH] mw_debug: Fix core reset mw_debug creset would poke the START bit instead of the RESET bit Signed-off-by: Benjamin Herrenschmidt --- scripts/mw_debug/mw_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mw_debug/mw_debug.c b/scripts/mw_debug/mw_debug.c index f1a7cab..7bcf4f9 100644 --- a/scripts/mw_debug/mw_debug.c +++ b/scripts/mw_debug/mw_debug.c @@ -392,7 +392,7 @@ static void core_start(void) static void core_reset(void) { - check(dmi_write(DBG_CORE_CTRL, DBG_CORE_CTRL_START), "resetting core"); + check(dmi_write(DBG_CORE_CTRL, DBG_CORE_CTRL_RESET), "resetting core"); } static void core_step(void) -- 2.30.2