diff for duplicates of <20100420092725.436746990@fluff.org.uk> diff --git a/a/1.txt b/N1/1.txt index b32fd1b..16b702b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,47 +1,3 @@ -Add a kirkwood_nand_init_rnb() call to allow boards which -have RnB line detection to register this instead of a -static delay. - -Signed-off-by: Ben Dooks <ben@simtec.co.uk> -Cc: Linux MTD <linux-mtd@lists.infradead.org> - -Index: linux-2.6-2.6.32.9/arch/arm/mach-kirkwood/common.c -=================================================================== ---- linux-2.6-2.6.32.9.orig/arch/arm/mach-kirkwood/common.c 2010-02-23 15:38:51.%N +0000 -+++ linux-2.6-2.6.32.9/arch/arm/mach-kirkwood/common.c 2010-03-11 13:25:01.%N +0000 -@@ -305,6 +305,15 @@ - platform_device_register(&kirkwood_nand_flash); - } - -+void __init kirkwood_nand_init_rnb(struct mtd_partition *parts, int nr_parts, -+ int (*dev_ready)(struct mtd_info *)) -+{ -+ kirkwood_clk_ctrl |= CGC_RUNIT; -+ kirkwood_nand_data.parts = parts; -+ kirkwood_nand_data.nr_parts = nr_parts; -+ kirkwood_nand_data.dev_ready = dev_ready; -+ platform_device_register(&kirkwood_nand_flash); -+} - - /***************************************************************************** - * SoC RTC -Index: linux-2.6-2.6.32.9/arch/arm/mach-kirkwood/common.h -=================================================================== ---- linux-2.6-2.6.32.9.orig/arch/arm/mach-kirkwood/common.h 2010-02-23 15:38:51.%N +0000 -+++ linux-2.6-2.6.32.9/arch/arm/mach-kirkwood/common.h 2010-03-11 13:25:01.%N +0000 -@@ -16,6 +16,7 @@ - struct mv_sata_platform_data; - struct mvsdio_platform_data; - struct mtd_partition; -+struct mtd_info; - - /* - * Basic Kirkwood init functions used early by machine-setup. -@@ -41,6 +42,7 @@ - void kirkwood_uart0_init(void); - void kirkwood_uart1_init(void); - void kirkwood_nand_init(struct mtd_partition *parts, int nr_parts, int delay); -+void kirkwood_nand_init_rnb(struct mtd_partition *parts, int nr_parts, int (*dev_ready)(struct mtd_info *)); - - extern int kirkwood_tclk; - extern struct sys_timer kirkwood_timer; +An embedded and charset-unspecified text was scrubbed... +Name: slinux/arm/kirkwood/allow-mtd-ready-not-busy-registration.patch +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100420/51029c0f/attachment.el> diff --git a/a/content_digest b/N1/content_digest index a04533f..4e331bb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,58 +1,12 @@ "ref\020100420092617.075835456@fluff.org.uk\0" - "From\0Ben Dooks <ben@simtec.co.uk>\0" + "From\0ben@simtec.co.uk (Ben Dooks)\0" "Subject\0[patch 2/4] kirkwood: allow machines to register RnB callback\0" "Date\0Tue, 20 Apr 2010 10:26:19 +0100\0" "To\0linux-arm-kernel@lists.infradead.org\0" - "Cc\0Linux MTD <linux-mtd@lists.infradead.org>\0" "\00:1\0" - "fn\0slinux/arm/kirkwood/allow-mtd-ready-not-busy-registration.patch\0" "b\0" - "Add a kirkwood_nand_init_rnb() call to allow boards which\n" - "have RnB line detection to register this instead of a\n" - "static delay.\n" - "\n" - "Signed-off-by: Ben Dooks <ben@simtec.co.uk>\n" - "Cc: Linux MTD <linux-mtd@lists.infradead.org>\n" - "\n" - "Index: linux-2.6-2.6.32.9/arch/arm/mach-kirkwood/common.c\n" - "===================================================================\n" - "--- linux-2.6-2.6.32.9.orig/arch/arm/mach-kirkwood/common.c\t2010-02-23 15:38:51.%N +0000\n" - "+++ linux-2.6-2.6.32.9/arch/arm/mach-kirkwood/common.c\t2010-03-11 13:25:01.%N +0000\n" - "@@ -305,6 +305,15 @@\n" - " \tplatform_device_register(&kirkwood_nand_flash);\n" - " }\n" - " \n" - "+void __init kirkwood_nand_init_rnb(struct mtd_partition *parts, int nr_parts,\n" - "+\t\t\t\t int (*dev_ready)(struct mtd_info *))\n" - "+{\n" - "+\tkirkwood_clk_ctrl |= CGC_RUNIT;\n" - "+\tkirkwood_nand_data.parts = parts;\n" - "+\tkirkwood_nand_data.nr_parts = nr_parts;\n" - "+\tkirkwood_nand_data.dev_ready = dev_ready;\n" - "+\tplatform_device_register(&kirkwood_nand_flash);\n" - "+}\n" - " \n" - " /*****************************************************************************\n" - " * SoC RTC\n" - "Index: linux-2.6-2.6.32.9/arch/arm/mach-kirkwood/common.h\n" - "===================================================================\n" - "--- linux-2.6-2.6.32.9.orig/arch/arm/mach-kirkwood/common.h\t2010-02-23 15:38:51.%N +0000\n" - "+++ linux-2.6-2.6.32.9/arch/arm/mach-kirkwood/common.h\t2010-03-11 13:25:01.%N +0000\n" - "@@ -16,6 +16,7 @@\n" - " struct mv_sata_platform_data;\n" - " struct mvsdio_platform_data;\n" - " struct mtd_partition;\n" - "+struct mtd_info;\n" - " \n" - " /*\n" - " * Basic Kirkwood init functions used early by machine-setup.\n" - "@@ -41,6 +42,7 @@\n" - " void kirkwood_uart0_init(void);\n" - " void kirkwood_uart1_init(void);\n" - " void kirkwood_nand_init(struct mtd_partition *parts, int nr_parts, int delay);\n" - "+void kirkwood_nand_init_rnb(struct mtd_partition *parts, int nr_parts, int (*dev_ready)(struct mtd_info *));\n" - " \n" - " extern int kirkwood_tclk;\n" - extern struct sys_timer kirkwood_timer; + "An embedded and charset-unspecified text was scrubbed...\n" + "Name: slinux/arm/kirkwood/allow-mtd-ready-not-busy-registration.patch\n" + URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100420/51029c0f/attachment.el> -40a37ee624fa933df6d33b97a83d0f6094e0c2c137f78067c82a14e7cbad8879 +4b798bf0dd8f0a6aca22a7b73e249c717bd16c9a4c4b5d3ba2275022365ef450
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.