mtd: nand: hack ONFI for non-power-of-2 dimensions
[linux/fpc-iii.git] / arch / arm / mach-msm / board-dt-8660.c
blobc2946892f5e3923a45c46fec8338a4319bca157f
1 /* Copyright (c) 2010-2012, The Linux Foundation. All rights reserved.
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
13 #include <linux/init.h>
14 #include <linux/of.h>
15 #include <linux/of_platform.h>
17 #include <asm/mach/arch.h>
18 #include <asm/mach/map.h>
20 #include "common.h"
22 static void __init msm8x60_init_late(void)
24 smd_debugfs_init();
27 static struct of_dev_auxdata msm_auxdata_lookup[] __initdata = {
31 static void __init msm8x60_dt_init(void)
33 of_platform_populate(NULL, of_default_bus_match_table,
34 msm_auxdata_lookup, NULL);
37 static const char *msm8x60_fluid_match[] __initdata = {
38 "qcom,msm8660-fluid",
39 "qcom,msm8660-surf",
40 NULL
43 DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)")
44 .smp = smp_ops(msm_smp_ops),
45 .init_machine = msm8x60_dt_init,
46 .init_late = msm8x60_init_late,
47 .dt_compat = msm8x60_fluid_match,
48 MACHINE_END