]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
microblaze: Fix reset function
authorMichal Simek <monstr@monstr.eu>
Fri, 2 Nov 2012 08:33:05 +0000 (09:33 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Apr 2013 09:22:38 +0000 (11:22 +0200)
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>
board/xilinx/microblaze-generic/microblaze-generic.c

index 70f94c1a5973a12be8ae2ccf93f78a4390ef9f4a..8ba99f9c50a93df6b3674198eb24514a746737af 100644 (file)
@@ -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;
 }