Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340165
b: refs/heads/master
c: 1efdf56
h: refs/heads/master
i:
  340163: afa59bb
v: v3
  • Loading branch information
Kuninori Morimoto authored and Simon Horman committed Oct 30, 2012
1 parent 220e72d commit 4a789eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bd9e2e71205e9d2bba94a02e9c3dacb9abf44042
refs/heads/master: 1efdf56369eb920aef4c77ad04cfafcc680f92cf
8 changes: 8 additions & 0 deletions trunk/arch/arm/mach-shmobile/board-armadillo800eva.c
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,13 @@ static void __init eva_add_early_devices(void)
shmobile_timer.init = eva_earlytimer_init;
}

#define RESCNT2 IOMEM(0xe6188020)
static void eva_restart(char mode, const char *cmd)
{
/* Do soft power on reset */
writel((1 << 31), RESCNT2);
}

static const char *eva_boards_compat_dt[] __initdata = {
"renesas,armadillo800eva",
NULL,
Expand All @@ -1243,4 +1250,5 @@ DT_MACHINE_START(ARMADILLO800EVA_DT, "armadillo800eva")
.init_late = shmobile_init_late,
.timer = &shmobile_timer,
.dt_compat = eva_boards_compat_dt,
.restart = eva_restart,
MACHINE_END

0 comments on commit 4a789eb

Please sign in to comment.