projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6368c3e
)
nios2: convert do_reset to use dm cpu data
author
Thomas Chou
<thomas@wytron.com.tw>
Fri, 9 Oct 2015 01:43:52 +0000
(09:43 +0800)
committer
Thomas Chou
<thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:37:20 +0000
(07:37 +0800)
Convert do_reset to use dm cpu data.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/nios2/cpu/cpu.c
patch
|
blob
|
history
diff --git
a/arch/nios2/cpu/cpu.c
b/arch/nios2/cpu/cpu.c
index d7ff290fd7e0945f252d43d6f25dc7b8fc75d4cd..0e71b4384214d9304d4f715d203525e2c1a1fb87 100644
(file)
--- a/
arch/nios2/cpu/cpu.c
+++ b/
arch/nios2/cpu/cpu.c
@@
-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;
}