All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100501015050.GM29604@atomide.com>

diff --git a/a/2.hdr b/a/2.hdr
deleted file mode 100644
index 8a2ec57..0000000
--- a/a/2.hdr
+++ /dev/null
@@ -1,2 +0,0 @@
-Content-Type: text/x-diff; charset=us-ascii
-Content-Disposition: inline; filename="zoom-debug-ll.patch"
diff --git a/a/2.txt b/a/2.txt
deleted file mode 100644
index ea529ab..0000000
--- a/a/2.txt
+++ /dev/null
@@ -1,113 +0,0 @@
->From 0130fa96f1016c25540ded86ea66f5a6198489c7 Mon Sep 17 00:00:00 2001
-From: Tony Lindgren <tony@atomide.com>
-Date: Fri, 30 Apr 2010 12:57:14 -0700
-Subject: [PATCH] omap2/3: 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 0xfa400000 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/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/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c
-index 9a26f84..803ef14 100644
---- a/arch/arm/mach-omap2/board-zoom2.c
-+++ b/arch/arm/mach-omap2/board-zoom2.c
-@@ -91,8 +91,8 @@ static void __init omap_zoom2_map_io(void)
- }
- 
- MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board")
--	.phys_io	= 0x48000000,
--	.io_pg_offst	= ((0xfa000000) >> 18) & 0xfffc,
-+	.phys_io	= ZOOM_UART_BASE,
-+	.io_pg_offst	= (ZOOM_UART_VIRT >> 18) & 0xfffc,
- 	.boot_params	= 0x80000100,
- 	.map_io		= omap_zoom2_map_io,
- 	.init_irq	= omap_zoom2_init_irq,
-diff --git a/arch/arm/mach-omap2/board-zoom3.c b/arch/arm/mach-omap2/board-zoom3.c
-index cd3e40c..3314704 100644
---- a/arch/arm/mach-omap2/board-zoom3.c
-+++ b/arch/arm/mach-omap2/board-zoom3.c
-@@ -73,8 +73,8 @@ static void __init omap_zoom_init(void)
- }
- 
- MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board")
--	.phys_io	= 0x48000000,
--	.io_pg_offst	= ((0xfa000000) >> 18) & 0xfffc,
-+	.phys_io	= ZOOM_UART_BASE,
-+	.io_pg_offst	= (ZOOM_UART_VIRT >> 18) & 0xfffc,
- 	.boot_params	= 0x80000100,
- 	.map_io		= omap_zoom_map_io,
- 	.init_irq	= omap_zoom_init_irq,
-diff --git a/arch/arm/mach-omap2/include/mach/debug-macro.S b/arch/arm/mach-omap2/include/mach/debug-macro.S
-index 4976169..35b2440 100644
---- a/arch/arm/mach-omap2/include/mach/debug-macro.S
-+++ b/arch/arm/mach-omap2/include/mach/debug-macro.S
-@@ -88,10 +88,10 @@ omap_uart_lsr:	.word	0
- 		b	98f
- 44:		mov	\rx, #UART_OFFSET(OMAP4_UART4_BASE)
- 		b	98f
--95:		mov	\rx, #ZOOM_UART_BASE
-+95:		ldr	\rx, =ZOOM_UART_BASE
- 		ldr	\tmp, =omap_uart_phys
- 		str	\rx, [\tmp, #0]
--		mov	\rx, #ZOOM_UART_VIRT
-+		ldr	\rx, =ZOOM_UART_VIRT
- 		ldr	\tmp, =omap_uart_virt
- 		str	\rx, [\tmp, #0]
- 		mov	\rx, #(UART_LSR << ZOOM_PORT_SHIFT)
-diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
-index 87f676a..3cfb425 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 20c27b9..a680715 100644
---- a/arch/arm/plat-omap/include/plat/serial.h
-+++ b/arch/arm/plat-omap/include/plat/serial.h
-@@ -41,7 +41,7 @@
- 
- /* External port on Zoom2/3 */
- #define ZOOM_UART_BASE		0x10000000
--#define ZOOM_UART_VIRT		0xfb000000
-+#define ZOOM_UART_VIRT		0xfa400000
- 
- #define OMAP_PORT_SHIFT		2
- #define OMAP7XX_PORT_SHIFT	0
diff --git a/a/content_digest b/N1/content_digest
index 9c5bce7..b467fbd 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -8,17 +8,11 @@
  "ref\020100430233002.GJ29604@atomide.com\0"
  "ref\087sk6c8osn.fsf@deeprootsystems.com\0"
  "ref\020100501013751.GL29604@atomide.com\0"
- "From\0Tony Lindgren <tony@atomide.com>\0"
- "Subject\0Re: [PATCH 02/11] omap2/3: Fix DEBUG_LL for omap zoom2/3\0"
+ "From\0tony@atomide.com (Tony Lindgren)\0"
+ "Subject\0[PATCH 02/11] omap2/3: Fix DEBUG_LL for omap zoom2/3\0"
  "Date\0Fri, 30 Apr 2010 18:50:50 -0700\0"
- "To\0Kevin Hilman <khilman@deeprootsystems.com>\0"
- "Cc\0Pandita"
-  Vikram <vikram.pandita@ti.com>
-  linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>
-  linux-omap@vger.kernel.org <linux-omap@vger.kernel.org>
-  Pais
- " Allen <allen.pais@ti.com>\0"
- "\01:1\0"
+ "To\0linux-arm-kernel@lists.infradead.org\0"
+ "\00:1\0"
  "b\0"
  "* Tony Lindgren <tony@atomide.com> [100430 18:33]:\n"
  "> \n"
@@ -44,121 +38,5 @@
  "Regards,\n"
  "\n"
  Tony
- "\01:2\0"
- "fn\0zoom-debug-ll.patch\0"
- "b\0"
- ">From 0130fa96f1016c25540ded86ea66f5a6198489c7 Mon Sep 17 00:00:00 2001\n"
- "From: Tony Lindgren <tony@atomide.com>\n"
- "Date: Fri, 30 Apr 2010 12:57:14 -0700\n"
- "Subject: [PATCH] omap2/3: 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 0xfa400000 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/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/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c\n"
- "index 9a26f84..803ef14 100644\n"
- "--- a/arch/arm/mach-omap2/board-zoom2.c\n"
- "+++ b/arch/arm/mach-omap2/board-zoom2.c\n"
- "@@ -91,8 +91,8 @@ static void __init omap_zoom2_map_io(void)\n"
- " }\n"
- " \n"
- " MACHINE_START(OMAP_ZOOM2, \"OMAP Zoom2 board\")\n"
- "-\t.phys_io\t= 0x48000000,\n"
- "-\t.io_pg_offst\t= ((0xfa000000) >> 18) & 0xfffc,\n"
- "+\t.phys_io\t= ZOOM_UART_BASE,\n"
- "+\t.io_pg_offst\t= (ZOOM_UART_VIRT >> 18) & 0xfffc,\n"
- " \t.boot_params\t= 0x80000100,\n"
- " \t.map_io\t\t= omap_zoom2_map_io,\n"
- " \t.init_irq\t= omap_zoom2_init_irq,\n"
- "diff --git a/arch/arm/mach-omap2/board-zoom3.c b/arch/arm/mach-omap2/board-zoom3.c\n"
- "index cd3e40c..3314704 100644\n"
- "--- a/arch/arm/mach-omap2/board-zoom3.c\n"
- "+++ b/arch/arm/mach-omap2/board-zoom3.c\n"
- "@@ -73,8 +73,8 @@ static void __init omap_zoom_init(void)\n"
- " }\n"
- " \n"
- " MACHINE_START(OMAP_ZOOM3, \"OMAP Zoom3 board\")\n"
- "-\t.phys_io\t= 0x48000000,\n"
- "-\t.io_pg_offst\t= ((0xfa000000) >> 18) & 0xfffc,\n"
- "+\t.phys_io\t= ZOOM_UART_BASE,\n"
- "+\t.io_pg_offst\t= (ZOOM_UART_VIRT >> 18) & 0xfffc,\n"
- " \t.boot_params\t= 0x80000100,\n"
- " \t.map_io\t\t= omap_zoom_map_io,\n"
- " \t.init_irq\t= omap_zoom_init_irq,\n"
- "diff --git a/arch/arm/mach-omap2/include/mach/debug-macro.S b/arch/arm/mach-omap2/include/mach/debug-macro.S\n"
- "index 4976169..35b2440 100644\n"
- "--- a/arch/arm/mach-omap2/include/mach/debug-macro.S\n"
- "+++ b/arch/arm/mach-omap2/include/mach/debug-macro.S\n"
- "@@ -88,10 +88,10 @@ omap_uart_lsr:\t.word\t0\n"
- " \t\tb\t98f\n"
- " 44:\t\tmov\t\\rx, #UART_OFFSET(OMAP4_UART4_BASE)\n"
- " \t\tb\t98f\n"
- "-95:\t\tmov\t\\rx, #ZOOM_UART_BASE\n"
- "+95:\t\tldr\t\\rx, =ZOOM_UART_BASE\n"
- " \t\tldr\t\\tmp, =omap_uart_phys\n"
- " \t\tstr\t\\rx, [\\tmp, #0]\n"
- "-\t\tmov\t\\rx, #ZOOM_UART_VIRT\n"
- "+\t\tldr\t\\rx, =ZOOM_UART_VIRT\n"
- " \t\tldr\t\\tmp, =omap_uart_virt\n"
- " \t\tstr\t\\rx, [\\tmp, #0]\n"
- " \t\tmov\t\\rx, #(UART_LSR << ZOOM_PORT_SHIFT)\n"
- "diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c\n"
- "index 87f676a..3cfb425 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\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 20c27b9..a680715 100644\n"
- "--- a/arch/arm/plat-omap/include/plat/serial.h\n"
- "+++ b/arch/arm/plat-omap/include/plat/serial.h\n"
- "@@ -41,7 +41,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\t0xfa400000\n"
- " \n"
- " #define OMAP_PORT_SHIFT\t\t2\n"
- " #define OMAP7XX_PORT_SHIFT\t0"
 
-e84e3c0a445841127352b1367bdbcc0723a80036c87a6a8de5def271220bac0a
+6a0cd4607ef1c600c57b82f97c0d8f0dd46efdbccf5e83129fe93e3101d375de

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.