Skip to content
Snippets Groups Projects
Commit 66a62ce0 authored by Łukasz Dałek's avatar Łukasz Dałek Committed by Marek Vasut
Browse files

h2200: Add board reset support


Use Samsung S3CA410X01 companion chip to reset PDA.

Signed-off-by: default avatarLukasz Dalek <luk0104@gmail.com>
parent 2ac2bb7a
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment