mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
h2200: Add board reset support
Use Samsung S3CA410X01 companion chip to reset PDA. Signed-off-by: Lukasz Dalek <luk0104@gmail.com>
This commit is contained in:
parent
2ac2bb7ad2
commit
66a62ce0dc
1 changed files with 9 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue