ARM: shmobile: Select USE_OF on EMEV2
authorMagnus Damm <damm@opensource.se>
Fri, 8 Nov 2013 10:09:34 +0000 (19:09 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 4 Dec 2013 06:11:17 +0000 (15:11 +0900)
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>
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/setup-emev2.c

index 564e0ade347253b610452be4b31ad85af07f7121..180b71fd86f8d4d10359c9f943269ec565b4187d 100644 (file)
@@ -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)"
index e7031b0712744c5560c4bb995dcecac27b0f64b3..c8f2a1a69a5274bec8eab99f44549fb3bbbae955 100644 (file)
@@ -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
@@ -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 */
This page took 0.029605 seconds and 5 git commands to generate.