From: Benjamin Herrenschmidt Date: Mon, 4 May 2020 12:16:22 +0000 (+1000) Subject: mw_debug: Fix core reset X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa50df56ef572aa23b1aaa58cc4d8f9fb32086df;p=microwatt.git mw_debug: Fix core reset mw_debug creset would poke the START bit instead of the RESET bit Signed-off-by: Benjamin Herrenschmidt --- 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)