Skip to content

Commit

Permalink
ARM: shmobile: Select USE_OF on EMEV2
Browse files Browse the repository at this point in the history
Now when the legacy KZM9D board code is gone, make sure
USE_OF is selected in case of the EMEV2 SoC.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Magnus Damm authored and Simon Horman committed Dec 4, 2013
1 parent 6c334d2 commit 81fd1b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-shmobile/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ config ARCH_EMEV2
select ARCH_WANT_OPTIONAL_GPIOLIB
select ARM_GIC
select CPU_V7
select USE_OF

config ARCH_R7S72100
bool "RZ/A1H (R7S72100)"
Expand Down
4 changes: 0 additions & 4 deletions arch/arm/mach-shmobile/setup-emev2.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ void __init emev2_init_delay(void)
shmobile_setup_delay(533, 1, 3); /* Cortex-A9 @ 533MHz */
}

#ifdef CONFIG_USE_OF

static void __init emev2_add_standard_devices_dt(void)
{
#ifdef CONFIG_COMMON_CLK
Expand All @@ -73,5 +71,3 @@ DT_MACHINE_START(EMEV2_DT, "Generic Emma Mobile EV2 (Flattened Device Tree)")
.init_late = shmobile_init_late,
.dt_compat = emev2_boards_compat_dt,
MACHINE_END

#endif /* CONFIG_USE_OF */

0 comments on commit 81fd1b6

Please sign in to comment.