summaryrefslogtreecommitdiff
path: root/board/amcc/yosemite
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-10-07 11:30:52 +0200
committerStefan Roese <sr@denx.de>2006-10-07 11:30:52 +0200
commitf3443867e90d2979a7dd1c65b0d537777e1f9850 (patch)
tree8247e64ae645a4b5a51768850c5ad3bd8c0fd3e1 /board/amcc/yosemite
parent64cd52efd1dc51a4a5a0cf10efe5362fab27de29 (diff)
downloadu-boot-imx-f3443867e90d2979a7dd1c65b0d537777e1f9850.zip
u-boot-imx-f3443867e90d2979a7dd1c65b0d537777e1f9850.tar.gz
u-boot-imx-f3443867e90d2979a7dd1c65b0d537777e1f9850.tar.bz2
Add CONFIG_BOARD_RESET to configure board specific reset function
Patch by Stefan Roese, 07 Oct 2006
Diffstat (limited to 'board/amcc/yosemite')
-rw-r--r--board/amcc/yosemite/yosemite.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/amcc/yosemite/yosemite.c b/board/amcc/yosemite/yosemite.c
index 7f2e718..588ee90 100644
--- a/board/amcc/yosemite/yosemite.c
+++ b/board/amcc/yosemite/yosemite.c
@@ -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;
+}