mirror of
https://xff.cz/git/u-boot/
synced 2025-09-23 11:32:12 +02:00
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>
This commit is contained in:
@@ -25,7 +25,7 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||||||
{
|
{
|
||||||
disable_interrupts();
|
disable_interrupts();
|
||||||
/* indirect call to go beyond 256MB limitation of toolchain */
|
/* indirect call to go beyond 256MB limitation of toolchain */
|
||||||
nios2_callr(CONFIG_SYS_RESET_ADDR);
|
nios2_callr(gd->arch.reset_addr);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user