1
0
Fork 0

nios2: convert do_reset to use dm cpu data

Convert do_reset to use dm cpu data.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Simon Glass <sjg@chromium.org>
utp
Thomas Chou 2015-10-09 09:43:52 +08:00
parent 6368c3e75f
commit 121e36dacd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}