1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-26 03:51:22 +00:00

mw_debug: Fix core reset

mw_debug creset would poke the START bit instead of the RESET bit

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Benjamin Herrenschmidt
2020-05-04 22:16:22 +10:00
parent 3687486d36
commit fa50df56ef

View File

@@ -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)