ARM: OMAP2+: Remove useless check for legacy booting for dm814x
authorTony Lindgren <tony@atomide.com>
Thu, 3 Dec 2015 20:02:32 +0000 (12:02 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Dec 2015 00:53:46 +0000 (16:53 -0800)
We have never had dm814x booting properly with mainline kernel using
the legacy platform data based booting. Current minimal support is
device tree only.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c

index 3eaeaca5da05f95fffe03d8927bc0b9ec0f63ef5..3c87e40650cf374daf3083437c8ec614fdbc136e 100644 (file)
@@ -612,8 +612,7 @@ void __init ti814x_init_early(void)
        ti814x_clockdomains_init();
        dm814x_hwmod_init();
        omap_hwmod_init_postsetup();
-       if (of_have_populated_dt())
-               omap_clk_soc_init = dm814x_dt_clk_init;
+       omap_clk_soc_init = dm814x_dt_clk_init;
 }
 
 void __init ti816x_init_early(void)