aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-11-03 20:45:01 -0500
committerTony Lindgren <tony@atomide.com>2014-11-03 20:45:01 -0500
commit9995772a6d70196ccf0295e4a1cfbb7e4c4a0ef1 (patch)
tree05372680506ce4d143ab2c3d7956632241cb5215 /arch/arm/mach-omap2
parent35ac051e019431ccdfdaa9d71e08123870770de2 (diff)
ARM: OMAP2+: Require proper GPMC timings for devices
Now that we have timings in the .dts files for smc91x and 8250, we can remove the device specific checks and just print out the bootloader timings for devices that may not have timings in the .dts files. Acked-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/gpmc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
index eee7065a5020..a7554ac3f37c 100644
--- a/arch/arm/mach-omap2/gpmc.c
+++ b/arch/arm/mach-omap2/gpmc.c
@@ -1713,22 +1713,6 @@ static int gpmc_probe_generic_child(struct platform_device *pdev,
1713 } 1713 }
1714 1714
1715 /* 1715 /*
1716 * For some GPMC devices we still need to rely on the bootloader
1717 * timings because the devices can be connected via FPGA. So far
1718 * the list is smc91x on the omap2 SDP boards, and 8250 on zooms.
1719 * REVISIT: Add timing support from slls644g.pdf and from the
1720 * lan91c96 manual.
1721 */
1722 if (of_device_is_compatible(child, "ns16550a") ||
1723 of_device_is_compatible(child, "smsc,lan91c94") ||
1724 of_device_is_compatible(child, "smsc,lan91c111")) {
1725 dev_warn(&pdev->dev,
1726 "%s using bootloader timings on CS%d\n",
1727 child->name, cs);
1728 goto no_timings;
1729 }
1730
1731 /*
1732 * FIXME: gpmc_cs_request() will map the CS to an arbitary 1716 * FIXME: gpmc_cs_request() will map the CS to an arbitary
1733 * location in the gpmc address space. When booting with 1717 * location in the gpmc address space. When booting with
1734 * device-tree we want the NOR flash to be mapped to the 1718 * device-tree we want the NOR flash to be mapped to the