Add CONFIG_BOARD_RESET to configure board specific reset function
[platform/kernel/u-boot.git] / board / amcc / yosemite / yosemite.c
index 7f2e718..588ee90 100644 (file)
@@ -548,3 +548,9 @@ void hw_watchdog_reset(void)
 
 }
 #endif
+
+void board_reset(void)
+{
+       /* give reset to BCSR */
+       *(unsigned char *)(CFG_BCSR_BASE | 0x06) = 0x09;
+}