[PATCH 5/6] ARM: OMAP2+: Remove legacy sram init code for omap3 platforms
Dave Gerlach
d-gerlach at ti.com
Mon May 9 14:49:25 PDT 2016
Remove omap3 platforms from using legacy sram init code in mach-omap2 as
the platforms will now use the generic mmio-sram driver like other omap
platforms already do.
Signed-off-by: Dave Gerlach <d-gerlach at ti.com>
---
arch/arm/mach-omap2/pdata-quirks.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index a935d28443da..1a5b8afdb2e3 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -579,8 +579,7 @@ void __init pdata_quirks_init(const struct of_device_id *omap_dt_match_table)
* We still need this for omap2420 and omap3 PM to work, others are
* using drivers/misc/sram.c already.
*/
- if (of_machine_is_compatible("ti,omap2420") ||
- of_machine_is_compatible("ti,omap3"))
+ if (of_machine_is_compatible("ti,omap2420"))
omap_sdrc_init(NULL, NULL);
pdata_quirks_check(auxdata_quirks);
--
2.7.3
More information about the linux-arm-kernel
mailing list