diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2013-11-16 20:36:22 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-11-25 15:38:09 -0800 |
commit | 218077a3c03d8c136691a0020424633525fcdc85 (patch) | |
tree | b9a6da0db5120a69a4850c5dc49b65493c55be51 /arch/arm/mach-omap2/board-n8x0.c | |
parent | b05ef2159dd373034332151ff7341d0231fae799 (diff) |
ARM: OMAP2+: dts: add n8x0 onenand
Convert onenand to DT on n8x0 boards.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-n8x0.c')
-rw-r--r-- | arch/arm/mach-omap2/board-n8x0.c | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c index d596571d7750..aead77a4bc6d 100644 --- a/arch/arm/mach-omap2/board-n8x0.c +++ b/arch/arm/mach-omap2/board-n8x0.c @@ -162,49 +162,6 @@ static struct spi_board_info n800_spi_board_info[] __initdata = { }, }; -#if defined(CONFIG_MTD_ONENAND_OMAP2) || \ - defined(CONFIG_MTD_ONENAND_OMAP2_MODULE) - -static struct mtd_partition onenand_partitions[] = { - { - .name = "bootloader", - .offset = 0, - .size = 0x20000, - .mask_flags = MTD_WRITEABLE, /* Force read-only */ - }, - { - .name = "config", - .offset = MTDPART_OFS_APPEND, - .size = 0x60000, - }, - { - .name = "kernel", - .offset = MTDPART_OFS_APPEND, - .size = 0x200000, - }, - { - .name = "initfs", - .offset = MTDPART_OFS_APPEND, - .size = 0x400000, - }, - { - .name = "rootfs", - .offset = MTDPART_OFS_APPEND, - .size = MTDPART_SIZ_FULL, - }, -}; - -static struct omap_onenand_platform_data board_onenand_data[] = { - { - .cs = 0, - .gpio_irq = 26, - .parts = onenand_partitions, - .nr_parts = ARRAY_SIZE(onenand_partitions), - .flags = ONENAND_SYNC_READ, - } -}; -#endif - #if defined(CONFIG_MENELAUS) && \ (defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE)) @@ -639,7 +596,6 @@ static int __init n8x0_late_initcall(void) if (!board_caps) return -ENODEV; - gpmc_onenand_init(board_onenand_data); n8x0_mmc_init(); n8x0_usb_init(); |