projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add CONFIG_BOARD_RESET to configure board specific reset function
[platform/kernel/u-boot.git]
/
board
/
amcc
/
yosemite
/
yosemite.c
diff --git
a/board/amcc/yosemite/yosemite.c
b/board/amcc/yosemite/yosemite.c
index
7f2e718
..
588ee90
100644
(file)
--- 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;
+}