ARM: msm: Remove call to missing FPGA init on 8660
authorDavid Brown <davidb@codeaurora.org>
Tue, 8 Nov 2011 17:40:07 +0000 (09:40 -0800)
committerDavid Brown <davidb@codeaurora.org>
Thu, 13 Sep 2012 17:38:55 +0000 (10:38 -0700)
A previous patch[1] added code to initialize an FPGA register on the
8660 "SURF" development platform.  Since this development platform is
not widely available, and there is now a more available device "the
Dragonboard" based on the same core SOC, this change was dropped.

However, the DT code kept a lingering call to this FPGA init function.
Remove it.

[1] https://lkml.org/lkml/2011/8/12/357

Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/board-msm8x60.c

index e37a724..06003b4 100644 (file)
@@ -93,11 +93,6 @@ static struct of_dev_auxdata msm_auxdata_lookup[] __initdata = {
 
 static void __init msm8x60_dt_init(void)
 {
-       if (of_machine_is_compatible("qcom,msm8660-surf")) {
-               printk(KERN_INFO "Init surf UART registers\n");
-               msm8x60_init_uart12dm();
-       }
-
        of_platform_populate(NULL, of_default_bus_match_table,
                        msm_auxdata_lookup, NULL);
 }