diff options
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | 2012-08-05 22:39:13 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-09-22 14:38:58 +0000 |
commit | 2eecb477765840c175133117010a789e58824680 (patch) | |
tree | 78932129b5615871730851664a008e3ec8bf6c10 /arch/arm/mach-kirkwood/board-iconnect.c | |
parent | 17ba0226b9e88cf6ee506986befadfab70ebc6c8 (diff) |
ARM: Kirkwood: Describe iconnect nand in DT.
Define the nand and its partitions in DT and remove them from cmdline
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-iconnect.c')
-rw-r--r-- | arch/arm/mach-kirkwood/board-iconnect.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-kirkwood/board-iconnect.c b/arch/arm/mach-kirkwood/board-iconnect.c index 51728db92dc..d084b1e2943 100644 --- a/arch/arm/mach-kirkwood/board-iconnect.c +++ b/arch/arm/mach-kirkwood/board-iconnect.c @@ -16,7 +16,6 @@ #include <linux/of_fdt.h> #include <linux/of_irq.h> #include <linux/of_platform.h> -#include <linux/mtd/partitions.h> #include <linux/mv643xx_eth.h> #include <linux/gpio.h> #include <asm/mach/arch.h> @@ -42,18 +41,9 @@ static unsigned int iconnect_mpp_config[] __initdata = { 0 }; -static struct mtd_partition iconnect_nand_parts[] = { - { - .name = "flash", - .offset = 0, - .size = MTDPART_SIZ_FULL, - }, -}; - void __init iconnect_init(void) { kirkwood_mpp_conf(iconnect_mpp_config); - kirkwood_nand_init(ARRAY_AND_SIZE(iconnect_nand_parts), 25); kirkwood_ehci_init(); kirkwood_ge00_init(&iconnect_ge00_data); |