diff options
author | Magnus Damm <damm@opensource.se> | 2012-05-14 06:54:41 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-05-14 17:23:42 -0400 |
commit | e6bf705911a0b64c589b6c408a316e7d465acbbd (patch) | |
tree | cb4e65275d8375c3390d6c9640feb20193bd8420 /arch/arm/mach-shmobile/board-armadillo800eva.c | |
parent | 9183857d503f915ee05abb6e03cea7253dcbace6 (diff) |
ARM: mach-shmobile: Use DT_MACHINE for armadillo 800 eva
Use DT_MACHINE_START() on the r8a7740 based armadillo 800 eva board.
Also include a tiny DTS file to describe the board and update the
Kconfig dependencies to select CONFIG_USE_OF.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/arm/mach-shmobile/board-armadillo800eva.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-armadillo800eva.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index e750ea69cc94..9e37026ef9dd 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c | |||
@@ -768,11 +768,17 @@ static void __init eva_add_early_devices(void) | |||
768 | shmobile_timer.init = eva_earlytimer_init; | 768 | shmobile_timer.init = eva_earlytimer_init; |
769 | } | 769 | } |
770 | 770 | ||
771 | MACHINE_START(ARMADILLO800EVA, "armadillo800eva") | 771 | static const char *eva_boards_compat_dt[] __initdata = { |
772 | "renesas,armadillo800eva", | ||
773 | NULL, | ||
774 | }; | ||
775 | |||
776 | DT_MACHINE_START(ARMADILLO800EVA_DT, "armadillo800eva") | ||
772 | .map_io = r8a7740_map_io, | 777 | .map_io = r8a7740_map_io, |
773 | .init_early = eva_add_early_devices, | 778 | .init_early = eva_add_early_devices, |
774 | .init_irq = r8a7740_init_irq, | 779 | .init_irq = r8a7740_init_irq, |
775 | .handle_irq = shmobile_handle_irq_intc, | 780 | .handle_irq = shmobile_handle_irq_intc, |
776 | .init_machine = eva_init, | 781 | .init_machine = eva_init, |
777 | .timer = &shmobile_timer, | 782 | .timer = &shmobile_timer, |
783 | .dt_compat = eva_boards_compat_dt, | ||
778 | MACHINE_END | 784 | MACHINE_END |