diff for duplicates of <20100320024827.GC11448@atomide.com> diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index d77909b..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,2 +0,0 @@ -Content-Type: text/x-diff; charset=us-ascii -Content-Disposition: inline; filename="zoom-uart.patch" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index 33145f7..0000000 --- a/a/2.txt +++ /dev/null @@ -1,86 +0,0 @@ ->From e1b58f9dec794a9ed7fb999a38874f9d785617b7 Mon Sep 17 00:00:00 2001 -From: Tony Lindgren <tony@atomide.com> -Date: Fri, 19 Mar 2010 17:18:45 -0700 -Subject: [PATCH] arm: Fix DEBUG_LL for omap zoom2/3 - -Zoom2 and 3 have UARTs only on the external debug board. -GPMC needs to be mapped early to use it for DEBUG_LL. - -Additionally, 0xfb000000 overlaps with other areas, so -use 0xf7000000 for the virtual address instead. - -Note that with the pending serial.c patches you need to -set console=ttyS0,115200n8 as it will be the only UART -mapped. To use DEBUG_LL, you need to pass also earlyprintk -in cmdline. - -Cc: Allen Pais <allen.pais@ti.com> -Cc: Vikram Pandita <vikram.pandita@ti.com> -Signed-off-by: Tony Lindgren <tony@atomide.com> - -diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S -index eb62bf9..d13af88 100644 ---- a/arch/arm/kernel/head.S -+++ b/arch/arm/kernel/head.S -@@ -328,6 +328,15 @@ __create_page_tables: - add r0, r4, #0xd8000000 >> 18 - str r3, [r0] - #endif -+#if defined(CONFIG_MACH_OMAP_ZOOM2) || defined(CONFIG_MACH_OMAP_ZOOM3) -+ /* -+ * Zoom2 and Zoom3 have UARTs only on the debug board. -+ * The debug board is connected to the GPMC. -+ */ -+ add r0, r4, #0xf7000000 >> 18 -+ orr r3, r7, #0x10000000 -+ str r3, [r0] -+#endif - #endif - mov pc, lr - ENDPROC(__create_page_tables) -diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c -index e15d2e8..1d7f827 100644 ---- a/arch/arm/mach-omap2/board-zoom-debugboard.c -+++ b/arch/arm/mach-omap2/board-zoom-debugboard.c -@@ -82,7 +82,7 @@ static inline void __init zoom_init_smsc911x(void) - - static struct plat_serial8250_port serial_platform_data[] = { - { -- .mapbase = 0x10000000, -+ .mapbase = ZOOM_UART_BASE, - .irq = OMAP_GPIO_IRQ(102), - .flags = UPF_BOOT_AUTOCONF|UPF_IOREMAP|UPF_SHARE_IRQ, - .irqflags = IRQF_SHARED | IRQF_TRIGGER_RISING, -diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c -index 87f676a..1803aac 100644 ---- a/arch/arm/mach-omap2/io.c -+++ b/arch/arm/mach-omap2/io.c -@@ -166,6 +166,15 @@ static struct map_desc omap34xx_io_desc[] __initdata = { - .length = L4_EMU_34XX_SIZE, - .type = MT_DEVICE - }, -+#if defined(CONFIG_DEBUG_LL) && \ -+ (defined(CONFIG_MACH_OMAP_ZOOM2) || defined(CONFIG_MACH_OMAP_ZOOM3)) -+ { -+ .virtual = ZOOM_UART_VIRT, -+ .pfn = __phys_to_pfn(ZOOM_UART_BASE), -+ .length = SZ_1M, -+ .type = MT_DEVICE -+ }, -+#endif - }; - #endif - #ifdef CONFIG_ARCH_OMAP4 -diff --git a/arch/arm/plat-omap/include/plat/serial.h b/arch/arm/plat-omap/include/plat/serial.h -index 83dce4c..a18f617 100644 ---- a/arch/arm/plat-omap/include/plat/serial.h -+++ b/arch/arm/plat-omap/include/plat/serial.h -@@ -39,7 +39,7 @@ - - /* External port on Zoom2/3 */ - #define ZOOM_UART_BASE 0x10000000 --#define ZOOM_UART_VIRT 0xfb000000 -+#define ZOOM_UART_VIRT 0xf7000000 - - #define OMAP_PORT_SHIFT 2 - #define OMAP7XX_PORT_SHIFT 0 diff --git a/a/content_digest b/N1/content_digest index e2ee13c..a9e94cf 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,13 +1,10 @@ "ref\020100320003605.GA11448@atomide.com\0" "ref\020100320004746.GB11448@atomide.com\0" - "From\0Tony Lindgren <tony@atomide.com>\0" - "Subject\0Re: [PATCH] arm: Fix DEBUG_LL for omap zoom2/3\0" + "From\0tony@atomide.com (Tony Lindgren)\0" + "Subject\0[PATCH] arm: Fix DEBUG_LL for omap zoom2/3\0" "Date\0Fri, 19 Mar 2010 19:48:27 -0700\0" - "To\0linux-arm-kernel@lists.infradead.org" - " linux-omap@vger.kernel.org\0" - "Cc\0Allen Pais <allen.pais@ti.com>" - " Vikram Pandita <vikram.pandita@ti.com>\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "* Tony Lindgren <tony@atomide.com> [100319 17:42]:\n" "> * Tony Lindgren <tony@atomide.com> [100319 17:30]:\n" @@ -27,94 +24,5 @@ "Regards,\n" "\n" Tony - "\01:2\0" - "fn\0zoom-uart.patch\0" - "b\0" - ">From e1b58f9dec794a9ed7fb999a38874f9d785617b7 Mon Sep 17 00:00:00 2001\n" - "From: Tony Lindgren <tony@atomide.com>\n" - "Date: Fri, 19 Mar 2010 17:18:45 -0700\n" - "Subject: [PATCH] arm: Fix DEBUG_LL for omap zoom2/3\n" - "\n" - "Zoom2 and 3 have UARTs only on the external debug board.\n" - "GPMC needs to be mapped early to use it for DEBUG_LL.\n" - "\n" - "Additionally, 0xfb000000 overlaps with other areas, so\n" - "use 0xf7000000 for the virtual address instead.\n" - "\n" - "Note that with the pending serial.c patches you need to\n" - "set console=ttyS0,115200n8 as it will be the only UART\n" - "mapped. To use DEBUG_LL, you need to pass also earlyprintk\n" - "in cmdline.\n" - "\n" - "Cc: Allen Pais <allen.pais@ti.com>\n" - "Cc: Vikram Pandita <vikram.pandita@ti.com>\n" - "Signed-off-by: Tony Lindgren <tony@atomide.com>\n" - "\n" - "diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S\n" - "index eb62bf9..d13af88 100644\n" - "--- a/arch/arm/kernel/head.S\n" - "+++ b/arch/arm/kernel/head.S\n" - "@@ -328,6 +328,15 @@ __create_page_tables:\n" - " \tadd\tr0, r4, #0xd8000000 >> 18\n" - " \tstr\tr3, [r0]\n" - " #endif\n" - "+#if defined(CONFIG_MACH_OMAP_ZOOM2) || defined(CONFIG_MACH_OMAP_ZOOM3)\n" - "+\t/*\n" - "+\t * Zoom2 and Zoom3 have UARTs only on the debug board.\n" - "+\t * The debug board is connected to the GPMC.\n" - "+\t */\n" - "+\tadd\tr0, r4, #0xf7000000 >> 18\n" - "+\torr\tr3, r7, #0x10000000\n" - "+\tstr\tr3, [r0]\n" - "+#endif\n" - " #endif\n" - " \tmov\tpc, lr\n" - " ENDPROC(__create_page_tables)\n" - "diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c\n" - "index e15d2e8..1d7f827 100644\n" - "--- a/arch/arm/mach-omap2/board-zoom-debugboard.c\n" - "+++ b/arch/arm/mach-omap2/board-zoom-debugboard.c\n" - "@@ -82,7 +82,7 @@ static inline void __init zoom_init_smsc911x(void)\n" - " \n" - " static struct plat_serial8250_port serial_platform_data[] = {\n" - " \t{\n" - "-\t\t.mapbase\t= 0x10000000,\n" - "+\t\t.mapbase\t= ZOOM_UART_BASE,\n" - " \t\t.irq\t\t= OMAP_GPIO_IRQ(102),\n" - " \t\t.flags\t\t= UPF_BOOT_AUTOCONF|UPF_IOREMAP|UPF_SHARE_IRQ,\n" - " \t\t.irqflags\t= IRQF_SHARED | IRQF_TRIGGER_RISING,\n" - "diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c\n" - "index 87f676a..1803aac 100644\n" - "--- a/arch/arm/mach-omap2/io.c\n" - "+++ b/arch/arm/mach-omap2/io.c\n" - "@@ -166,6 +166,15 @@ static struct map_desc omap34xx_io_desc[] __initdata = {\n" - " \t\t.length\t\t= L4_EMU_34XX_SIZE,\n" - " \t\t.type\t\t= MT_DEVICE\n" - " \t},\n" - "+#if defined(CONFIG_DEBUG_LL) &&\t\t\t\t\t\t\\\n" - "+\t(defined(CONFIG_MACH_OMAP_ZOOM2) || defined(CONFIG_MACH_OMAP_ZOOM3))\n" - "+\t{\n" - "+\t\t.virtual\t= ZOOM_UART_VIRT,\n" - "+\t\t.pfn\t\t= __phys_to_pfn(ZOOM_UART_BASE),\n" - "+\t\t.length\t\t= SZ_1M,\n" - "+\t\t.type\t\t= MT_DEVICE\n" - "+\t},\n" - "+#endif\n" - " };\n" - " #endif\n" - " #ifdef\tCONFIG_ARCH_OMAP4\n" - "diff --git a/arch/arm/plat-omap/include/plat/serial.h b/arch/arm/plat-omap/include/plat/serial.h\n" - "index 83dce4c..a18f617 100644\n" - "--- a/arch/arm/plat-omap/include/plat/serial.h\n" - "+++ b/arch/arm/plat-omap/include/plat/serial.h\n" - "@@ -39,7 +39,7 @@\n" - " \n" - " /* External port on Zoom2/3 */\n" - " #define ZOOM_UART_BASE\t\t0x10000000\n" - "-#define ZOOM_UART_VIRT\t\t0xfb000000\n" - "+#define ZOOM_UART_VIRT\t\t0xf7000000\n" - " \n" - " #define OMAP_PORT_SHIFT\t\t2\n" - " #define OMAP7XX_PORT_SHIFT\t0" -7c109659eaedce580d767e8cd8763072576e0a5f478661a2efcf0acb05b598d8 +35271e17910fcc142dd287c718e0cb3442d6a399eb83484b57996a04449d90f7
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.