summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-11-02 09:33:05 +0100
committerMichal Simek <michal.simek@xilinx.com>2013-04-30 11:22:38 +0200
commitb364727abb5aa32120f583a9611944c2444f6b41 (patch)
treef93d3dfa87189d4a9e315c566b80cf594974344c /board
parentd10f68ae47b67acab8b110b5c605dde4197a1820 (diff)
downloadu-boot-imx-b364727abb5aa32120f583a9611944c2444f6b41.zip
u-boot-imx-b364727abb5aa32120f583a9611944c2444f6b41.tar.gz
u-boot-imx-b364727abb5aa32120f583a9611944c2444f6b41.tar.bz2
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>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/microblaze-generic/microblaze-generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze-generic/microblaze-generic.c
index 70f94c1..8ba99f9 100644
--- a/board/xilinx/microblaze-generic/microblaze-generic.c
+++ b/board/xilinx/microblaze-generic/microblaze-generic.c
@@ -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;
}