diff options
| author | Łukasz Dałek <luk0104@gmail.com> | 2013-01-12 15:32:31 +0000 | 
|---|---|---|
| committer | Marek Vasut <marex@denx.de> | 2013-05-05 23:47:05 +0200 | 
| commit | 66a62ce0dc48d2319938c72f34a562f519c5d5c2 (patch) | |
| tree | 8dd4ba48503a59b29444273bc205f3b9bfba51eb /board/h2200/h2200.c | |
| parent | 2ac2bb7ad2d24eff461762219bb3d76c58c7384b (diff) | |
| download | olio-uboot-2014.01-66a62ce0dc48d2319938c72f34a562f519c5d5c2.tar.xz olio-uboot-2014.01-66a62ce0dc48d2319938c72f34a562f519c5d5c2.zip | |
h2200: Add board reset support
Use Samsung S3CA410X01 companion chip to reset PDA.
Signed-off-by: Lukasz Dalek <luk0104@gmail.com>
Diffstat (limited to 'board/h2200/h2200.c')
| -rw-r--r-- | board/h2200/h2200.c | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/board/h2200/h2200.c b/board/h2200/h2200.c index 720b06e4c..738e480a4 100644 --- a/board/h2200/h2200.c +++ b/board/h2200/h2200.c @@ -32,6 +32,15 @@ int board_eth_init(bd_t *bis)  	return 0;  } +void reset_cpu(ulong ignore) +{ +	/* Enable VLIO interface on Hamcop */ +	writeb(0x1, 0x4000); + +	/* Reset board (cold reset) */ +	writeb(0xff, 0x4002); +} +  int board_init(void)  {  	/* We have RAM, disable cache */ |