summaryrefslogtreecommitdiff
path: root/board/lwmon5/lwmon5.c
diff options
context:
space:
mode:
authorYuri Tikhonov <yur@pollux.denx.de>2008-02-04 17:11:53 +0100
committerWolfgang Denk <wd@denx.de>2008-03-18 22:24:48 +0100
commit0f009f781b5b88f25769e154ea4d42db13baf0c6 (patch)
treeb669af9e38d44a80ff963e0967d4f84acfab9083 /board/lwmon5/lwmon5.c
parentf694e32f93565ec1fa8d0226c584d6b89e931ed9 (diff)
downloadu-boot-imx-0f009f781b5b88f25769e154ea4d42db13baf0c6.zip
u-boot-imx-0f009f781b5b88f25769e154ea4d42db13baf0c6.tar.gz
u-boot-imx-0f009f781b5b88f25769e154ea4d42db13baf0c6.tar.bz2
Add support for the lwmon5 board reset via GPIO58.
Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Diffstat (limited to 'board/lwmon5/lwmon5.c')
-rw-r--r--board/lwmon5/lwmon5.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/lwmon5/lwmon5.c b/board/lwmon5/lwmon5.c
index 73d5de5..7c5f6cc 100644
--- a/board/lwmon5/lwmon5.c
+++ b/board/lwmon5/lwmon5.c
@@ -594,3 +594,8 @@ void video_get_info_str (int line_number, char *info)
}
#endif
#endif /* CONFIG_VIDEO */
+
+void board_reset(void)
+{
+ gpio_write_bit(CFG_GPIO_BOARD_RESET, 1);
+}