mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
microblaze: Fix reset function
Remove CONFIG_SYS_RESET_ADDRESS macro. It was there from historical point of view when soft reset was just jump to u-boot text start (not used right now). Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
d10f68ae47
commit
b364727abb
1 changed files with 2 additions and 2 deletions
|
@ -38,10 +38,10 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||
*((unsigned long *)(CONFIG_SYS_GPIO_0_ADDR)) =
|
||||
++(*((unsigned long *)(CONFIG_SYS_GPIO_0_ADDR)));
|
||||
#endif
|
||||
#ifdef CONFIG_SYS_RESET_ADDRESS
|
||||
|
||||
puts ("Reseting board\n");
|
||||
asm ("bra r0");
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue