]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
microblaze: Fix reset function
authorMichal Simek <monstr@monstr.eu>
Fri, 2 Nov 2012 08:33:05 +0000 (09:33 +0100)
committerMichal Simek <monstr@monstr.eu>
Tue, 6 Nov 2012 14:48:33 +0000 (15:48 +0100)
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>
board/xilinx/microblaze-generic/microblaze-generic.c

index 91b50cd2ec252095d1d1c9f1e711ba20a5777d31..bb844f8d2407c6e2545e249aaad704793820a531 100644 (file)
@@ -38,11 +38,11 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        *((u32 volatile *)(CONFIG_SYS_GPIO_0_ADDR)) =
            ++(*((u32 volatile *)(CONFIG_SYS_GPIO_0_ADDR)));
 #endif
-#ifdef CONFIG_SYS_RESET_ADDRESS
+
        puts ("Reseting board\n");
        disable_interrupts();
        asm ("bra r0");
-#endif
+
        return 0;
 }