[U-Boot-Users] [patch] add reset support for SUZAKU

Hi,
this patch adds reset support for SUZAKU FPGA board.
thanks, -- yashi
* Patch by Yasushi SHOJI, 29 Jun 2004: - add reset support for SUZAKU
Index: u-boot/board/AtmarkTechno/suzaku/suzaku.c =================================================================== --- u-boot.orig/board/AtmarkTechno/suzaku/suzaku.c +++ u-boot/board/AtmarkTechno/suzaku/suzaku.c @@ -22,8 +22,11 @@ * MA 02111-1307 USA */
-#include <common.h> +/* This is a board specific file. It's OK to include board specific + * header files */ +#include <asm/suzaku.h>
void do_reset(void) { + *((unsigned long *)(MICROBLAZE_SYSREG_BASE_ADDR)) = MICROBLAZE_SYSREG_RECONFIGURE; } Index: u-boot/include/asm-microblaze/suzaku.h =================================================================== --- u-boot.orig/include/asm-microblaze/suzaku.h +++ u-boot/include/asm-microblaze/suzaku.h @@ -22,4 +22,7 @@ * MA 02111-1307 USA */
-/* EMPTY FILE */ +/* System Register (GPIO) */ +#define MICROBLAZE_SYSREG_BASE_ADDR 0xFFFFA000 +#define MICROBLAZE_SYSREG_RECONFIGURE (1 << 0) +

In message 20040628175724.151423E90A@dns1.atmark-techno.com you wrote:
this patch adds reset support for SUZAKU FPGA board.
added, thanks.
Please mind the Coding Style (indentation by TAB).
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
Yasushi SHOJI