summaryrefslogtreecommitdiffstats
path: root/board/lwmon5
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 21:59:24 +0100
commitff818b21b069f4bc9cb73373cc5a16014be101b7 (patch)
treecea950fede325dfea0a5d9d41c0e583aba5ebd7e /board/lwmon5
parent603f194e5ad81bb2ef42d6d8aaa74de175bcb411 (diff)
downloadbootable_bootloader_goldelico_gta04-ff818b21b069f4bc9cb73373cc5a16014be101b7.zip
bootable_bootloader_goldelico_gta04-ff818b21b069f4bc9cb73373cc5a16014be101b7.tar.gz
bootable_bootloader_goldelico_gta04-ff818b21b069f4bc9cb73373cc5a16014be101b7.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')
-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);
+}