Skip to content
Snippets Groups Projects
Commit 121e36da authored by Thomas Chou's avatar Thomas Chou
Browse files

nios2: convert do_reset to use dm cpu data


Convert do_reset to use dm cpu data.

Signed-off-by: default avatarThomas Chou <thomas@wytron.com.tw>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 6368c3e7
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
disable_interrupts();
/* indirect call to go beyond 256MB limitation of toolchain */
nios2_callr(CONFIG_SYS_RESET_ADDR);
nios2_callr(gd->arch.reset_addr);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment