The MicroBlaze port only seems to have a single "microblaze-generic"
board right now with completely undocumented "restart" functionality.

Since the only do_reset() function in the port is in the board-specific
directory, it is renamed __board_restart().

It is unclear whether or not the code properly supports emergency
restart.  A new __board_emergency_restart() may need to be implemented.

Signed-off-by: Kyle Moffett <kyle.d.moff...@boeing.com>
Cc: Michal Simek <mon...@monstr.eu>
---
 .../xilinx/microblaze-generic/microblaze-generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c 
b/board/xilinx/microblaze-generic/microblaze-generic.c
index 183e4dc..d7f0eaa 100644
--- a/board/xilinx/microblaze-generic/microblaze-generic.c
+++ b/board/xilinx/microblaze-generic/microblaze-generic.c
@@ -31,7 +31,7 @@
 #include <asm/microblaze_intc.h>
 #include <asm/asm.h>
 
-int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int __board_restart(void)
 {
 #ifdef CONFIG_SYS_GPIO_0
        *((unsigned long *)(CONFIG_SYS_GPIO_0_ADDR)) =
-- 
1.7.2.3

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to