summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/board-generic.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-10-11 02:45:12 +0400
committerTony Lindgren <tony@atomide.com>2013-10-11 02:45:12 +0400
commit8651bd8ce36fb324c218167c970d6734dc825f2c (patch)
treeaef05ce78df2928d6755ef8acaac56072c95449e /arch/arm/mach-omap2/board-generic.c
parentf1ca2218881eee7a6f7c9659b837a4c412f8fd06 (diff)
downloadlinux-8651bd8ce36fb324c218167c970d6734dc825f2c.tar.xz
ARM: OMAP2+: Add support for auxdata
For few things we're still going to be needing platform data for device tree based drivers. Let's set up auxdata handling and do it in pdata-quirks.c so we have all the legacy calls in one place. Reviewed-by: Kevin Hilman <khilman@linaro.org> Tested-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r--arch/arm/mach-omap2/board-generic.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
index a66575f33973..3017a9d67ac8 100644
--- a/arch/arm/mach-omap2/board-generic.c
+++ b/arch/arm/mach-omap2/board-generic.c
@@ -35,10 +35,7 @@ static struct of_device_id omap_dt_match_table[] __initdata = {
static void __init omap_generic_init(void)
{
- omap_sdrc_init(NULL, NULL);
-
- of_platform_populate(NULL, omap_dt_match_table, NULL, NULL);
- pdata_quirks_init();
+ pdata_quirks_init(omap_dt_match_table);
}
#ifdef CONFIG_SOC_OMAP2420