mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-26 11:52:09 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user