diff options
author | Stefan Roese <sr@denx.de> | 2006-10-07 11:30:52 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-10-07 11:30:52 +0200 |
commit | f3443867e90d2979a7dd1c65b0d537777e1f9850 (patch) | |
tree | 8247e64ae645a4b5a51768850c5ad3bd8c0fd3e1 /board/amcc/yosemite/yosemite.c | |
parent | 64cd52efd1dc51a4a5a0cf10efe5362fab27de29 (diff) | |
download | u-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/yosemite.c')
-rw-r--r-- | board/amcc/yosemite/yosemite.c | 6 |
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; +} |