omap multiboot improvments for merge window after 2.6.34
Subsystems (5)
Tony Lindgren
maintainercover omap multiboot improvments for merge window after 2.6.34
Hi all,
Here are some multiboot improvments for review. These patches are intended for the 2.6.34 merge window.
Comments and testing would be nice, I've tested them so far on osk, 770, n800, rx51 and overo.
Regards,
Tony
---
Tony Lindgren (4):
omap: Clean the serial port defines
omap: Make uncompress code and DEBUG_LL code generic
omap: Remove old DEBUG_LL serial port options
omap: Make get_irqnr_and_base common for mach-omap2 multiboot
arch/arm/mach-omap1/include/mach/debug-macro.S | 83 ++++++++++-- arch/arm/mach-omap1/serial.c | 18 ++- arch/arm/mach-omap2/include/mach/debug-macro.S | 91 +++++++++---- arch/arm/mach-omap2/include/mach/entry-macro.S | 55 +++++--- arch/arm/mach-omap2/serial.c | 26 +++- arch/arm/plat-omap/Kconfig | 19 --- arch/arm/plat-omap/common.c | 18 +++ arch/arm/plat-omap/include/plat/common.h | 5 + arch/arm/plat-omap/include/plat/serial.h | 62 ++++++--- arch/arm/plat-omap/include/plat/uncompress.h | 168 +++++++++++++++++------- 10 files changed, 390 insertions(+), 155 deletions(-)
Signature · 1 line
Signature
Tony Lindgren
maintainerPATCH 1/4 omap: Clean the serial port defines
This way we don't have conflicts with the defines with compiling in multiple omaps. Set the addresses for uarts in struct omap_globals for the early serial init code.
--- arch/arm/mach-omap1/include/mach/debug-macro.S | 16 +++++---- arch/arm/mach-omap1/serial.c | 6 ++- arch/arm/mach-omap2/include/mach/debug-macro.S | 15 ++++---- arch/arm/mach-omap2/serial.c | 15 ++++++-- arch/arm/plat-omap/common.c | 18 ++++++++++ arch/arm/plat-omap/include/plat/common.h | 5 +++ arch/arm/plat-omap/include/plat/serial.h | 44 +++++++++++++----------- 7 files changed, 77 insertions(+), 42 deletions(-)
arch/arm/mach-omap1/include/mach/debug-macro.S +10 -6
@@ -11,6 +11,10 @@ * */ +#include <linux/serial_reg.h> + +#include <plat/serial.h> + .macro addruart,rx mrc p15, 0, \rx, c1, c0 tst \rx, #1 @ MMU enabled?
@@ -30,13 +34,13 @@ .endm .macro busyuart,rd,rx -1001: ldrb \rd, [\rx, #(0x5 << 2)] @ OMAP-1510 and friends - and \rd, \rd, #0x60 - teq \rd, #0x60 +1001: ldrb \rd, [\rx, #(UART_LSR << OMAP_PORT_SHIFT)] + and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) + teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) beq 1002f - ldrb \rd, [\rx, #(0x5 << 0)] @ OMAP-730 only - and \rd, \rd, #0x60 - teq \rd, #0x60 + ldrb \rd, [\rx, #(UART_LSR << OMAP7XX_PORT_SHIFT)] + and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) + teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) bne 1001b 1002: .endm
arch/arm/mach-omap1/serial.c +3 -3
@@ -64,7 +64,7 @@ static void __init omap_serial_reset(struct plat_serial8250_port *p)static struct plat_serial8250_port serial_platform_data[] = { { - .mapbase =OMAP_UART1_BASE , + .mapbase =OMAP1_UART1_BASE , .irq =INT_UART1 , .flags =UPF_BOOT_AUTOCONF , .iotype =UPIO_MEM ,
@@ -72,7 +72,7 @@ static struct plat_serial8250_port serial_platform_data[] = { .uartclk = OMAP16XX_BASE_BAUD * 16, }, { - .mapbase = OMAP_UART2_BASE, + .mapbase = OMAP1_UART2_BASE, .irq = INT_UART2, .flags = UPF_BOOT_AUTOCONF, .iotype = UPIO_MEM,
@@ -80,7 +80,7 @@ static struct plat_serial8250_port serial_platform_data[] = { .uartclk = OMAP16XX_BASE_BAUD * 16, }, { - .mapbase = OMAP_UART3_BASE, + .mapbase = OMAP1_UART3_BASE, .irq = INT_UART3, .flags = UPF_BOOT_AUTOCONF, .iotype = UPIO_MEM,
arch/arm/mach-omap2/include/mach/debug-macro.S +7 -8
@@ -11,6 +11,10 @@ * */ +#include <linux/serial_reg.h> + +#include <plat/serial.h> + .macro addruart,rx mrc p15, 0, \rx, c1, c0 tst \rx, #1 @ MMU enabled?
@@ -44,15 +48,10 @@ .endm .macro busyuart,rd,rx -1001: ldrb \rd, [\rx, #(0x5 << 2)] @ OMAP-1510 and friends - and \rd, \rd, #0x60 - teq \rd, #0x60 - beq 1002f - ldrb \rd, [\rx, #(0x5 << 0)] @ OMAP-730 only - and \rd, \rd, #0x60 - teq \rd, #0x60 +1001: ldrb \rd, [\rx, #(UART_LSR << OMAP_PORT_SHIFT)] + and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) + teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) bne 1001b -1002: .endm .macro waituart,rd,rx
arch/arm/mach-omap2/serial.c +11 -4
@@ -74,7 +74,6 @@ static LIST_HEAD(uart_list);static struct plat_serial8250_port serial_platform_data0[] = { { - .mapbase =OMAP_UART1_BASE , .irq =72 , .flags =UPF_BOOT_AUTOCONF , .iotype =UPIO_MEM ,
@@ -87,7 +86,6 @@ static struct plat_serial8250_port serial_platform_data0[] = {static struct plat_serial8250_port serial_platform_data1[] = { { - .mapbase =OMAP_UART2_BASE , .irq =73 , .flags =UPF_BOOT_AUTOCONF , .iotype =UPIO_MEM ,
@@ -100,7 +98,6 @@ static struct plat_serial8250_port serial_platform_data1[] = {static struct plat_serial8250_port serial_platform_data2[] = { { - .mapbase =OMAP_UART3_BASE , .irq =74 , .flags =UPF_BOOT_AUTOCONF , .iotype =UPIO_MEM ,
@@ -114,7 +111,6 @@ static struct plat_serial8250_port serial_platform_data2[] = { #ifdef CONFIG_ARCH_OMAP4 static struct plat_serial8250_port serial_platform_data3[] = { { - .mapbase = OMAP_UART4_BASE, .irq = 70, .flags = UPF_BOOT_AUTOCONF, .iotype = UPIO_MEM,
@@ -125,6 +121,17 @@ static struct plat_serial8250_port serial_platform_data3[] = { } };#endif + +void __init omap2_set_globals_uart (struct omap_globals *omap2_globals) +{ + serial_platform_data0[0 ].mapbase = omap2_globals->uart1_phys; + serial_platform_data1[0 ].mapbase = omap2_globals->uart2_phys; + serial_platform_data2[0 ].mapbase = omap2_globals->uart3_phys; +#ifdef CONFIG_ARCH_OMAP4 + serial_platform_data3[0 ].mapbase = omap2_globals->uart4_phys; +#endif +} +static inline unsigned int __serial_read_reg (struct uart_port *up,int offset) {
arch/arm/plat-omap/common.c +18 -0
@@ -34,6 +34,7 @@#include <plat/control.h> #include <plat/mux.h> #include <plat/fpga.h> +#include <plat/serial.h> #include <plat/clock.h>
@@ -233,11 +234,15 @@ static struct omap_globals omap242x_globals = { .ctrl = OMAP2_L4_IO_ADDRESS(OMAP2420_CTRL_BASE), .prm = OMAP2_L4_IO_ADDRESS(OMAP2420_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP2420_CM_BASE), + .uart1_phys = OMAP2_UART1_BASE, + .uart2_phys = OMAP2_UART2_BASE, + .uart3_phys = OMAP2_UART3_BASE, };void __init omap2_set_globals_242x (void ) {__omap2_set_globals (&omap242x_globals); +omap2_set_globals_uart (&omap242x_globals); }#endif
@@ -251,11 +256,15 @@ static struct omap_globals omap243x_globals = { .ctrl = OMAP2_L4_IO_ADDRESS(OMAP243X_CTRL_BASE), .prm = OMAP2_L4_IO_ADDRESS(OMAP2430_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP2430_CM_BASE), + .uart1_phys = OMAP2_UART1_BASE, + .uart2_phys = OMAP2_UART2_BASE, + .uart3_phys = OMAP2_UART3_BASE, };void __init omap2_set_globals_243x (void ) {__omap2_set_globals (&omap243x_globals); +omap2_set_globals_uart (&omap243x_globals); }#endif
@@ -269,11 +278,15 @@ static struct omap_globals omap343x_globals = { .ctrl = OMAP2_L4_IO_ADDRESS(OMAP343X_CTRL_BASE), .prm = OMAP2_L4_IO_ADDRESS(OMAP3430_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP3430_CM_BASE), + .uart1_phys = OMAP3_UART1_BASE, + .uart2_phys = OMAP3_UART2_BASE, + .uart3_phys = OMAP3_UART3_BASE, };void __init omap2_set_globals_343x (void ) {__omap2_set_globals (&omap343x_globals); +omap2_set_globals_uart (&omap343x_globals); }#endif
@@ -285,6 +298,10 @@ static struct omap_globals omap4_globals = { .prm = OMAP2_L4_IO_ADDRESS(OMAP4430_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP4430_CM_BASE), .cm2 = OMAP2_L4_IO_ADDRESS(OMAP4430_CM2_BASE), + .uart1_phys = OMAP4_UART1_BASE, + .uart2_phys = OMAP4_UART2_BASE, + .uart3_phys = OMAP4_UART3_BASE, + .uart4_phys = OMAP4_UART4_BASE, };void __init omap2_set_globals_443x (void )
@@ -292,6 +309,7 @@ void __init omap2_set_globals_443x(void)omap2_set_globals_tap (&omap4_globals);omap2_set_globals_control (&omap4_globals);omap2_set_globals_prcm (&omap4_globals); + omap2_set_globals_uart(&omap4_globals); }#endif
arch/arm/plat-omap/include/plat/common.h +5 -0
@@ -47,6 +47,10 @@ struct omap_globals {void __iomem *prm;/* Power and Reset Management */ void __iomem *cm;/* Clock Management */ void __iomem *cm2; +unsigned long uart1_phys; +unsigned long uart2_phys; +unsigned long uart3_phys; +unsigned long uart4_phys; };void omap2_set_globals_242x (void );
@@ -59,6 +63,7 @@ void omap2_set_globals_tap(struct omap_globals *);void omap2_set_globals_sdrc (struct omap_globals *);void omap2_set_globals_control (struct omap_globals *);void omap2_set_globals_prcm (struct omap_globals *); +void omap2_set_globals_uart (struct omap_globals *);/** * omap_test_timeout - busy-loop, testing a condition
arch/arm/plat-omap/include/plat/serial.h +23 -21
60 lines not on this page · raw message
PATCH 1/4 omap: Clean the serial port defines
Thanks for the nice cleanup.
<snip>
Quoted 31 lines
-----Original Message-----
From: linux-omap-owner at vger.kernel.org [mailto:linux-omap-owner at vger.kernel.org] On Behalf Of Tony Lindgren
Sent: Saturday, January 16, 2010 7:05 AM
To: linux-arm-kernel at lists.infradead.org
Cc: linux-omap at vger.kernel.org
Subject: [PATCH 1/4] omap: Clean the serial port definesThis way we don't have conflicts with the defines with compiling in multiple omaps. Set the addresses for uarts in struct
omap_globalsfor the early serial init code.Signed-off-by Tony Lindgren <[email protected]>--- arch/arm/mach-omap1/include/mach/debug-macro.S | 16 +++++---- arch/arm/mach-omap1/serial.c | 6 ++- arch/arm/mach-omap2/include/mach/debug-macro.S | 15 ++++---- arch/arm/mach-omap2/serial.c | 15 ++++++-- arch/arm/plat-omap/common.c | 18 ++++++++++ arch/arm/plat-omap/include/plat/common.h | 5 +++ arch/arm/plat-omap/include/plat/serial.h | 44 +++++++++++++----------- 7 files changed, 77 insertions(+), 42 deletions(-)arch/arm/mach-omap1/include/mach/debug-macro.S +0
-0@@ -11,6 +11,10 @@
...
Quoted 6 lines
arch/arm/mach-omap2/serial.c +0
-0@@ -74,7 +74,6 @@ static LIST_HEAD(uart_list);
...
arch/arm/plat-omap/include/plat/common.h struct omap_globals { · line 53
Quoted 13 lines
arch/arm/plat-omap/include/plat/common.h +4
-0@@ -47,6 +47,10 @@ struct omap_globals {void __iomem *prm;/* Power and Reset Management */ void __iomem *cm;/* Clock Management */ void __iomem *cm2; +unsigned long uart1_phys; +unsigned long uart2_phys; +unsigned long uart3_phys; +unsigned long uart4_phys;
Considering they are register base address, can these be declared as "void __iomem" instead of "unsigned long"
Regards
Santosh
Tony Lindgren
maintainerPATCH 1/4 omap: Clean the serial port defines
Quoted 1 line · Shilimkar, Santosh
Thanks for the nice cleanup.
Thanks for testing :)
Quoted 13 lines
<snip>
arch/arm/plat-omap/include/plat/common.h struct omap_globals { · line 53
Quoted 10 lines
arch/arm/plat-omap/include/plat/common.h +4
-0@@ -47,6 +47,10 @@ struct omap_globals {void __iomem *prm;/* Power and Reset Management */ void __iomem *cm;/* Clock Management */ void __iomem *cm2; +unsigned long uart1_phys; +unsigned long uart2_phys; +unsigned long uart3_phys; +unsigned long uart4_phys;Considering they are register base address, can these be declared as "void
__iomem" instead of "unsigned long"
These are physical addresses instead of virtual addresses. They get ioremapped in mach-omap[12]/serial.c. So they should not be void __iomem * in omap_globals.
BTW, we should eventually change everything in omap_globals to be physical addresses.
Regards,
Tony
PATCH 1/4 omap: Clean the serial port defines
Quoted 26 lines
-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Sunday, January 17, 2010 12:56 AM
To: Shilimkar, Santosh
Cc: linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org
Subject: Re: [PATCH 1/4] omap: Clean the serial port definesQuoted 1 line · Shilimkar, Santosh
Thanks for the nice cleanup.
Thanks for testing :)
Quoted 13 lines
<snip>
arch/arm/plat-omap/include/plat/common.h struct omap_globals { · line 53
Quoted 10 lines
arch/arm/plat-omap/include/plat/common.h +4
-0@@ -47,6 +47,10 @@ struct omap_globals {void __iomem *prm;/* Power and Reset Management */ void __iomem *cm;/* Clock Management */ void __iomem *cm2; +unsigned long uart1_phys; +unsigned long uart2_phys; +unsigned long uart3_phys; +unsigned long uart4_phys;Considering they are register base address, can these be declared as "void
__iomem" instead of "unsigned long"
Quoted 3 lines
These are physical addresses instead of virtual addresses. They get ioremapped in mach-omap[12]/serial.c. So they should not be void
__iomem* inomap_globals.
Yep. I see your point.
Quoted 2 lines
BTW, we should eventually change everything in
omap_globalsto be physical addresses.
We did some work for OMAP4 to move most of the things to ioremap istead of those hardcoded macros.
Let me know when you want to do this clean up. We can do this together.
Regards
Santosh
Tony Lindgren
maintainerPATCH 1/4 omap: Clean the serial port defines
Quoted 29 lines · Shilimkar, Santosh
Quoted 26 lines
-----Original Message-----
From: Tony Lindgren [mailto:[email protected]]
Sent: Sunday, January 17, 2010 12:56 AM
To: Shilimkar, Santosh
Cc: [email protected]; [email protected]
Subject: Re: [PATCH 1/4] omap: Clean the serial port definesQuoted 1 line · Shilimkar, Santosh
Thanks for the nice cleanup.
Thanks for testing :)
Quoted 13 lines
<snip>
arch/arm/plat-omap/include/plat/common.h struct omap_globals { · line 53
Quoted 10 lines
arch/arm/plat-omap/include/plat/common.h +4
-0@@ -47,6 +47,10 @@ struct omap_globals {void __iomem *prm;/* Power and Reset Management */ void __iomem *cm;/* Clock Management */ void __iomem *cm2; +unsigned long uart1_phys; +unsigned long uart2_phys; +unsigned long uart3_phys; +unsigned long uart4_phys;Considering they are register base address, can these be declared as "void
__iomem" instead of "unsigned long"Quoted 3 lines
These are physical addresses instead of virtual addresses. They get ioremapped in mach-omap[12]/serial.c. So they should not be void
__iomem* inomap_globals.
Quoted 6 lines
Yep. I see your point.
Quoted 2 lines
BTW, we should eventually change everything in
omap_globalsto be physical addresses.We did some work for OMAP4 to move most of the things to ioremap istead of those hardcoded macros.
Let me know when you want to do this clean up. We can do this together.
Great, let's try get some more of that ready for the upcoming merge window.
Regards,
Tony
PATCH 1/4 omap: Clean the serial port defines
In reply to Tony LindgrenQuoted 3 lines
-----Original Message-----
From: [email protected] [mailto:linux-omap-owner at vger.kernel.org] On Behalf Of Tony
Quoted 10 lines
Lindgren
Sent: Friday, January 15, 2010 7:35 PM
To: linux-arm-kernel at lists.infradead.org
Cc: linux-omap at vger.kernel.org
Subject: [PATCH 1/4] omap: Clean the serial port definesThis way we don't have conflicts with the defines with compiling in multiple omaps. Set the addresses for uarts in struct
omap_globalsfor the early serial init code.
Nice and much needed cleanup.
Quoted 2 lines
Signed-off-by Tony Lindgren <[email protected]>
<snip>
arch/arm/mach-omap1/serial.c static void __init omap_serial_reset(struct plat_serial8250_port *p) · line 67
Quoted 10 lines
arch/arm/mach-omap1/serial.c +1
-1@@ -64,7 +64,7 @@ static void __init omap_serial_reset(struct plat_serial8250_port *p)static struct plat_serial8250_port serial_platform_data[] = { { - .mapbase =OMAP_UART1_BASE , + .mapbase =OMAP1_UART1_BASE ,
Is it possible to use the same approach as mach-omap2/ for physical address assignments? I like that approach.
Refer this part from mach-omap2:
+ serial_platform_data0[0].mapbase = omap2_globals->uart1_phys; + serial_platform_data1[0].mapbase = omap2_globals->uart2_phys; + serial_platform_data2[0].mapbase = omap2_globals->uart3_phys;
Quoted 3 lines
arch/arm/mach-omap1/serial.c +0
-0.irq = INT_UART1, .flags = UPF_BOOT_AUTOCONF, .iotype = UPIO_MEM,
<snip>
Quoted 18 lines
arch/arm/mach-omap2/include/mach/debug- renamed from arch/arm/mach-omap2/include/mach/debug-macro.S +0
-0
macro.S
index e9f255d..0c96e1c 100644arch/arm/mach-omap2/include/mach/debug-macro.S +4
-0@@ -11,6 +11,10 @@ * */ +#include <linux/serial_reg.h> + +#include <plat/serial.h> + .macro addruart,rx mrc p15, 0, \rx, c1, c0 tst \rx, #1 @ MMU enabled?@@ -44,15 +48,10 @@ .endm
arch/arm/mach-omap2/include/mach/debug-macro.S line 51
Quoted 10 lines
arch/arm/mach-omap2/include/mach/debug-macro.S +1
-7.macro busyuart,rd,rx -1001: ldrb \rd, [\rx, #(0x5 << 2)] @ OMAP-1510 and friends - and \rd, \rd, #0x60 - teq \rd, #0x60 - beq 1002f - ldrb \rd, [\rx, #(0x5 << 0)] @ OMAP-730 only - and \rd, \rd, #0x60 - teq \rd, #0x60 +1001: ldrb \rd, [\rx, #(UART_LSR << OMAP_PORT_SHIFT)]
Zoom2/3 kind of boards have external debug Serial port.
For those boards and maybe others, the shift value is 1 and not OMAP_PORT_SHIFT(2).
This solution is not extensible to zoom2/3 boards with external debug board uarts. How do we address that?
Quoted 7 lines
arch/arm/mach-omap2/include/mach/debug-macro.S +2
-1+ and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) + teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) bne 1001b -1002: .endm .macro waituart,rd,rx
<snip>
Quoted 1 line
arch/arm/plat-omap/common.c +0
-0
<snip>
arch/arm/plat-omap/common.c static struct omap_globals omap343x_globals = { · line 283
Quoted 7 lines
arch/arm/plat-omap/common.c +3
-0@@ -269,11 +278,15 @@ static struct omap_globals omap343x_globals = { .ctrl = OMAP2_L4_IO_ADDRESS(OMAP343X_CTRL_BASE), .prm = OMAP2_L4_IO_ADDRESS(OMAP3430_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP3430_CM_BASE), + .uart1_phys = OMAP3_UART1_BASE, + .uart2_phys = OMAP3_UART2_BASE, + .uart3_phys = OMAP3_UART3_BASE,
OMAP3630 also has 4 UARTS and this same global is getting used for both 34xx and 36xx. This is not right.
For 3630 uart4_phys = 0x49042000
Quoted 72 lines
arch/arm/plat-omap/common.c +6
-0};void __init omap2_set_globals_343x (void ) {__omap2_set_globals (&omap343x_globals); +omap2_set_globals_uart (&omap343x_globals); }#endif @@ -285,6 +298,10 @@ static struct omap_globals omap4_globals = { .prm = OMAP2_L4_IO_ADDRESS(OMAP4430_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP4430_CM_BASE), .cm2 = OMAP2_L4_IO_ADDRESS(OMAP4430_CM2_BASE), + .uart1_phys = OMAP4_UART1_BASE, + .uart2_phys = OMAP4_UART2_BASE, + .uart3_phys = OMAP4_UART3_BASE, + .uart4_phys = OMAP4_UART4_BASE, };void __init omap2_set_globals_443x (void )@@ -292,6 +309,7 @@ void __init omap2_set_globals_443x(void)omap2_set_globals_tap (&omap4_globals);omap2_set_globals_control (&omap4_globals);omap2_set_globals_prcm (&omap4_globals); + omap2_set_globals_uart(&omap4_globals); }#endif arch/arm/plat-omap/include/plat/common.h +5
-0@@ -47,6 +47,10 @@ struct omap_globals {void __iomem *prm;/* Power and Reset Management */ void __iomem *cm;/* Clock Management */ void __iomem *cm2; +unsigned long uart1_phys; +unsigned long uart2_phys; +unsigned long uart3_phys; +unsigned long uart4_phys; };void omap2_set_globals_242x (void );@@ -59,6 +63,7 @@ void omap2_set_globals_tap(struct omap_globals *);void omap2_set_globals_sdrc (struct omap_globals *);void omap2_set_globals_control (struct omap_globals *);void omap2_set_globals_prcm (struct omap_globals *); +void omap2_set_globals_uart (struct omap_globals *);/** * omap_test_timeout - busy-loop, testing a condition arch/arm/plat-omap/include/plat/serial.h +4
-7@@ -15,37 +15,39 @@#include <linux/init.h> -#if defined(CONFIG_ARCH_OMAP1 )/* OMAP1 serial ports */ -#define OMAP_UART1_BASE 0xfffb0000 -#define OMAP_UART2_BASE 0xfffb0800 -#define OMAP_UART3_BASE 0xfffb9800 -#elif defined(CONFIG_ARCH_OMAP2 ) +#define OMAP1_UART1_BASE 0xfffb0000 +#define OMAP1_UART2_BASE 0xfffb0800 +#define OMAP1_UART3_BASE 0xfffb9800 +/* OMAP2 serial ports */ -#define OMAP_UART1_BASE 0x4806a000 -#define OMAP_UART2_BASE 0x4806c000
arch/arm/plat-omap/include/plat/serial.h line 32
Quoted 10 lines
arch/arm/plat-omap/include/plat/serial.h +4
-5-#define OMAP_UART3_BASE 0x4806e000 -#elif defined(CONFIG_ARCH_OMAP3 ) +#define OMAP2_UART1_BASE 0x4806a000 +#define OMAP2_UART2_BASE 0x4806c000 +#define OMAP2_UART3_BASE 0x4806e000 +/* OMAP3 serial ports */ -#define OMAP_UART1_BASE 0x4806a000 -#define OMAP_UART2_BASE 0x4806c000 -#define OMAP_UART3_BASE 0x49020000
Need to add 0x4904 2000 for 3630 UART4
Quoted 39 lines
arch/arm/plat-omap/include/plat/serial.h +15
-10-#elif defined(CONFIG_ARCH_OMAP4 ) +#define OMAP3_UART1_BASE 0x4806a000 +#define OMAP3_UART2_BASE 0x4806c000 +#define OMAP3_UART3_BASE 0x49020000 +/* OMAP4 serial ports */ -#define OMAP_UART1_BASE 0x4806a000 -#define OMAP_UART2_BASE 0x4806c000 -#define OMAP_UART3_BASE 0x48020000 -#define OMAP_UART4_BASE 0x4806e000 -#endif +#define OMAP4_UART1_BASE 0x4806a000 +#define OMAP4_UART2_BASE 0x4806c000 +#define OMAP4_UART3_BASE 0x48020000 +#define OMAP4_UART4_BASE 0x4806e000 + +#define OMAP_PORT_SHIFT 2 +#define OMAP7XX_PORT_SHIFT 0#define OMAP1510_BASE_BAUD (12000000/16)#define OMAP16XX_BASE_BAUD (48000000/16)#define OMAP24XX_BASE_BAUD (48000000/16) +/* This is only used by 8250.c for omap1510 */ #define is_omap_port (pt) ({int __ret = 0; \ - if ((pt)->port.mapbase == OMAP_UART1_BASE || \ - (pt)->port.mapbase == OMAP_UART2_BASE || \ - (pt)->port.mapbase == OMAP_UART3_BASE) \ + if ((pt)->port.mapbase == OMAP1_UART1_BASE || \ + (pt)->port.mapbase == OMAP1_UART2_BASE || \ + (pt)->port.mapbase == OMAP1_UART3_BASE) \ __ret = 1; \ __ret; \ }) --To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Tony Lindgren
maintainerPATCH 1/4 omap: Clean the serial port defines
Hi,
* Pandita, Vikram <[email protected]> [100118 16:37]:
<snip>
Quoted 10 lines
Is it possible to use the same approach as mach-omap2/ for physical address assignments? I like that approach.
Refer this part from mach-omap2:+ serial_platform_data0[0].mapbase = omap2_globals->uart1_phys; + serial_platform_data1[0].mapbase = omap2_globals->uart2_phys; + serial_platform_data2[0].mapbase = omap2_globals->uart3_phys;Quoted 3 lines
.irq = INT_UART1, .flags = UPF_BOOT_AUTOCONF, .iotype = UPIO_MEM,
It would be possible if we had omap1_globals. But we don't have it as the address space is so similar across all omap1 processors.
Quoted 4 lines
Quoted 4 lines
.macro busyuart,rd,rx
-1001: ldrb \rd, [\rx, #(0x5 << 2)] @ OMAP-1510 and friends(quoted diff) +0
-2- and \rd, \rd, #0x60 - teq \rd, #0x60
Quoted 8 lines
arch/arm/mach-omap2/include/mach/debug-macro.S line 51
Quoted 5 lines
arch/arm/mach-omap2/include/mach/debug-macro.S +1
-4- beq 1002f - ldrb \rd, [\rx, #(0x5 << 0)] @ OMAP-730 only - and \rd, \rd, #0x60 - teq \rd, #0x60 +1001: ldrb \rd, [\rx, #(UART_LSR << OMAP_PORT_SHIFT)]Zoom2/3 kind of boards have external debug Serial port.
For those boards and maybe others, the shift value is 1 and notOMAP_PORT_SHIFT(2).
OK, thanks for pointing that out. Let's add the shift as a variable in debug-macro.S, see the next patch in the series.
Quoted 2 lines
This solution is not extensible to zoom2/3 boards with external debug board uarts. How do we address that?
It should be doable, we need to initialize zoom external uart physical and virtual address in uncompress.h, and also initialize the shift for it.
Quoted 13 lines
Quoted 1 line
arch/arm/plat-omap/common.c +0
-0<snip>
arch/arm/plat-omap/common.c static struct omap_globals omap343x_globals = { · line 283
Quoted 7 lines
arch/arm/plat-omap/common.c +3
-0@@ -269,11 +278,15 @@ static struct omap_globals omap343x_globals = { .ctrl = OMAP2_L4_IO_ADDRESS(OMAP343X_CTRL_BASE), .prm = OMAP2_L4_IO_ADDRESS(OMAP3430_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP3430_CM_BASE), + .uart1_phys = OMAP3_UART1_BASE, + .uart2_phys = OMAP3_UART2_BASE, + .uart3_phys = OMAP3_UART3_BASE,OMAP3630 also has 4 UARTS and this same global is getting used for both 34xx and 36xx. This is not right.
Quoted 1 line
For 3630
uart4_phys=0x49042000
OK, updated.
Quoted 5 lines
arch/arm/plat-omap/common.c static struct omap_globals omap343x_globals = { · line 286
Quoted 3 lines
arch/arm/plat-omap/common.c +3
-0+#define OMAP3_UART1_BASE 0x4806a000 +#define OMAP3_UART2_BASE 0x4806c000 +#define OMAP3_UART3_BASE 0x49020000Need to add
0x49042000 for 3630 UART4
OK, added now. Care to look and ack the attached updated patch?
Regards,
Tony
Quoted 1 line
From
ecfb8e2561eb91a76797fdf38204bfa70f1d062bMon Sep 17 00:00:00 2001
From: Tony Lindgren <[email protected]>
Date: Wed, 20 Jan 2010 14:11:59 -0800
Subject: [PATCH] omap: Clean the serial port defines
This way we don't have conflicts with the defines with compiling in multiple omaps. Set the addresses for uarts in struct omap_globals for the early serial init code.
arch/arm/mach-omap1/include/mach/debug-macro.S +10 -6
@@ -11,6 +11,10 @@ * */ +#include <linux/serial_reg.h> + +#include <plat/serial.h> + .macro addruart,rx mrc p15, 0, \rx, c1, c0 tst \rx, #1 @ MMU enabled?
@@ -30,13 +34,13 @@ .endm .macro busyuart,rd,rx -1001: ldrb \rd, [\rx, #(0x5 << 2)] @ OMAP-1510 and friends - and \rd, \rd, #0x60 - teq \rd, #0x60 +1001: ldrb \rd, [\rx, #(UART_LSR << OMAP_PORT_SHIFT)] + and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) + teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) beq 1002f - ldrb \rd, [\rx, #(0x5 << 0)] @ OMAP-730 only - and \rd, \rd, #0x60 - teq \rd, #0x60 + ldrb \rd, [\rx, #(UART_LSR << OMAP7XX_PORT_SHIFT)] + and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) + teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) bne 1001b 1002: .endm
arch/arm/mach-omap1/serial.c +3 -3
@@ -64,7 +64,7 @@ static void __init omap_serial_reset(struct plat_serial8250_port *p)static struct plat_serial8250_port serial_platform_data[] = { { - .mapbase =OMAP_UART1_BASE , + .mapbase =OMAP1_UART1_BASE , .irq =INT_UART1 , .flags =UPF_BOOT_AUTOCONF , .iotype =UPIO_MEM ,
@@ -72,7 +72,7 @@ static struct plat_serial8250_port serial_platform_data[] = { .uartclk = OMAP16XX_BASE_BAUD * 16, }, { - .mapbase = OMAP_UART2_BASE, + .mapbase = OMAP1_UART2_BASE, .irq = INT_UART2, .flags = UPF_BOOT_AUTOCONF, .iotype = UPIO_MEM,
@@ -80,7 +80,7 @@ static struct plat_serial8250_port serial_platform_data[] = { .uartclk = OMAP16XX_BASE_BAUD * 16, }, { - .mapbase = OMAP_UART3_BASE, + .mapbase = OMAP1_UART3_BASE, .irq = INT_UART3, .flags = UPF_BOOT_AUTOCONF, .iotype = UPIO_MEM,
arch/arm/mach-omap2/board-3630sdp.c +1 -1
@@ -68,7 +68,7 @@ static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = {static void __init omap_sdp_map_io (void ) { -omap2_set_globals_343x (); +omap2_set_globals_36xx ();omap2_map_common_io (); }
arch/arm/mach-omap2/board-zoom3.c +1 -1
@@ -27,7 +27,7 @@static void __init omap_zoom_map_io (void ) { -omap2_set_globals_343x (); +omap2_set_globals_36xx ();omap2_map_common_io (); }
arch/arm/mach-omap2/include/mach/debug-macro.S +7 -8
@@ -11,6 +11,10 @@ * */ +#include <linux/serial_reg.h> + +#include <plat/serial.h> + .macro addruart,rx mrc p15, 0, \rx, c1, c0 tst \rx, #1 @ MMU enabled?
@@ -44,15 +48,10 @@ .endm .macro busyuart,rd,rx -1001: ldrb \rd, [\rx, #(0x5 << 2)] @ OMAP-1510 and friends - and \rd, \rd, #0x60 - teq \rd, #0x60 - beq 1002f - ldrb \rd, [\rx, #(0x5 << 0)] @ OMAP-730 only - and \rd, \rd, #0x60 - teq \rd, #0x60 +1001: ldrb \rd, [\rx, #(UART_LSR << OMAP_PORT_SHIFT)] + and \rd, \rd, #(UART_LSR_TEMT | UART_LSR_THRE) + teq \rd, #(UART_LSR_TEMT | UART_LSR_THRE) bne 1001b -1002: .endm .macro waituart,rd,rx
arch/arm/mach-omap2/serial.c +11 -4
@@ -74,7 +74,6 @@ static LIST_HEAD(uart_list);static struct plat_serial8250_port serial_platform_data0[] = { { - .mapbase =OMAP_UART1_BASE , .irq =72 , .flags =UPF_BOOT_AUTOCONF , .iotype =UPIO_MEM ,
@@ -87,7 +86,6 @@ static struct plat_serial8250_port serial_platform_data0[] = {static struct plat_serial8250_port serial_platform_data1[] = { { - .mapbase =OMAP_UART2_BASE , .irq =73 , .flags =UPF_BOOT_AUTOCONF , .iotype =UPIO_MEM ,
@@ -100,7 +98,6 @@ static struct plat_serial8250_port serial_platform_data1[] = {static struct plat_serial8250_port serial_platform_data2[] = { { - .mapbase =OMAP_UART3_BASE , .irq =74 , .flags =UPF_BOOT_AUTOCONF , .iotype =UPIO_MEM ,
@@ -114,7 +111,6 @@ static struct plat_serial8250_port serial_platform_data2[] = { #ifdef CONFIG_ARCH_OMAP4 static struct plat_serial8250_port serial_platform_data3[] = { { - .mapbase = OMAP_UART4_BASE, .irq = 70, .flags = UPF_BOOT_AUTOCONF, .iotype = UPIO_MEM,
@@ -125,6 +121,17 @@ static struct plat_serial8250_port serial_platform_data3[] = { } };#endif + +void __init omap2_set_globals_uart (struct omap_globals *omap2_globals) +{ + serial_platform_data0[0 ].mapbase = omap2_globals->uart1_phys; + serial_platform_data1[0 ].mapbase = omap2_globals->uart2_phys; + serial_platform_data2[0 ].mapbase = omap2_globals->uart3_phys; +#ifdef CONFIG_ARCH_OMAP4 + serial_platform_data3[0 ].mapbase = omap2_globals->uart4_phys; +#endif +} +static inline unsigned int __serial_read_reg (struct uart_port *up,int offset) {
arch/arm/plat-omap/common.c +26 -3
@@ -34,6 +34,7 @@#include <plat/control.h> #include <plat/mux.h> #include <plat/fpga.h> +#include <plat/serial.h> #include <plat/clock.h>
@@ -219,6 +220,7 @@ static void __init __omap2_set_globals(struct omap_globals *omap2_globals)omap2_set_globals_sdrc (omap2_globals);omap2_set_globals_control (omap2_globals);omap2_set_globals_prcm (omap2_globals); + omap2_set_globals_uart(omap2_globals); }#endif
@@ -233,6 +235,9 @@ static struct omap_globals omap242x_globals = { .ctrl = OMAP2_L4_IO_ADDRESS(OMAP2420_CTRL_BASE), .prm = OMAP2_L4_IO_ADDRESS(OMAP2420_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP2420_CM_BASE), + .uart1_phys = OMAP2_UART1_BASE, + .uart2_phys = OMAP2_UART2_BASE, + .uart3_phys = OMAP2_UART3_BASE, };void __init omap2_set_globals_242x (void )
@@ -251,6 +256,9 @@ static struct omap_globals omap243x_globals = { .ctrl = OMAP2_L4_IO_ADDRESS(OMAP243X_CTRL_BASE), .prm = OMAP2_L4_IO_ADDRESS(OMAP2430_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP2430_CM_BASE), + .uart1_phys = OMAP2_UART1_BASE, + .uart2_phys = OMAP2_UART2_BASE, + .uart3_phys = OMAP2_UART3_BASE, };void __init omap2_set_globals_243x (void )
@@ -259,9 +267,9 @@ void __init omap2_set_globals_243x(void) }#endif -#if defined(CONFIG_ARCH_OMAP3430 ) +#if defined(CONFIG_ARCH_OMAP3 ) -static struct omap_globals omap343x_globals = { +static struct omap_globals omap3_globals = { .class =OMAP343X_CLASS , .tap =OMAP2_L4_IO_ADDRESS (0x4830A000 ), .sdrc = OMAP2_L3_IO_ADDRESS(OMAP343X_SDRC_BASE),
@@ -269,11 +277,21 @@ static struct omap_globals omap343x_globals = { .ctrl = OMAP2_L4_IO_ADDRESS(OMAP343X_CTRL_BASE), .prm = OMAP2_L4_IO_ADDRESS(OMAP3430_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP3430_CM_BASE), + .uart1_phys = OMAP3_UART1_BASE, + .uart2_phys = OMAP3_UART2_BASE, + .uart3_phys = OMAP3_UART3_BASE, };void __init omap2_set_globals_343x (void ) { -__omap2_set_globals (&omap343x_globals); +__omap2_set_globals (&omap3_globals); +} + +void __init omap2_set_globals_36xx (void ) +{ + omap3_globals.uart4_phys =OMAP3_UART4_BASE ; + +__omap2_set_globals (&omap3_globals); }#endif
@@ -285,6 +303,10 @@ static struct omap_globals omap4_globals = { .prm = OMAP2_L4_IO_ADDRESS(OMAP4430_PRM_BASE), .cm = OMAP2_L4_IO_ADDRESS(OMAP4430_CM_BASE), .cm2 = OMAP2_L4_IO_ADDRESS(OMAP4430_CM2_BASE), + .uart1_phys = OMAP4_UART1_BASE, + .uart2_phys = OMAP4_UART2_BASE, + .uart3_phys = OMAP4_UART3_BASE, + .uart4_phys = OMAP4_UART4_BASE, };void __init omap2_set_globals_443x (void )
@@ -292,6 +314,7 @@ void __init omap2_set_globals_443x(void)omap2_set_globals_tap (&omap4_globals);omap2_set_globals_control (&omap4_globals);omap2_set_globals_prcm (&omap4_globals); + omap2_set_globals_uart(&omap4_globals); }#endif
arch/arm/plat-omap/include/plat/common.h +6 -0
@@ -47,11 +47,16 @@ struct omap_globals {void __iomem *prm;/* Power and Reset Management */ void __iomem *cm;/* Clock Management */ void __iomem *cm2; +unsigned long uart1_phys; +unsigned long uart2_phys; +unsigned long uart3_phys; +unsigned long uart4_phys; };void omap2_set_globals_242x (void );void omap2_set_globals_243x (void );void omap2_set_globals_343x (void ); +void omap2_set_globals_36xx (void );void omap2_set_globals_443x (void );/* These get called from omap2_set_globals_xxxx(), do not call these */
@@ -59,6 +64,7 @@ void omap2_set_globals_tap(struct omap_globals *);void omap2_set_globals_sdrc (struct omap_globals *);void omap2_set_globals_control (struct omap_globals *);void omap2_set_globals_prcm (struct omap_globals *); +void omap2_set_globals_uart (struct omap_globals *);/** * omap_test_timeout - busy-loop, testing a condition
arch/arm/plat-omap/include/plat/serial.h +24 -21
61 lines not on this page · raw message
arch/arm/plat-omap/include/plat/uncompress.h +4 -3
@@ -40,12 +40,13 @@ static void putc(int c)#endif #ifdef CONFIG_ARCH_OMAP +/* Will get removed in the next patch, set to OMAP3 to compile */ #ifdef CONFIG_OMAP_LL_DEBUG_UART3 - uart = (volatile u8 *)(OMAP_UART3_BASE ); + uart = (volatile u8 *)(OMAP3_UART3_BASE );#elif defined(CONFIG_OMAP_LL_DEBUG_UART2 ) - uart = (volatile u8 *)(OMAP_UART2_BASE ); + uart = (volatile u8 *)(OMAP3_UART2_BASE );#elif defined(CONFIG_OMAP_LL_DEBUG_UART1 ) - uart = (volatile u8 *)(OMAP_UART1_BASE ); + uart = (volatile u8 *)(OMAP3_UART1_BASE );#elif defined(CONFIG_OMAP_LL_DEBUG_NONE )return ;#else
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
In reply to Tony LindgrenDefine arch_decomp_setup() the same way as some other architectures do. Use arch_id to configure the debug uart based on the machine_is by storing it into the uart scratchpad register for DEBUG_LL code to use.
--- arch/arm/mach-omap1/include/mach/debug-macro.S | 67 +++++++++- arch/arm/mach-omap1/serial.c | 12 ++ arch/arm/mach-omap2/include/mach/debug-macro.S | 76 ++++++++--- arch/arm/mach-omap2/serial.c | 11 ++ arch/arm/plat-omap/include/plat/serial.h | 18 +++ arch/arm/plat-omap/include/plat/uncompress.h | 168 +++++++++++++++++------- 6 files changed, 276 insertions(+), 76 deletions(-)
arch/arm/mach-omap1/include/mach/debug-macro.S +60 -7
@@ -15,18 +15,71 @@ #include <plat/serial.h> +omap_uart_phys: .word 0x0 +omap_uart_virt: .word 0x0 + + /* + * Note that this code won't work if the bootloader passes + * a wrong machine ID number in r1. To debug, just hardcode + * the desired UART phys and virt addresses temporarily into + * the omap_uart_phys and omap_uart_virt above. + */ .macro addruart,rx + + /* Use omap_uart_phys/virt if already configured */ +9: mrc p15, 0, \rx, c1, c0 + tst \rx, #1 @ MMU enabled? + ldreq \rx, omap_uart_phys @ physical base address + ldrne \rx, omap_uart_virt @ virtual base + cmp \rx, #0 @ is port configured? + bne 99f @ already configured + + /* Check 7XX UART1 scratchpad register for uart to use */ + mrc p15, 0, \rx, c1, c0 + tst \rx, #1 @ MMU enabled? + moveq \rx, #0xff000000 @ physical base address + movne \rx, #0xfe000000 @ virtual base + orr \rx, \rx, #0x00fb0000 @ OMAP1UART1 + ldrb \rx, [\rx, #(UART_SCR << OMAP7XX_PORT_SHIFT)] + cmp \rx, #0 @ anything in 7XX scratchpad? + bne 10f @ found 7XX uart + + /* Check 15xx/16xx UART1 scratchpad register for uart to use */ mrc p15, 0, \rx, c1, c0 tst \rx, #1 @ MMU enabled? moveq \rx, #0xff000000 @ physical base address movne \rx, #0xfe000000 @ virtual base - orr \rx, \rx, #0x00fb0000 -#ifdef CONFIG_OMAP_LL_DEBUG_UART3 - orr \rx, \rx, #0x00009000 @ UART 3 -#endif -#if defined(CONFIG_OMAP_LL_DEBUG_UART2) || defined(CONFIG_OMAP_LL_DEBUG_UART3) - orr \rx, \rx, #0x00000800 @ UART 2 & 3 -#endif + orr \rx, \rx, #0x00fb0000 @ OMAP1UART1 + ldrb \rx, [\rx, #(UART_SCR << OMAP_PORT_SHIFT)] + + /* Select the UART to use based on the UART1 scratchpad value */ +10: cmp \rx, #0 @ no port configured? + beq 11f @ if none, try to use UART1 + cmp \rx, #OMAP1UART1 + beq 11f @ configure OMAP1UART1 + cmp \rx, #OMAP1UART2 + beq 12f @ configure OMAP1UART2 + cmp \rx, #OMAP1UART3 + beq 13f @ configure OMAP2UART3 + + /* Configure the UART offset from the phys/virt base */ +11: mov \rx, #0x00fb0000 @ OMAP1UART1 + b 98f +12: mov \rx, #0x00fb0000 @ OMAP1UART1 + orr \rx, \rx, #0x00000800 @ OMAP1UART2 + b 98f +13: mov \rx, #0x00fb0000 @ OMAP1UART1 + orr \rx, \rx, #0x00000800 @ OMAP1UART2 + orr \rx, \rx, #0x00009000 @ OMAP1UART3 + + /* Store both phys and virt address for the uart */ +98: add \rx, \rx, #0xff000000 @ phys base + str \rx, omap_uart_phys + sub \rx, \rx, #0xff000000 @ phys base + add \rx, \rx, #0xfe000000 @ virt base + str \rx, omap_uart_virt + b 9b +99: .endm .macro senduart,rd,rx
arch/arm/mach-omap1/serial.c +12 -0
@@ -52,6 +52,15 @@ static inline void omap_serial_outp(struct plat_serial8250_port *p, int offset,*/ static void __init omap_serial_reset (struct plat_serial8250_port *p) { +u8 scratchpad =0 ; + +/* +* Save UART1 scratchpad register value for UART1 for DEBUG_LL. +* See also include/plat/uncompress.h and include/mach/debug-macro.S. +*/ +if (p->mapbase ==OMAP1_UART1_BASE ) + scratchpad =omap_serial_in (p,UART_SCR ); +omap_serial_outp (p,UART_OMAP_MDR1 ,0x07 );/* disable UART */ omap_serial_outp (p,UART_OMAP_SCR ,0x08 );/* TX watermark */ omap_serial_outp (p,UART_OMAP_MDR1 ,0x00 );/* enable UART */
@@ -60,6 +69,9 @@ static void __init omap_serial_reset(struct plat_serial8250_port *p)omap_serial_outp (p,UART_OMAP_SYSC ,0x01 );while (!(omap_serial_in (p,UART_OMAP_SYSC ) &0x01 )); } + +if (p->mapbase ==OMAP1_UART1_BASE ) +omap_serial_outp (p,UART_SCR , scratchpad); }static struct plat_serial8250_port serial_platform_data[] = {
arch/arm/mach-omap2/include/mach/debug-macro.S +55 -21
87 lines not on this page · raw message
arch/arm/mach-omap2/serial.c +11 -0
@@ -161,11 +161,22 @@ static inline void serial_write_reg(struct plat_serial8250_port *p, int offset,static inline void __init omap_uart_reset (struct omap_uart_state *uart) {struct plat_serial8250_port *p = uart->p; +u8 scratchpad =0 ; + +/* +* Save UART1 scratchpad register value for UART1 for DEBUG_LL. +* See also include/plat/uncompress.h and include/mach/debug-macro.S. +*/ +if (p->mapbase ==OMAP2_UART1_BASE )/* OMAP2/3/4UART1_BASE */ + scratchpad =serial_read_reg (p,UART_SCR );serial_write_reg (p,UART_OMAP_MDR1 ,0x07 );serial_write_reg (p,UART_OMAP_SCR ,0x08 );serial_write_reg (p,UART_OMAP_MDR1 ,0x00 );serial_write_reg (p,UART_OMAP_SYSC , (0x02 <<3 ) | (1 <<2 ) | (1 <<0 )); + +if (p->mapbase ==OMAP2_UART1_BASE )/* OMAP2/3/4UART1_BASE */ +serial_write_reg (p,UART_SCR , scratchpad); }#if defined(CONFIG_PM ) && defined(CONFIG_ARCH_OMAP3 )
arch/arm/plat-omap/include/plat/serial.h +18 -0
@@ -43,6 +43,24 @@#define OMAP16XX_BASE_BAUD (48000000/16)#define OMAP24XX_BASE_BAUD (48000000/16) +/* +* DEBUG_LL port encoding stored into the UART1 scratchpad register by +* decomp_setup in uncompress.h +*/ +#define OMAP1UART1 11 +#define OMAP1UART2 12 +#define OMAP1UART3 13 +#define OMAP2UART1 21 +#define OMAP2UART2 22 +#define OMAP2UART3 23 +#define OMAP3UART1 OMAP2UART1 +#define OMAP3UART2 OMAP2UART2 +#define OMAP3UART3 33 +#define OMAP4UART1 OMAP2UART1 +#define OMAP4UART2 OMAP2UART2 +#define OMAP4UART3 43 +#define OMAP4UART4 44 +/* This is only used by 8250.c for omap1510 */ #define is_omap_port (pt) ({int __ret = 0; \ if ((pt)->port.mapbase == OMAP1_UART1_BASE || \
arch/arm/plat-omap/include/plat/uncompress.h +120 -48
189 lines not on this page · raw message
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
arch/arm/mach-omap1/include/mach/debug-macro.S line 19
Quoted 10 lines · Tony Lindgren
arch/arm/mach-omap1/include/mach/debug-macro.S +2
-0@@ -15,18 +15,71 @@ #include <plat/serial.h> +omap_uart_phys: .word 0x0 +omap_uart_virt: .word 0x0
I assume that you have no plans for XIP kernel support on OMAP, since these will be placed in the .text section, and is therefore read-only on XIP kernels.
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
Quoted 7 lines · Russell King - ARM Linux
Quoted 6 lines · Tony Lindgren
arch/arm/mach-omap1/include/mach/debug-macro.S +0
-0@@ -15,18 +15,71 @@
Quoted 8 lines
arch/arm/mach-omap1/include/mach/debug-macro.S line 19
Quoted 4 lines
arch/arm/mach-omap1/include/mach/debug-macro.S +2
-0#include <plat/serial.h> +omap_uart_phys: .word 0x0 +omap_uart_virt: .word 0x0I assume that you have no plans for XIP kernel support on OMAP, since these will be placed in the .text section, and is therefore read-only on XIP kernels.
Did not think of that.. Maybe some addruart_premable solution here would. Or adding \tmp register for addruart and just do the detection for each character.
Regards,
Tony
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
Quoted 17 lines · Tony Lindgren
Quoted 7 lines · Russell King - ARM Linux
Quoted 6 lines · Tony Lindgren
arch/arm/mach-omap1/include/mach/debug-macro.S +0
-0@@ -15,18 +15,71 @@Quoted 8 lines
arch/arm/mach-omap1/include/mach/debug-macro.S line 19
Quoted 4 lines
arch/arm/mach-omap1/include/mach/debug-macro.S +2
-0#include <plat/serial.h> +omap_uart_phys: .word 0x0 +omap_uart_virt: .word 0x0I assume that you have no plans for XIP kernel support on OMAP, since these will be placed in the .text section, and is therefore read-only on XIP kernels.
Quoted 3 lines
Did not think of that.. Maybe some
addruart_premablesolution here would. Or adding \tmp register for addruart and just do the detection for each character.
How does doing it per-character help? The code is:
ENTRY(printascii)
addruart r3
b 2f
1: waituart r2, r3
senduart r1, r3
busyuart r2, r3
teq r1, #'\n'
moveq r1, #'\r'
beq 1b
2: teq r0, #0
ldrneb r1, [r0], #1
teqne r1, #0
bne 1b
mov pc, lrYour wait/send/busy macros are just using the already provided base address which comes via r3 from addruart. That much is fine.
I'm at a loss to understand why you think moving the address-getting functionality out of addruart into the individual wait/send/busy macros is going to help in any way.
Why not do something like this:
.pushsection .dataomap_uart_phys: .word 0omap_uart_virt: .word 0
.popsection
.macro addruart, rx
...
+ ldreq \rx, =omap_uart_phys @ physical base address + ldrne \rx, =omap_uart_virt @ virtual base ldr \rx, [\rx] + cmp \rx, #0 @ is port configured? + bne 99f @ already configured
...
?
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
Quoted 39 lines · Russell King - ARM Linux
Quoted 17 lines · Tony Lindgren
Quoted 7 lines · Russell King - ARM Linux
Quoted 6 lines · Tony Lindgren
arch/arm/mach-omap1/include/mach/debug-macro.S +0
-0@@ -15,18 +15,71 @@Quoted 8 lines
arch/arm/mach-omap1/include/mach/debug-macro.S line 19
Quoted 4 lines
arch/arm/mach-omap1/include/mach/debug-macro.S +2
-0#include <plat/serial.h> +omap_uart_phys: .word 0x0 +omap_uart_virt: .word 0x0I assume that you have no plans for XIP kernel support on OMAP, since these will be placed in the .text section, and is therefore read-only on XIP kernels.
Quoted 3 lines
Did not think of that.. Maybe some
addruart_premablesolution here would. Or adding \tmp register for addruart and just do the detection for each character.How does doing it per-character help? The code is:
ENTRY(printascii)
addruart r3
b 2f
1: waituart r2, r3
senduart r1, r3
busyuart r2, r3
teq r1, #'\n'
moveq r1, #'\r'
beq 1b2: teq r0, #0 ldrneb r1, [r0], #1 teqne r1, #0 bne 1b mov pc, lr
Quoted 6 lines
Your wait/send/busy macros are just using the already provided base address which comes via r3 from addruart. That much is fine.
I'm at a loss to understand why you think moving the address-getting functionality out of addruart into the individual wait/send/busy macros is going to help in any way.
Sorry, I meant doing the detection each time addruart is run, not for each character.
Quoted 16 lines
Why not do something like this:
.pushsection .data
omap_uart_phys: .word 0omap_uart_virt: .word 0
.popsection.macro addruart, rx
...(quoted diff) +2
-0+ ldreq \rx, =omap_uart_phys @ physical base address + ldrne \rx, =omap_uart_virt @ virtual baseldr \rx, [\rx](quoted diff) +2
-0+ cmp \rx, #0 @ is port configured? + bne 99f @ already configured
Quoted 1 line
?
Sounds good to me. Will play with them and post refreshed patches.
Regards,
Tony
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
Quoted 3 lines
-----Original Message-----
From: [email protected] [mailto:linux-omap-owner at vger.kernel.org] On Behalf Of Tony
Quoted 50 lines
Lindgren
Sent: Saturday, January 16, 2010 2:00 PM
To: Russell King - ARM Linux
Cc: linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org
Subject: Re: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode genericQuoted 4 lines · Russell King - ARM Linux
Quoted 3 lines · Tony Lindgren
Quoted 2 lines · Russell King - ARM Linux
arch/arm/mach-
Quoted 1 line · Tony Lindgren
arch/arm/mach- renamed from arch/arm/mach-omap1/include/mach/debug-macro.S +0
-0
omap1/include/mach/debug-macro.SQuoted 38 lines
Quoted 14 lines
Quoted 5 lines
Quoted 5 lines
index 23e4724..0174858 100644
arch/arm/mach-omap1/include/mach/debug-macro.S +0
-0@@ -15,18 +15,71 @@Quoted 8 lines
arch/arm/mach-omap1/include/mach/debug-macro.S line 19
Quoted 4 lines
arch/arm/mach-omap1/include/mach/debug-macro.S +2
-0#include <plat/serial.h> +omap_uart_phys: .word 0x0 +omap_uart_virt: .word 0x0I assume that you have no plans for XIP kernel support on OMAP, since these will be placed in the .text section, and is therefore read-only on XIP kernels.
Quoted 3 lines
Did not think of that.. Maybe some
addruart_premablesolution here would. Or adding \tmp register for addruart and just do the detection for each character.How does doing it per-character help? The code is:
ENTRY(printascii)
addruart r3
b 2f
1: waituart r2, r3
senduart r1, r3
busyuart r2, r3
teq r1, #'\n'
moveq r1, #'\r'
beq 1b2: teq r0, #0 ldrneb r1, [r0], #1 teqne r1, #0 bne 1b mov pc, lrYour wait/send/busy macros are just using the already provided base address which comes via r3 from addruart. That much is fine.
Quoted 12 lines
Quoted 3 lines
I'm at a loss to understand why you think moving the address-getting functionality out of addruart into the individual wait/send/busy macros is going to help in any way.
Sorry, I meant doing the detection each time addruart is run, not for each character.
Quoted 5 lines
Why not do something like this:
.pushsection .data
omap_uart_phys: .word 0omap_uart_virt: .word 0
Also We may need a:
omap_uart_shift: .word 0
Since shift also varies depending on different omap boards (external debug board shift=1, internal omap has shift=2)
Bingo..I think this was the key solution to the problem. I had posted long ago similar kind of implementation [1] and I wish rmk had given this nice idea then :)
[1] http://marc.info/?l=linux-omap&m=125269221820632&w=2
See this part: + .align + .type __phy_uart_addr, #object +__phy_uart_addr: .word 0xFF + .type __virt_uart_addr, #object +__virt_uart_addr: .word 0xFF
Quoted 22 lines
Quoted 11 lines
.popsection
.macro addruart, rx
...(quoted diff) +2
-0+ ldreq \rx, =omap_uart_phys @ physical base address + ldrne \rx, =omap_uart_virt @ virtual baseldr \rx, [\rx](quoted diff) +2
-0+ cmp \rx, #0 @ is port configured? + bne 99f @ already configuredQuoted 1 line
?
Sounds good to me. Will play with them and post refreshed patches.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic, v2
Quoted 9 lines · Pandita, Vikram
Quoted 9 lines · Russell King - ARM Linux
Quoted 7 lines
Why not do something like this:
.pushsection .data
omap_uart_phys: .word 0omap_uart_virt: .word 0
.popsection
Updated patch below using .data. This assumes getting an additional tmp register passed to addruart as in the patch I posted earlier.
Quoted 4 lines
Also We may need a:
omap_uart_shift: .word 0
Since shift also varies depending on different omap boards (external debug board shift=1, internal omap has shift=2)
OK, I've added that too, but for mach-omap2 only. I've also added an experimental zoom2/3 support.
Care to take try it out and see what happens on a zoom?
Quoted 11 lines
Bingo..I think this was the key solution to the problem. I had posted long ago similar kind of implementation [1] and I wish rmk had given this nice idea then :)
[1] http://marc.info/?l=linux-omap&m=125269221820632&w=2
See this part: + .align + .type __phy_uart_addr, #object +__phy_uart_addr: .word 0xFF + .type __virt_uart_addr, #object +__virt_uart_addr: .word 0xFF
Yeah hopefully we're pretty close to better DEBUG_LL support for omaps now :)
BTW, I've also pushed these patches into a temporary multi-omap branch in the linux-omap tree:
I'll update also the entry-macro.S tomorrow.
Regards,
Tony
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic, v2
Quoted 28 lines
-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Thursday, January 21, 2010 9:07 PM
To: Pandita, Vikram
Cc: Russell King - ARM Linux; linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org
Subject: Re: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic, v2Quoted 9 lines · Pandita, Vikram
Quoted 9 lines · Russell King - ARM Linux
Quoted 7 lines
Why not do something like this:
.pushsection .data
omap_uart_phys: .word 0omap_uart_virt: .word 0
.popsectionUpdated patch below using .data. This assumes getting an additional tmp register passed to addruart as in the patch I posted earlier.
Quoted 4 lines
Also We may need a:
omap_uart_shift: .word 0
Since shift also varies depending on different omap boards (external debug board shift=1, internal omap has shift=2)
Quoted 4 lines
OK, I've added that too, but for mach-omap2 only. I've also added an experimental zoom2/3 support.
Care to take try it out and see what happens on a zoom?
Test on zoom3 failed with multi-omap branch.
Debugging the same, should have a zoom correction patch out today.
Quoted 1 line
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic, v2
Quoted 8 lines · Pandita, Vikram
Quoted 5 lines
OK, I've added that too, but for mach-omap2 only. I've also added an experimental zoom2/3 support.
Care to take try it out and see what happens on a zoom?
Test on zoom3 failed with multi-omap branch.
Debugging the same, should have a zoom correction patch out today.
Heh OK. I just pushed more updates into the multi-omap branch if you want to try to boot zoom2/zoom3 using the same .config.
There are still issues with booting 2420 though..
Tony
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic, v2
Quoted 14 lines
-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Friday, January 22, 2010 2:55 PM
To: Pandita, Vikram
Cc: Russell King - ARM Linux; linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org
Subject: Re: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic, v2Quoted 4 lines · Pandita, Vikram
Quoted 4 lines
OK, I've added that too, but for mach-omap2 only. I've also added an experimental zoom2/3 support.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Care to take try it out and see what happens on a zoom?
Test on zoom3 failed with multi-omap branch.
Debugging the same, should have a zoom correction patch out today.Heh OK. I just pushed more updates into the multi-omap branch if you want to try to boot zoom2/zoom3 using the same .config.
Refreshed my tree and I don't see your patches yet.
Quoted 4 lines
There are still issues with booting 2420 though..
Tony
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic, v2
Quoted 16 lines · Pandita, Vikram
Quoted 16 lines
-----Original Message-----
From: Tony Lindgren [mailto:[email protected]]
Sent: Friday, January 22, 2010 2:55 PM
To: Pandita, Vikram
Cc: Russell King - ARM Linux; [email protected]; [email protected]
Subject: Re: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic, v2Quoted 6 lines · Pandita, Vikram
Quoted 5 lines
OK, I've added that too, but for mach-omap2 only. I've also added an experimental zoom2/3 support.
Care to take try it out and see what happens on a zoom?
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Test on zoom3 failed with multi-omap branch.
Debugging the same, should have a zoom correction patch out today.Heh OK. I just pushed more updates into the multi-omap branch if you want to try to boot zoom2/zoom3 using the same .config.
Refreshed my tree and I don't see your patches yet.
Takes a few minutes to get mirrored from master.kernel.org..
Tony
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic, v2
Tony
Quoted 27 lines
-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Friday, January 22, 2010 3:11 PM
To: Pandita, Vikram
Cc: Russell King - ARM Linux; linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org
Subject: Re: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic, v2Quoted 19 lines · Pandita, Vikram
Quoted 19 lines
-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Friday, January 22, 2010 2:55 PM
To: Pandita, Vikram
Cc: Russell King - ARM Linux; linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org
Subject: Re: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic, v2Quoted 8 lines · Pandita, Vikram
Quoted 5 lines
OK, I've added that too, but for mach-omap2 only. I've also added an experimental zoom2/3 support.
Care to take try it out and see what happens on a zoom?
Test on zoom3 failed with multi-omap branch.
Debugging the same, should have a zoom correction patch out today.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Heh OK. I just pushed more updates into the multi-omap branch if you want to try to boot zoom2/zoom3 using the same .config.
Refreshed my tree and I don't see your patches yet.
Takes a few minutes to get mirrored from master.kernel.org..
Yes I tried with new branch and zoom2/3 does not work. Root cause:
There is a very basic issue in low level code.
We are allowed to create only one Physical to Virtual mapping using MACHINE_START() phys_io and io_pg_offst of size 0x100000(1MB).
Now for zoom2/3 we need to do following:MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board")
- .phys_io = 0x48000000,
- .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc,
+ .phys_io = 0x1000000, /*ZOOM_UART_BASE*/
+ .io_pg_offst = ((0xfb000000) >> 18) & 0xfffc, /*ZOOM_UART_VIRT*/
.boot_params = 0x80000100,
.map_io = omap_zoom_map_io,
.init_irq = omap_zoom_init_irq,This will create mapping:0x1000000 <-> 0xfb000000 of 1MB
Now that leaves the phy address 0x4800000 omap register mapping, unmapped.
So the code to get scratchpad contents will abort:arch/arm/mach-omap2/include/mach/debug-macro.S
moveq \rx, #0x48000000 @ physical base address movne \rx, #0xfa000000 @ virtual base orr \rx, \rx, #0x0006a000 @ uart1 on omap2/3/4
This seems to be a basic limitation of low level code and I have not clue how to circumvent this. Thoughts?
Regards,
Vikram
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic, v2
Quoted 52 lines · Pandita, Vikram
Tony
Quoted 27 lines
-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Friday, January 22, 2010 3:11 PM
To: Pandita, Vikram
Cc: Russell King - ARM Linux; linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org
Subject: Re: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic, v2Quoted 19 lines · Pandita, Vikram
Quoted 19 lines
-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Friday, January 22, 2010 2:55 PM
To: Pandita, Vikram
Cc: Russell King - ARM Linux; linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org
Subject: Re: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic, v2Quoted 8 lines · Pandita, Vikram
Quoted 5 lines
OK, I've added that too, but for mach-omap2 only. I've also added an experimental zoom2/3 support.
Care to take try it out and see what happens on a zoom?
Test on zoom3 failed with multi-omap branch.
Debugging the same, should have a zoom correction patch out today.Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Heh OK. I just pushed more updates into the multi-omap branch if you want to try to boot zoom2/zoom3 using the same .config.
Refreshed my tree and I don't see your patches yet.
Takes a few minutes to get mirrored from master.kernel.org..
Yes I tried with new branch and zoom2/3 does not work. Root cause:
There is a very basic issue in low level code.We are allowed to create only one Physical to Virtual mapping using
MACHINE_START()phys_ioandio_pg_offstof size 0x100000(1MB).Now for zoom2/3 we need to do following:
MACHINE_START(OMAP_ZOOM3, "OMAP Zoom3 board")(quoted diff) +2
-2- .phys_io = 0x48000000, - .io_pg_offst = ((0xfa000000) >> 18) & 0xfffc, + .phys_io = 0x1000000, /*ZOOM_UART_BASE*/ + .io_pg_offst = ((0xfb000000) >> 18) & 0xfffc, /*ZOOM_UART_VIRT*/ .boot_params = 0x80000100, .map_io = omap_zoom_map_io, .init_irq = omap_zoom_init_irq,
Quoted 4 lines
This will create mapping:
0x1000000<->0xfb000000of 1MBNow that leaves the phy address
0x4800000omap register mapping, unmapped.
Right, we really need 0x48000000 mapped :)
Quoted 9 lines
So the code to get scratchpad contents will abort:
arch/arm/mach-omap2/include/mach/debug-macro.Smoveq \rx, #0x48000000 @ physical base address movne \rx, #0xfa000000 @ virtual base orr \rx, \rx, #0x0006a000 @ uart1 on omap2/3/4This seems to be a basic limitation of low level code and I have not clue how to circumvent this. Thoughts?
Please take a look at arch/arm/kernel/head.S where you can add the extra mapping early on.
Hmm, I wonder if we cand nowadays do the extra mapping for zoom external uart in arch/arm/kernel/early_printk.c?
Are you getting anything out of the zoom uart before MMU is enabled?
To test this you can temporarily break your kernel by commenting out the start_kernel line in head-common.S. Then the code falls through to __error_p and prints out a processor error..
Regards,
Tony
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
In reply to Russell King - ARM LinuxHi,
Quoted 21 lines · Russell King - ARM Linux
Quoted 20 lines · Tony Lindgren
Quoted 7 lines · Russell King - ARM Linux
Quoted 6 lines · Tony Lindgren
arch/arm/mach-omap1/include/mach/debug-macro.S +0
-0@@ -15,18 +15,71 @@Quoted 8 lines
arch/arm/mach-omap1/include/mach/debug-macro.S line 19
Quoted 4 lines
arch/arm/mach-omap1/include/mach/debug-macro.S +2
-0#include <plat/serial.h> +omap_uart_phys: .word 0x0 +omap_uart_virt: .word 0x0I assume that you have no plans for XIP kernel support on OMAP, since these will be placed in the .text section, and is therefore read-only on XIP kernels.
Did not think of that.. Maybe some
addruart_premablesolution here would. Or adding \tmp register for addruart and just do the detection for each character.
<snip>
Quoted 16 lines
Why not do something like this:
.pushsection .data
omap_uart_phys: .word 0omap_uart_virt: .word 0
.popsection.macro addruart, rx
...(quoted diff) +2
-0+ ldreq \rx, =omap_uart_phys @ physical base address + ldrne \rx, =omap_uart_virt @ virtual baseldr \rx, [\rx](quoted diff) +2
-0+ cmp \rx, #0 @ is port configured? + bne 99f @ already configured
Quoted 1 line
?
Works fine, but it add one issue. Looks like we need to add tmp register into addruart to initially save the omap_uart_phys and omap_uart_virt:
+ /* Store both phys and virt address for the uart */
+98: add \rx, \rx, #0x48000000 @ phys base
+ ldr \tmp, =omap_uart_phys
+ str \rx, [\tmp, #0]
+ sub \rx, \rx, #0x48000000 @ phys base
+ add \rx, \rx, #0xfa000000 @ virt base
+ ldr \tmp, =omap_uart_virt
+ str \rx, [\tmp, #0]
Does the following patch look OK to you, or do you have some other way in mind for doing it?
Regards,
Tony
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
In reply to Tony Lindgren<snip>
Quoted 25 lines
-----Original Message-----
From: linux-omap-owner at vger.kernel.org [mailto:linux-omap-owner at vger.kernel.org] On Behalf Of Tony Lindgren
Sent: Saturday, January 16, 2010 7:05 AM
To: linux-arm-kernel at lists.infradead.org
Cc: linux-omap at vger.kernel.org
Subject: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode genericDefine
arch_decomp_setup()the same way as some other architectures do. Usearch_idto configure the debug uart based on themachine_isby storing it into the uart scratchpad register forDEBUG_LLcode to use.Signed-off-by Tony Lindgren <[email protected]>--- arch/arm/mach-omap1/include/mach/debug-macro.S | 67 +++++++++- arch/arm/mach-omap1/serial.c | 12 ++ arch/arm/mach-omap2/include/mach/debug-macro.S | 76 ++++++++--- arch/arm/mach-omap2/serial.c | 11 ++ arch/arm/plat-omap/include/plat/serial.h | 18 +++ arch/arm/plat-omap/include/plat/uncompress.h | 168 +++++++++++++++++------- 6 files changed, 276 insertions(+), 76 deletions(-)
....
Quoted 73 lines
static struct
plat_serial8250_portserial_platform_data[] = {arch/arm/mach-omap2/include/mach/debug-macro.S +5
-0@@ -15,32 +15,66 @@ #include <plat/serial.h> +omap_uart_phys: .word 0x0 +omap_uart_virt: .word 0x0 + + /* + * Note that this code won't work if thebootloader passes
arch/arm/mach-omap2/include/mach/debug-macro.S +1
-0+ * a wrong machine ID number in r1. To debug,just hardcode
arch/arm/mach-omap2/include/mach/debug-macro.S +1
-0+ * the desired UART phys and virt addressestemporarily into
arch/arm/mach-omap2/include/mach/debug-macro.S +14
-21+ * the omap_uart_phys and omap_uart_virt above. + */ .macro addruart,rx + + /* Use omap_uart_phys/virt if already configured */ +10: mrc p15, 0, \rx, c1, c0 + tst \rx, #1 @ MMU enabled? + ldreq \rx, omap_uart_phys @ physical base address + ldrne \rx, omap_uart_virt @ virtual base + cmp \rx, #0 @ is port configured? + bne 99f @ already configured + + /* Check UART1 scratchpad register for uart to use */ mrc p15, 0, \rx, c1, c0 tst \rx, #1 @ MMU enabled? -#ifdef CONFIG_ARCH_OMAP2 moveq \rx, #0x48000000 @ physical base address movne \rx, #0xfa000000 @ virtual base - orr \rx, \rx, #0x0006a000 -#ifdef CONFIG_OMAP_LL_DEBUG_UART2 - add \rx, \rx, #0x00002000 @ UART 2 -#endif -#ifdef CONFIG_OMAP_LL_DEBUG_UART3 - add \rx, \rx, #0x00004000 @ UART 3 -#endif - -#elif defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4) - moveq \rx, #0x48000000 @ physical base address - movne \rx, #0xfa000000 @ virtual base - orr \rx, \rx, #0x0006a000 -#ifdef CONFIG_OMAP_LL_DEBUG_UART2 - add \rx, \rx, #0x00002000 @ UART 2 -#endif -#ifdef CONFIG_OMAP_LL_DEBUG_UART3 - add \rx, \rx, #0x00fb0000 @ UART 3 - add \rx, \rx, #0x00006000 -#endif -#endif + orr \rx, \rx, #0x0006a000 @ uart1 on omap2/3/4 + ldrb \rx, [\rx, #(UART_SCR <<
OMAP_PORT_SHIFT)] @ scratchpadarch/arm/mach-omap2/include/mach/debug-macro.S +2
-0+ + /* Select the UART to use based on the UART1scratchpad value */
arch/arm/mach-omap2/include/mach/debug-macro.S +2
-0+ cmp \rx, #0 @ no port configured? + beq 21f @ if none, tryto use UART1
arch/arm/mach-omap2/include/mach/debug-macro.S +2
-0+ cmp \rx, #OMAP2UART1 @ OMAP2/3/4UART1 + beq 21f @ configureOMAP2/3/4UART1
arch/arm/mach-omap2/include/mach/debug-macro.S +2
-0+ cmp \rx, #OMAP2UART2 @ OMAP2/3/4UART2 + beq 22f @ configureOMAP2/3/4UART2
arch/arm/mach-omap2/include/mach/debug-macro.S line 55
Quoted 4 lines
arch/arm/mach-omap2/include/mach/debug-macro.S +4
-0+ cmp \rx, #OMAP2UART3 @ only on 24xx + beq 23f @ configure OMAP2UART3 + cmp \rx, #OMAP3UART3 @ only on 34xx + beq 33f @ configure OMAP3UART3
Can you please add add OMAP4 UART3 case as well here using "OMAP4UART3".
Attached patch fixes UART3 support for OMAP4 on top of your patches. Tested this on OMAP4430 SDP. You can fold this patch if you like
@ configure OMAP4UART3
Quoted 14 lines
arch/arm/mach-omap2/include/mach/debug-macro.S +14
-0+ + /* Configure the UART offset from the phys/virt base */ +21: mov \rx, #0x0006a000 @ OMAP2/3/4UART1 +22: mov \rx, #0x0006a000 + add \rx, \rx, #0x00002000 @ OMAP2/3/4UART2 + b 98f +23: mov \rx, #0x0006a000 @ OMAP2/3/4UART1 + add \rx, \rx, #0x00004000 @ OMAP2UART3 + b 98f +33: mov \rx, #0x0006a000 @ OMAP2/3/4UART1 + add \rx, \rx, #0x00fb0000 + add \rx, \rx, #0x00006000 @ OMAP3UART3 + + /* Store both phys and virt address for the uart */
arch/arm/mach-omap2/include/mach/debug-macro.S line 80
Quoted 10 lines
arch/arm/mach-omap2/include/mach/debug-macro.S +7
-0+98: add \rx, \rx, #0x48000000 @ phys base + str \rx, omap_uart_phys + sub \rx, \rx, #0x48000000 @ phys base + add \rx, \rx, #0xfa000000 @ virt base + str \rx, omap_uart_virt + b 10b +99: .endm .macro senduart,rd,rx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-DEBUG_LL-for-OMAP4.patch
Type: application/octet-stream
Size: 1271 bytes
Desc: 0001-Update-DEBUG_LL-for-OMAP4.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100116/d90886a2/attachment-0001.obj>
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
* Shilimkar, Santosh <[email protected]> [100116 03:02]:
<snip>
Quoted 2 lines
Can you please add add OMAP4 UART3 case as well here using "OMAP4UART3".
Sure.
Quoted 2 lines
Attached patch fixes UART3 support for OMAP4 on top of your patches. Tested this on OMAP4430 SDP. You can fold this patch if you like
Thanks will test. And thanks for testing. Note that once the issues Russell pointed out are solved, we should also easily be able to support the external uart on Zoom boards for DEBUG_LL.
Regards,
Tony
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
Quoted 17 lines
-----Original Message-----
From: Tony Lindgren [mailto:tony at atomide.com]
Sent: Sunday, January 17, 2010 12:51 AM
To: Shilimkar, Santosh
Cc: linux-arm-kernel at lists.infradead.org; linux-omap at vger.kernel.org
Subject: Re: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic* Shilimkar, Santosh <[email protected]> [100116 03:02]:
<snip>
Quoted 2 lines
Can you please add add OMAP4 UART3 case as well here using "OMAP4UART3".
Sure.
Quoted 8 lines
Quoted 1 line
Attached patch fixes UART3 support for OMAP4 on top of your
patches. Tested
Quoted 1 line
this on OMAP4430 SDP. You can fold this patch if you like
Thanks will test. And thanks for testing. Note that once the issues Russell pointed out are solved, we should also easily be able to support the external uart on Zoom boards for
DEBUG_LL.
Cool.
Regards
Santosh
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
In reply to Tony LindgrenQuoted 3 lines
-----Original Message-----
From: [email protected] [mailto:linux-omap-owner at vger.kernel.org] On Behalf Of Tony
Quoted 5 lines
Lindgren
Sent: Friday, January 15, 2010 7:35 PM
To: linux-arm-kernel at lists.infradead.org
Cc: linux-omap at vger.kernel.org
Subject: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic
UART_SCR -> this is the scratchpad registerUART_OMAP_SCR -> This is TI-only Supplementary control register
You probably confused the two (as rightly so since SCR is same name).
So there is no need to save/restore the UART_SCR register as you have done, see inlined --
Quoted 7 lines
Define
arch_decomp_setup()the same way as some other architectures do. Usearch_idto configure the debug uart based on themachine_isby storing it into the uart scratchpad register forDEBUG_LLcode to use.Signed-off-by Tony Lindgren <[email protected]>
<snip>
Quoted 4 lines
arch/arm/mach-omap2/serial.c +0
-0@@ -161,11 +161,22 @@ static inline void serial_write_reg(struct plat_serial8250_port *p, int offset,static inline void __init omap_uart_reset (struct omap_uart_state *uart)
arch/arm/mach-omap2/serial.c static inline void serial_write_reg(struct plat_serial8250_port *p, int offset, · line 171
Quoted 10 lines
arch/arm/mach-omap2/serial.c +8
-0{struct plat_serial8250_port *p = uart->p; +u8 scratchpad =0 ; + +/* +* Save UART1 scratchpad register value for UART1 for DEBUG_LL. +* See also include/plat/uncompress.h and include/mach/debug-macro.S. +*/ +if (p->mapbase ==OMAP2_UART1_BASE )/* OMAP2/3/4UART1_BASE */ + scratchpad =serial_read_reg (p,UART_SCR );
No need to save and restore the UART_SCR register. This never gets used in this function.
What gets used is UART_OMAP_SCR which is OMAP specific supplimantry control register and not scratchpad.
arch/arm/mach-omap2/serial.c static inline void serial_write_reg(struct plat_serial8250_port *p, int offset, · line 179
Quoted 8 lines
arch/arm/mach-omap2/serial.c +3
-0serial_write_reg (p,UART_OMAP_MDR1 ,0x07 );serial_write_reg (p,UART_OMAP_SCR ,0x08 );serial_write_reg (p,UART_OMAP_MDR1 ,0x00 );serial_write_reg (p,UART_OMAP_SYSC , (0x02 <<3 ) | (1 <<2 ) | (1 <<0 )); + +if (p->mapbase ==OMAP2_UART1_BASE )/* OMAP2/3/4UART1_BASE */ +serial_write_reg (p,UART_SCR , scratchpad);
Remove this as well. No need.
<snip>
Quoted 8 lines
arch/arm/plat- renamed from arch/arm/plat-omap/include/plat/uncompress.h +0
-0
omap/include/plat/uncompress.h
index 13c305d..479bac8 100644arch/arm/plat-omap/include/plat/uncompress.h +0
-0@@ -19,62 +19,36 @@#include <linux/types.h>
arch/arm/plat-omap/include/plat/uncompress.h line 29
Quoted 10 lines
arch/arm/plat-omap/include/plat/uncompress.h +6
-1#include <linux/serial_reg.h> + +#include <asm/mach-types.h> +#include <plat/serial.h> -unsigned int system_rev; +static volatile u8 *uart1_base; +static volatile u8 *uart_base; +static volatile int uart_shift;
Just like uart_base is stored in scratchpad,
Somehow the uart_shift also needs to be stored so that boards with different uart_shift requirements can be addressed. Where can we store this another variable?
<snip>
arch/arm/plat-omap/include/plat/uncompress.h static inline void flush(void) · line 69
Quoted 12 lines
arch/arm/plat-omap/include/plat/uncompress.h +11
-0/* +* Macros to configure UART1 and debug UART +*/ +#define _DEBUG_LL_ENTRY (mach, uart1, dbg_uart, shift, dbg_id, reset_fn) \ + if (machine_is_##mach()) { \ + uart1_base = (volatile u8 *)(uart1); \ + uart_base = (volatile u8 *)(dbg_uart); \ + uart_shift = (shift); \ + port = (dbg_id); \ + reset_fn; \ + break; \ + }
Nice Idea... you are the man !!
<snip>
PATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
Quoted 71 lines · Vikram
Quoted 8 lines
-----Original Message-----
From: linux-omap-owner at vger.kernel.org [mailto:linux-omap-owner at vger.kernel.org] On Behalf Of Tony Lindgren
Sent: Friday, January 15, 2010 7:35 PM
To: linux-arm-kernel at lists.infradead.org
Cc: linux-omap at vger.kernel.org
Subject: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic
UART_SCR-> this is the scratchpad registerUART_OMAP_SCR-> This is TI-only Supplementary control registerYou probably confused the two (as rightly so since SCR is same name).
So there is no need to save/restore theUART_SCRregister as you have done, see inlined --Quoted 7 lines
Define
arch_decomp_setup()the same way as some other architectures do. Usearch_idto configure the debug uart based on themachine_isby storing it into the uart scratchpad register forDEBUG_LLcode to use.Signed-off-by Tony Lindgren <[email protected]><snip>
Quoted 4 lines
arch/arm/mach-omap2/serial.c +0
-0@@ -161,11 +161,22 @@ static inline void serial_write_reg(struct plat_serial8250_port *p, int offset,static inline void __init omap_uart_reset (struct omap_uart_state *uart)arch/arm/mach-omap2/serial.c static inline void serial_write_reg(struct plat_serial8250_port *p, int offset, · line 171
Quoted 10 lines
arch/arm/mach-omap2/serial.c +8
-0{struct plat_serial8250_port *p = uart->p; +u8 scratchpad =0 ; + +/* +* Save UART1 scratchpad register value for UART1 for DEBUG_LL. +* See also include/plat/uncompress.h and include/mach/debug-macro.S. +*/ +if (p->mapbase ==OMAP2_UART1_BASE )/* OMAP2/3/4UART1_BASE */ + scratchpad =serial_read_reg (p,UART_SCR );No need to save and restore the
UART_SCRregister. This never gets used in this function.What gets used is
UART_OMAP_SCRwhich is OMAP specific supplimantry control register and not scratchpad.arch/arm/mach-omap2/serial.c static inline void serial_write_reg(struct plat_serial8250_port *p, int offset, · line 179
Quoted 8 lines
arch/arm/mach-omap2/serial.c +3
-0serial_write_reg (p,UART_OMAP_MDR1 ,0x07 );serial_write_reg (p,UART_OMAP_SCR ,0x08 );serial_write_reg (p,UART_OMAP_MDR1 ,0x00 );serial_write_reg (p,UART_OMAP_SYSC , (0x02 <<3 ) | (1 <<2 ) | (1 <<0 )); + +if (p->mapbase ==OMAP2_UART1_BASE )/* OMAP2/3/4UART1_BASE */ +serial_write_reg (p,UART_SCR , scratchpad);Remove this as well. No need.
<snip>
Quoted 14 lines
arch/arm/plat- renamed from arch/arm/plat-omap/include/plat/uncompress.h +0
-0
omap/include/plat/uncompress.h
index 13c305d..479bac8 100644arch/arm/plat-omap/include/plat/uncompress.h +3
-0@@ -19,62 +19,36 @@#include <linux/types.h> #include <linux/serial_reg.h> + +#include <asm/mach-types.h> +#include <plat/serial.h>
Quoted 7 lines
arch/arm/plat-omap/include/plat/uncompress.h line 29
Quoted 4 lines
arch/arm/plat-omap/include/plat/uncompress.h +3
-1-unsigned int system_rev; +static volatile u8 *uart1_base; +static volatile u8 *uart_base; +static volatile int uart_shift;Just like
uart_baseis stored in scratchpad,
Somehow theuart_shiftalso needs to be stored so that boards with differentuart_shiftrequirements can be addressed. Where can we store this another variable?
Since the base addresses are aligned, how about store the shift in the least-significant 2 bits, and the rest is the base address.
Kevin
Quoted 17 lines
<snip>
arch/arm/plat-omap/include/plat/uncompress.h static inline void flush(void) · line 69
Quoted 12 lines
/*
+ * Macros to configure UART1 and debug UART
+ */arch/arm/plat-omap/include/plat/uncompress.h +9
-0+#define _DEBUG_LL_ENTRY (mach, uart1, dbg_uart, shift, dbg_id, reset_fn) \ + if (machine_is_##mach()) { \ + uart1_base = (volatile u8 *)(uart1); \ + uart_base = (volatile u8 *)(dbg_uart); \ + uart_shift = (shift); \ + port = (dbg_id); \ + reset_fn; \ + break; \ + }Nice Idea... you are the man !!
Quoted 2 lines
<snip>
NrybX?v^)?{.n+{f{ay
??,jfhz
w
j:+vwjmzZ+?j"!
Tony Lindgren
maintainerPATCH 2/4 omap: Make uncompress code and DEBUG_LL code generic
In reply to Pandita, VikramHi,
Quoted 46 lines · Pandita, Vikram
Quoted 9 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Tony Lindgren
Sent: Friday, January 15, 2010 7:35 PM
To: [email protected]
Cc: [email protected]
Subject: [PATCH 2/4] omap: Make uncompress code andDEBUG_LLcode generic
UART_SCR-> this is the scratchpad registerUART_OMAP_SCR-> This is TI-only Supplementary control registerYou probably confused the two (as rightly so since SCR is same name).
So there is no need to save/restore theUART_SCRregister as you have done, see inlined --Quoted 7 lines
Define
arch_decomp_setup()the same way as some other architectures do. Usearch_idto configure the debug uart based on themachine_isby storing it into the uart scratchpad register forDEBUG_LLcode to use.Signed-off-by Tony Lindgren <[email protected]><snip>
Quoted 4 lines
arch/arm/mach-omap2/serial.c +0
-0@@ -161,11 +161,22 @@ static inline void serial_write_reg(struct plat_serial8250_port *p, int offset,static inline void __init omap_uart_reset (struct omap_uart_state *uart)arch/arm/mach-omap2/serial.c static inline void serial_write_reg(struct plat_serial8250_port *p, int offset, · line 171
Quoted 10 lines
arch/arm/mach-omap2/serial.c +8
-0{struct plat_serial8250_port *p = uart->p; +u8 scratchpad =0 ; + +/* +* Save UART1 scratchpad register value for UART1 for DEBUG_LL. +* See also include/plat/uncompress.h and include/mach/debug-macro.S. +*/ +if (p->mapbase ==OMAP2_UART1_BASE )/* OMAP2/3/4UART1_BASE */ + scratchpad =serial_read_reg (p,UART_SCR );No need to save and restore the
UART_SCRregister. This never gets used in this function.What gets used is
UART_OMAP_SCRwhich is OMAP specific supplimantry control register and not scratchpad.Quoted 1 line
Quoted 9 lines
arch/arm/mach-omap2/serial.c static inline void serial_write_reg(struct plat_serial8250_port *p, int offset, · line 179
Quoted 7 lines
serial_write_reg(p, UART_OMAP_MDR1, 0x07); serial_write_reg(p, UART_OMAP_SCR, 0x08); serial_write_reg(p, UART_OMAP_MDR1, 0x00); serial_write_reg(p, UART_OMAP_SYSC, (0x02 << 3) | (1 << 2) | (1 << 0));arch/arm/mach-omap2/serial.c +3
-0+ +if (p->mapbase ==OMAP2_UART1_BASE )/* OMAP2/3/4UART1_BASE */ +serial_write_reg (p,UART_SCR , scratchpad);Remove this as well. No need.
Just to clarify, the uncompress.h code is using the UART_SCR to store the DEBUG_LL port number based on the machine ID.
The reason this code is not needed is that the earlyprintk code prints out something already before we get to this code.
If earlyprintk did not print anything before this code, we would need to save UART_SCR here as the debug serial port gets initialized the first time something is printed.
Although the code above uses UART_OMAP_SCR and not UART_SCR, it resets the uart so we lose UART_SCR.
So in any case I've dropped the code above.
Regards,
Tony
Tony Lindgren
maintainerPATCH 3/4 omap: Remove old DEBUG_LL serial port options
In reply to Tony LindgrenThese are no longer needed. Note that zoom boards
should now set their own function in uncompress.h
and debug-macro.S for the external UART.
--- arch/arm/plat-omap/Kconfig | 19 ------------------- 1 files changed, 0 insertions(+), 19 deletions(-)
arch/arm/plat-omap/Kconfig +0 -19
@@ -141,25 +141,6 @@ config OMAP_DM_TIMER help Select this option if you want to use OMAP Dual-Mode timers. -choice - prompt "Low-level debug console UART" - depends on ARCH_OMAP - default OMAP_LL_DEBUG_NONE - -config OMAP_LL_DEBUG_UART1 - bool "UART1" - -config OMAP_LL_DEBUG_UART2 - bool "UART2" - -config OMAP_LL_DEBUG_UART3 - bool "UART3" - -config OMAP_LL_DEBUG_NONE - bool "None" - -endchoice - config OMAP_SERIAL_WAKE bool "Enable wake-up events for serial ports" depends on ARCH_OMAP1 && OMAP_MUX
Tony Lindgren
maintainerPATCH 4/4 omap: Make get_irqnr_and_base common for mach-omap2 multiboot
In reply to Tony LindgrenMake get_irqnr_and_base common for mach-omap2 multiboot
Note that this will only work currently for 24xx and 34xx.
The overhead of this should be minimal, it basically adds one cmp to see if omap_irq_base has been configured already. If necessary, we can set separate optimized get_irqnr_and_base for non-multiboot configurations.
Support for 44xx can be added later on for basic multiboot, and similar patch should be done for mach-omap1/entry-macro.S.
--- arch/arm/mach-omap2/include/mach/entry-macro.S | 55 ++++++++++++++++-------- 1 files changed, 37 insertions(+), 18 deletions(-)
arch/arm/mach-omap2/include/mach/entry-macro.S +37 -18
@@ -17,18 +17,7 @@ #include <plat/omap24xx.h> #include <plat/omap34xx.h> - -/* REVISIT: This should be set dynamically if CONFIG_MULTI_OMAP2 is selected */ -#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) -#define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE) -#elif defined(CONFIG_ARCH_OMAP34XX) -#define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE) -#endif -#if defined(CONFIG_ARCH_OMAP4) #include <plat/omap44xx.h> -#endif -#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ -#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ .macro disable_fiq .endm
@@ -39,23 +28,53 @@ .macro arch_ret_to_user, tmp1, tmp2 .endm -#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX) + +#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ +#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ + +omap_irq_base: .word 0x0 + .macro get_irqnr_and_base, irqnr, irqstat, base, tmp - ldr \base, =OMAP2_VA_IC_BASE - ldr \irqnr, [\base, #0x98] /* IRQ pending reg 1 */ + ldr \base, omap_irq_base + cmp \base, #0 @ is irq base configured? + bne 9998f @ already configured + + /* Check the processor type */ + mrc p15, 0, \tmp, c0, c0, 0 @ get processor revision + and \tmp, \tmp, #0x000f0000 @ only check architecture + cmp \tmp, #0x00060000 @ is v6? + beq 2400f @ found v6 so it's omap24xx + cmp \tmp, #0x000f0000 @ is cortex? + beq 3400f @ found v7 so it's omap34xx + +2400: ldr \base, =OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE) + str \base, omap_irq_base + b 9998f + +3400: ldr \base, =OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE) + str \base, omap_irq_base + + /* Check the pending interrupts */ +9998: ldr \irqnr, [\base, #0x98] /* IRQ pending reg 1 */ cmp \irqnr, #0x0 - bne 2222f + bne 9999f ldr \irqnr, [\base, #0xb8] /* IRQ pending reg 2 */ cmp \irqnr, #0x0 - bne 2222f + bne 9999f ldr \irqnr, [\base, #0xd8] /* IRQ pending reg 3 */ cmp \irqnr, #0x0 -2222: +9999: ldrne \irqnr, [\base, #INTCPS_SIR_IRQ_OFFSET] and \irqnr, \irqnr, #ACTIVEIRQ_MASK /* Clear spurious bits */ .endm -#else +#endif + + +#ifdef CONFIG_ARCH_OMAP4 + #define OMAP44XX_VA_GIC_CPU_BASE OMAP2_L4_IO_ADDRESS(OMAP44XX_GIC_CPU_BASE) /*
PATCH 4/4 omap: Make get_irqnr_and_base common for mach-omap2 multiboot
This too is nice fix for multiboot.
Quoted 10 lines
-----Original Message-----
From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-arm-kernel-bounces at lists.infradead.org] On Behalf Of Tony Lindgren
Sent: Saturday, January 16, 2010 7:05 AM
To: linux-arm-kernel at lists.infradead.org
Cc: linux-omap at vger.kernel.org
Subject: [PATCH 4/4] omap: Makeget_irqnr_and_basecommon for mach-omap2 multiboot
Quoted 8 lines
Make
get_irqnr_and_basecommon for mach-omap2 multibootNote that this will only work currently for 24xx and 34xx.
The overhead of this should be minimal, it basically adds one cmp to see if
omap_irq_basehas been configured already. If necessary, we can set separate optimizedget_irqnr_and_basefor non-multiboot configurations.
Well there is an overhead of two instructions for every interrupt, so probably having two version of "get_irqnr_and_base" would be good.
Quoted 119 lines
Support for 44xx can be added later on for basic multiboot, and similar patch should be done for
mach-omap1/entry-macro.S.Signed-off-by Tony Lindgren <[email protected]>--- arch/arm/mach-omap2/include/mach/entry-macro.S | 55 ++++++++++++++++-------- 1 files changed, 37 insertions(+), 18 deletions(-)arch/arm/mach-omap2/include/mach/entry-macro.S +0
-2@@ -17,18 +17,7 @@ #include <plat/omap24xx.h> #include <plat/omap34xx.h> - -/* REVISIT: This should be set dynamically if
CONFIG_MULTI_OMAP2is selected */arch/arm/mach-omap2/include/mach/entry-macro.S +0
-2-#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) -#define OMAP2_VA_IC_BASE
OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE)arch/arm/mach-omap2/include/mach/entry-macro.S +0
-2-#elif defined(CONFIG_ARCH_OMAP34XX) -#define OMAP2_VA_IC_BASE
OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE)arch/arm/mach-omap2/include/mach/entry-macro.S +0
-4-#endif -#if defined(CONFIG_ARCH_OMAP4) #include <plat/omap44xx.h> -#endif -#define INTCPS_SIR_IRQ_OFFSET 0x0040 /*Active interrupt offset */
-#defineACTIVEIRQ_MASK0x7f/*
Active interrupt bits */arch/arm/mach-omap2/include/mach/entry-macro.S +4
-1.macro disable_fiq .endm@@ -39,23 +28,53 @@ .macro arch_ret_to_user, tmp1, tmp2 .endm -#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX) + +#define INTCPS_SIR_IRQ_OFFSET 0x0040 /*Active interrupt offset */
+#defineACTIVEIRQ_MASK0x7f/*
Active interrupt bits */arch/arm/mach-omap2/include/mach/entry-macro.S +5
-2+ +omap_irq_base: .word 0x0 + .macro get_irqnr_and_base, irqnr, irqstat, base, tmp - ldr \base, =OMAP2_VA_IC_BASE - ldr \irqnr, [\base, #0x98] /* IRQ pending reg 1 */ + ldr \base, omap_irq_base + cmp \base, #0 @ is irq baseconfigured?
arch/arm/mach-omap2/include/mach/entry-macro.S +5
-0+ bne 9998f @ already configured + + /* Check the processor type */ + mrc p15, 0, \tmp, c0, c0, 0 @ get processor revision + and \tmp, \tmp, #0x000f0000 @ only checkarchitecture
arch/arm/mach-omap2/include/mach/entry-macro.S +2
-0+ cmp \tmp, #0x00060000 @ is v6? + beq 2400f @ found v6 soit's omap24xx
arch/arm/mach-omap2/include/mach/entry-macro.S +2
-0+ cmp \tmp, #0x000f0000 @ is cortex? + beq 3400f @ found v7 soit's omap34xx
+
+2400: ldr \base,
=OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE)arch/arm/mach-omap2/include/mach/entry-macro.S +4
-0+ str \base, omap_irq_base + b 9998f + +3400: ldr \base,=OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE)
arch/arm/mach-omap2/include/mach/entry-macro.S +4
-0+ str \base, omap_irq_base + + /* Check the pending interrupts */ +9998: ldr \irqnr, [\base, #0x98] /* IRQpending reg 1 */
arch/arm/mach-omap2/include/mach/entry-macro.S +3
-3cmp \irqnr, #0x0 - bne 2222f + bne 9999f ldr \irqnr, [\base, #0xb8] /* IRQ pending reg 2 */ cmp \irqnr, #0x0 - bne 2222f + bne 9999f ldr \irqnr, [\base, #0xd8] /* IRQ pending reg 3 */ cmp \irqnr, #0x0 -2222: +9999: ldrne \irqnr, [\base, #INTCPS_SIR_IRQ_OFFSET] and \irqnr, \irqnr, #ACTIVEIRQ_MASK /*Clear spurious bits */
arch/arm/mach-omap2/include/mach/entry-macro.S +5
-1.endm -#else +#endif + + +#ifdef CONFIG_ARCH_OMAP4 + #define OMAP44XX_VA_GIC_CPU_BASE
OMAP2_L4_IO_ADDRESS(OMAP44XX_GIC_CPU_BASE)/*
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 4/4 omap: Make get_irqnr_and_base common for mach-omap2 multiboot
In reply to Tony Lindgrenarch/arm/mach-omap2/include/mach/entry-macro.S line 37
Quoted 8 lines · Tony Lindgren
arch/arm/mach-omap2/include/mach/entry-macro.S +7
-1-#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX) + +#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ +#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ + +omap_irq_base: .word 0x0
You have no idea where this word will be placed - it could be in the middle of a read only section, which might really be read only. It might also be out of reach of the "ldr \base, [pc, #offset]" instructions you're using below - which is what an "ldr \base, address" instruction really is.
arch/arm/mach-omap2/include/mach/entry-macro.S line 42
Quoted 7 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +4
-2+ .macro get_irqnr_and_base, irqnr, irqstat, base, tmp - ldr \base, =OMAP2_VA_IC_BASE - ldr \irqnr, [\base, #0x98] /* IRQ pending reg 1 */ + ldr \base, omap_irq_base + cmp \base, #0 @ is irq base configured? + bne 9998f @ already configured
First thing, why not use get_irqnr_preamble to load the base address? That means you only do all this computation once per group of IRQs processed.
Secondly, is this really worth the overhead, or can't you move omap_irq_base into the data section, and have your IRQ initialization function set the pointer?
You then don't have to make these two tests every time you check for an interrupt/enter to process interrupts.
Tony Lindgren
maintainerPATCH 4/4 omap: Make get_irqnr_and_base common for mach-omap2 multiboot
Quoted 14 lines · Russell King - ARM Linux
arch/arm/mach-omap2/include/mach/entry-macro.S line 37
Quoted 8 lines · Tony Lindgren
arch/arm/mach-omap2/include/mach/entry-macro.S +7
-1-#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX) + +#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ +#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ + +omap_irq_base: .word 0x0You have no idea where this word will be placed - it could be in the middle of a read only section, which might really be read only. It might also be out of reach of the "ldr \base, [pc, #offset]" instructions you're using below - which is what an "ldr \base, address" instruction really is.
OK
Quoted 11 lines
arch/arm/mach-omap2/include/mach/entry-macro.S line 42
Quoted 7 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +4
-2+ .macro get_irqnr_and_base, irqnr, irqstat, base, tmp - ldr \base, =OMAP2_VA_IC_BASE - ldr \irqnr, [\base, #0x98] /* IRQ pending reg 1 */ + ldr \base, omap_irq_base + cmp \base, #0 @ is irq base configured? + bne 9998f @ already configuredFirst thing, why not use
get_irqnr_preambleto load the base address? That means you only do all this computation once per group of IRQs processed.
Thanks for the tip, will do.
Quoted 3 lines
Secondly, is this really worth the overhead, or can't you move
omap_irq_baseinto the data section, and have your IRQ initialization function set the pointer?
Sounds like a good plan. We can have optimized versions for non-multiomap configurations.
Quoted 2 lines
You then don't have to make these two tests every time you check for an interrupt/enter to process interrupts.
Great, that will make things much nicer.
Tony
Tony Lindgren
maintainerPATCH 4/4 omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2
In reply to Russell King - ARM LinuxQuoted 27 lines · Russell King - ARM Linux
arch/arm/mach-omap2/include/mach/entry-macro.S line 37
Quoted 8 lines · Tony Lindgren
arch/arm/mach-omap2/include/mach/entry-macro.S +7
-1-#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX) + +#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ +#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ + +omap_irq_base: .word 0x0You have no idea where this word will be placed - it could be in the middle of a read only section, which might really be read only. It might also be out of reach of the "ldr \base, [pc, #offset]" instructions you're using below - which is what an "ldr \base, address" instruction really is.
arch/arm/mach-omap2/include/mach/entry-macro.S line 42
Quoted 7 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +4
-2+ .macro get_irqnr_and_base, irqnr, irqstat, base, tmp - ldr \base, =OMAP2_VA_IC_BASE - ldr \irqnr, [\base, #0x98] /* IRQ pending reg 1 */ + ldr \base, omap_irq_base + cmp \base, #0 @ is irq base configured? + bne 9998f @ already configuredFirst thing, why not use
get_irqnr_preambleto load the base address? That means you only do all this computation once per group of IRQs processed.
Quoted 6 lines
Secondly, is this really worth the overhead, or can't you move
omap_irq_baseinto the data section, and have your IRQ initialization function set the pointer?You then don't have to make these two tests every time you check for an interrupt/enter to process interrupts.
Here's this patch updated. It should now be actually more optimized for non-multi-omap configurations as it uses the get_irqnr_preamble :)
Regards,
Tony
PATCH 4/4 omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2
Quoted 2 lines · Tony Lindgren
Here's this patch updated. It should now be actually more optimized for non-multi-omap configurations as it uses the
get_irqnr_preamble:)
And the patch looks a lot cleaner and easier to read.
Quoted 23 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +0
-11@@ -17,47 +17,85 @@ #include <plat/omap24xx.h> #include <plat/omap34xx.h> - -/* REVISIT: This should be set dynamically if CONFIG_MULTI_OMAP2 is selected */ -#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) -#define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE) -#elif defined(CONFIG_ARCH_OMAP34XX) -#define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE) -#endif -#if defined(CONFIG_ARCH_OMAP4) #include <plat/omap44xx.h> -#endif -#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ -#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ .macro disable_fiq .endm
arch/arm/mach-omap2/include/mach/entry-macro.S line 29
Quoted 10 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +2
-4- .macro get_irqnr_preamble, base, tmp - .endm - .macro arch_ret_to_user, tmp1, tmp2 .endm -#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX)
Isn't this equivalent to:
#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
?
Quoted 28 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +28
-0+ +#define OMAP2_IRQ_BASE OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE) +#define OMAP3_IRQ_BASE OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE) +#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ +#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ + + .pushsection .data +omap_irq_base: .word 0 + .popsection + +#if defined(CONFIG_ARCH_OMAP2) && defined(CONFIG_ARCH_OMAP3) + /* Configure the interrupt base on the first interrupt */ + .macro get_irqnr_preamble, base, tmp +9: + ldr \base, =omap_irq_base @ irq base address + ldr \base, [\base, #0] @ irq base value + cmp \base, #0 @ already configured? + bne 9998f @ nothing to do + + mrc p15, 0, \tmp, c0, c0, 0 @ get processor revision + and \tmp, \tmp, #0x000f0000 @ only check architecture + cmp \tmp, #0x00060000 @ is v6? + beq 2400f @ found v6 so it's omap24xx + cmp \tmp, #0x000f0000 @ is cortex? + beq 3400f @ found v7 so it's omap34xx +2400: ldr \base, =OMAP2_IRQ_BASE + ldr \tmp, =omap_irq_base + str \base, [\tmp, #0]
arch/arm/mach-omap2/include/mach/entry-macro.S line 67
Quoted 10 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +10
-0+ b 9b +3400: ldr \base, =OMAP3_IRQ_BASE + ldr \tmp, =omap_irq_base + str \base, [\tmp, #0] + b 9b +9998: + .endm +#else + .macro get_irqnr_preamble, base, tmp +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430)
And this
#elif defined(CONFIG_ARCH_OMAP2)
?
arch/arm/mach-omap2/include/mach/entry-macro.S line 71
Quoted 4 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +4
-0+ ldr \base, =OMAP2_IRQ_BASE +#else + ldr \base, =OMAP3_IRQ_BASE +#endif
Whereas I can see the sense in loading 'base' here directly, I don't see the point of finding a value for omap_irq_base in assembly code, when you have to do IRQ initialization in C code. In fact, you're already sorting this out in omap_init_irq().
Tony Lindgren
maintainerPATCH 4/4 omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2
Quoted 42 lines · Russell King - ARM Linux
Quoted 2 lines · Tony Lindgren
Here's this patch updated. It should now be actually more optimized for non-multi-omap configurations as it uses the
get_irqnr_preamble:)And the patch looks a lot cleaner and easier to read.
Quoted 23 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +0
-11@@ -17,47 +17,85 @@ #include <plat/omap24xx.h> #include <plat/omap34xx.h> - -/* REVISIT: This should be set dynamically if CONFIG_MULTI_OMAP2 is selected */ -#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) -#define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE) -#elif defined(CONFIG_ARCH_OMAP34XX) -#define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE) -#endif -#if defined(CONFIG_ARCH_OMAP4) #include <plat/omap44xx.h> -#endif -#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ -#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ .macro disable_fiq .endmarch/arm/mach-omap2/include/mach/entry-macro.S line 29
Quoted 10 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +2
-4- .macro get_irqnr_preamble, base, tmp - .endm - .macro arch_ret_to_user, tmp1, tmp2 .endm -#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX)Isn't this equivalent to:
Quoted 3 lines
#if
defined(CONFIG_ARCH_OMAP2)||defined(CONFIG_ARCH_OMAP3)?
Hmm, I guess it's not like that yet, but will be hopefully soon.
Currently I believe we have CONFIG_ARCH_OMAP2 selected for CONFIG_ARCH_OMAP3 too..
I have a set of patches that will remove the overlapping Kconfig options. Basically I'm planning to convert:
CONFIG_ARCH_OMAP1 = arch/arm/mach-omap1CONFIG_ARCH_OMAP2PLUS = arch/arm/mach-omap2
CONFIG_ARCH_OMAP2 = defined(CONFIG_CPU_OMAP2420) || defined(CONFIG_CPU_OMAP2430) CONFIG_ARCH_OMAP3 = defined(CONFIG_CPU_OMAP3430) || defined(CONFIG_CPU_OMAP3630)
CONFIG_ARCH_OMAP4 = stays the same
That will get rid of the double meaning for current CONFIG_ARCH_OMAP2, and get rid of CONFIG_ARCH_OMAP24XX and CONFIG_ARCH_OMAP34XX. Will post after I've updated those patches again, hopefully during next week.
Regards,
Tony
Tony Lindgren
maintainerPATCH 4/4 omap: Make get_irqnr_and_base common for mach-omap2 multiboot, v2
Quoted 45 lines · Tony Lindgren
Quoted 44 lines · Russell King - ARM Linux
Quoted 2 lines · Tony Lindgren
Here's this patch updated. It should now be actually more optimized for non-multi-omap configurations as it uses the
get_irqnr_preamble:)And the patch looks a lot cleaner and easier to read.
Quoted 23 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +0
-11@@ -17,47 +17,85 @@ #include <plat/omap24xx.h> #include <plat/omap34xx.h> - -/* REVISIT: This should be set dynamically if CONFIG_MULTI_OMAP2 is selected */ -#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) -#define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP24XX_IC_BASE) -#elif defined(CONFIG_ARCH_OMAP34XX) -#define OMAP2_VA_IC_BASE OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE) -#endif -#if defined(CONFIG_ARCH_OMAP4) #include <plat/omap44xx.h> -#endif -#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */ -#define ACTIVEIRQ_MASK 0x7f /* Active interrupt bits */ .macro disable_fiq .endmarch/arm/mach-omap2/include/mach/entry-macro.S line 29
Quoted 10 lines
arch/arm/mach-omap2/include/mach/entry-macro.S +2
-4- .macro get_irqnr_preamble, base, tmp - .endm - .macro arch_ret_to_user, tmp1, tmp2 .endm -#ifndef CONFIG_ARCH_OMAP4 +#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430) || \ + defined(CONFIG_ARCH_OMAP34XX)Isn't this equivalent to:
#if
defined(CONFIG_ARCH_OMAP2)||defined(CONFIG_ARCH_OMAP3)
Quoted 7 lines
Quoted 1 line
?
Hmm, I guess it's not like that yet, but will be hopefully soon.
Currently I believe we have
CONFIG_ARCH_OMAP2selected forCONFIG_ARCH_OMAP3too..
Hmm, never mind, I guess that issue is sorted out already. So will update the patch accordingly. Other confusing Kconfig options still remain, see below.
Quoted 21 lines
I have a set of patches that will remove the overlapping
Kconfigoptions. Basically I'm planning to convert:
CONFIG_ARCH_OMAP1=arch/arm/mach-omap1CONFIG_ARCH_OMAP2PLUS=arch/arm/mach-omap2CONFIG_ARCH_OMAP2 = defined(CONFIG_CPU_OMAP2420) || defined(CONFIG_CPU_OMAP2430) CONFIG_ARCH_OMAP3 = defined(CONFIG_CPU_OMAP3430) || defined(CONFIG_CPU_OMAP3630)
CONFIG_ARCH_OMAP4= stays the sameThat will get rid of the double meaning for current
CONFIG_ARCH_OMAP2, and get rid ofCONFIG_ARCH_OMAP24XXandCONFIG_ARCH_OMAP34XX. Will post after I've updated those patches again, hopefully during next week.Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Tony Lindgren
maintainercover omap multiboot improvments for merge window after 2.6.34
In reply to Tony LindgrenQuoted 7 lines · Tony Lindgren
Hi all,
Here are some multiboot improvments for review. These patches are intended for the 2.6.34 merge window.
Comments and testing would be nice, I've tested them so far on osk, 770, n800, rx51 and overo.
Attached is also an experimental patch to compile in 2420 and 34xx and the .config I used.
It still fails early during the boot in dmtimer_init, so it's just for reference in case anybody wants to play with it.
Note that we still have a problem compiling in 2420 and 2430 because of the different clock bases.
Cheers,
Tony
Quoted 1 line
From
57637b81fbfe43959ebc132250b13fae00da838aMon Sep 17 00:00:00 2001
From: Tony Lindgren <[email protected]>
Date: Fri, 15 Jan 2010 18:05:48 -0800
Subject: [PATCH] omap: Multiboot compile fixes to compile in 24xx and 34xx
Allows compiling in 24xx and 34xx. Not yet ready for merging, some things need to be done nicer.
Currently booting still fails early in omap_dm_timer_init.
arch/arm/mach-omap2/Makefile +8 -0
@@ -26,6 +26,10 @@ obj-$(CONFIG_ARCH_OMAP2420) += sram242x.o obj-$(CONFIG_ARCH_OMAP2430) += sram243x.o obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o +AFLAGS_sram242x.o :=-Wa,-march=armv6 +AFLAGS_sram243x.o :=-Wa,-march=armv6 +AFLAGS_sram34xx.o :=-Wa,-march=armv7-a + # Pin multiplexing obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
@@ -39,6 +43,10 @@ obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o obj-$(CONFIG_ARCH_OMAP24XX) += sleep24xx.o obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o cpuidle34xx.o obj-$(CONFIG_PM_DEBUG) += pm-debug.o + +AFLAGS_sleep24xx.o :=-Wa,-march=armv6 +AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a + endif # PRCM
arch/arm/mach-omap2/clock.c +26 -0
@@ -1092,3 +1092,29 @@ void omap2_clk_disable_unused(struct clk *clk) pwrdm_clkdm_state_switch(clk->clkdm); }#endif + +int __init omap2_clk_init (void ) +{ +if (cpu_is_omap24xx ()) +return omap2xxx_clk_init (); +else if (cpu_is_omap34xx ()) +return omap3_clk_init (); +else if (cpu_is_omap44xx ()) +return omap4_clk_init (); +else +WARN_ON (1 ); + +return -ENODEV ; +} + +void omap2_clk_prepare_for_reboot (void ) +{ +if (cpu_is_omap24xx ()) +omap2xxx_clk_prepare_for_reboot (); +else if (cpu_is_omap34xx ()) +omap3_clk_prepare_for_reboot (); +else if (cpu_is_omap44xx ()) +omap3_clk_prepare_for_reboot (); +else +BUG (); +}
arch/arm/mach-omap2/clock.h +13 -1
@@ -48,6 +48,10 @@#define DPLL_LOCKED 0x7int omap2_clk_init (void ); +int omap2xxx_clk_init (void ); +int omap3_clk_init (void ); +int omap4_clk_init (void ); +int omap2_clk_enable (struct clk *clk);void omap2_clk_disable (struct clk *clk);long omap2_clk_round_rate (struct clk *clk,unsigned long rate);
@@ -84,7 +88,12 @@ int omap2_clksel_set_rate(struct clk *clk, unsigned long rate);u32 omap2_get_dpll_rate (struct clk *clk);void omap2_init_dpll_parent (struct clk *clk);int omap2_wait_clock_ready (void __iomem *reg,u32 cval,const char *name); +void omap2_clk_prepare_for_reboot (void ); +void omap2xxx_clk_prepare_for_reboot (void ); +void omap3_clk_prepare_for_reboot (void ); +void omap4_clk_prepare_for_reboot (void ); +int omap2_dflt_clk_enable (struct clk *clk);void omap2_dflt_clk_disable (struct clk *clk); void omap2_clk_dflt_find_companion(struct clk *clk, void __iomem **other_reg,
@@ -97,7 +106,10 @@ extern u8 cpu_mask;extern const struct clkops clkops_omap2_dflt_wait;extern const struct clkops clkops_omap2_dflt; -extern struct clk_functions omap2_clk_functions; +extern struct clk_functions omap2xxx_clk_functions; +extern struct clk_functions omap3_clk_functions; +extern struct clk_functions omap4_clk_functions; +extern struct clk *vclk, *sclk;extern const struct clksel_rate gpt_32k_rates[];
arch/arm/mach-omap2/clock2xxx.c +2 -2
@@ -523,7 +523,7 @@ void omap2_clk_exit_cpufreq_table(struct cpufreq_frequency_table **table)#endif -struct clk_functions omap2_clk_functions = { +struct clk_functions omap2xxx_clk_functions = { .clk_enable = omap2_clk_enable, .clk_disable = omap2_clk_disable, .clk_round_rate = omap2_clk_round_rate,
@@ -578,7 +578,7 @@ unsigned long omap2_sys_clk_recalc(struct clk *clk)/* * Set clocks for bypass mode for reboot to work. */ -void omap2_clk_prepare_for_reboot (void ) +void omap2xxx_clk_prepare_for_reboot (void ) {u32 rate;
arch/arm/mach-omap2/clock2xxx_data.c +2 -2
@@ -2238,7 +2238,7 @@ static struct omap_clk omap24xx_clks[] = {* init code */ -int __init omap2_clk_init (void ) +int __init omap2xxx_clk_init (void ) {const struct prcm_config *prcm;struct omap_clk *c;
@@ -2257,7 +2257,7 @@ int __init omap2_clk_init(void) rate_table = omap2430_rate_table; } -clk_init (&omap2_clk_functions); +clk_init (&omap2xxx_clk_functions);for (c = omap24xx_clks; c < omap24xx_clks +ARRAY_SIZE (omap24xx_clks); c++)clk_preinit (c->lk.clk);
arch/arm/mach-omap2/clock34xx.c +2 -2
@@ -258,7 +258,7 @@ int omap3_core_dpll_m2_set_rate(struct clk *clk, unsigned long rate)*/ #if defined(CONFIG_ARCH_OMAP3 ) -struct clk_functions omap2_clk_functions = { +struct clk_functions omap3_clk_functions = { .clk_enable = omap2_clk_enable, .clk_disable = omap2_clk_disable, .clk_round_rate = omap2_clk_round_rate,
@@ -270,7 +270,7 @@ struct clk_functions omap2_clk_functions = {/* * Set clocks for bypass mode for reboot to work. */ -void omap2_clk_prepare_for_reboot (void ) +void omap3_clk_prepare_for_reboot (void ) {/* REVISIT: Not ready for 343x */ #if 0
arch/arm/mach-omap2/clock34xx_data.c +2 -2
@@ -3215,7 +3215,7 @@ static struct omap_clk omap34xx_clks[] = { }; -int __init omap2_clk_init (void ) +int __init omap3_clk_init (void ) {/* struct prcm_config *prcm; */ struct omap_clk *c;
@@ -3239,7 +3239,7 @@ int __init omap2_clk_init(void) } } -clk_init (&omap2_clk_functions); +clk_init (&omap3_clk_functions);for (c = omap34xx_clks; c < omap34xx_clks +ARRAY_SIZE (omap34xx_clks); c++)clk_preinit (c->lk.clk);
arch/arm/mach-omap2/clock44xx.c +2 -2
@@ -13,7 +13,7 @@#include <linux/errno.h> #include "clock.h" -struct clk_functions omap2_clk_functions = { +struct clk_functions omap4_clk_functions = { .clk_enable = omap2_clk_enable, .clk_disable = omap2_clk_disable, .clk_round_rate = omap2_clk_round_rate,
@@ -27,7 +27,7 @@ const struct clkops clkops_noncore_dpll_ops = { .disable = &omap3_noncore_dpll_disable, }; -void omap2_clk_prepare_for_reboot (void ) +void omap4_clk_prepare_for_reboot (void ) {return ; }
arch/arm/mach-omap2/clock44xx_data.c +2 -2
@@ -2726,7 +2726,7 @@ static struct omap_clk omap44xx_clks[] = { CLK(NULL, "utmi_p2_gfclk_ck", &utmi_p2_gfclk_ck, CK_443X), }; -int __init omap2_clk_init (void ) +int __init omap4_clk_init (void ) {/* struct prcm_config *prcm; */ struct omap_clk *c;
@@ -2738,7 +2738,7 @@ int __init omap2_clk_init(void) cpu_clkflg =CK_443X ; } -clk_init (&omap2_clk_functions); +clk_init (&omap4_clk_functions);for (c = omap44xx_clks; c < omap44xx_clks +ARRAY_SIZE (omap44xx_clks); c++)
arch/arm/mach-omap2/opp2xxx.h +5 -0
@@ -417,7 +417,12 @@ struct prcm_config {extern const struct prcm_config omap2420_rate_table[]; + +#ifdef CONFIG_ARCH_OMAP2430 extern const struct prcm_config omap2430_rate_table[]; +#else +#define omap2430_rate_table NULL +#endif extern const struct prcm_config *rate_table;extern const struct prcm_config *curr_prcm_set;
arch/arm/plat-omap/Kconfig +5 -5
@@ -5,6 +5,9 @@ menu "TI OMAP Implementations" config ARCH_OMAP_OTG bool +config ARCH_OMAP3 + bool + choice prompt "OMAP System Type" default ARCH_OMAP1
@@ -14,13 +17,10 @@ config ARCH_OMAP1 select COMMON_CLKDEV config ARCH_OMAP2 - bool "TI OMAP2" + bool "TI OMAP2 and OMAP3" select CPU_V6 - select COMMON_CLKDEV - -config ARCH_OMAP3 - bool "TI OMAP3" select CPU_V7 + select ARCH_OMAP3 select COMMON_CLKDEV config ARCH_OMAP4
arch/arm/plat-omap/gpio.c +1 -1
@@ -1630,7 +1630,7 @@ static int gpio_2irq(struct gpio_chip *chip, unsigned offset)/*---------------------------------------------------------------------*/ static int initialized; -#if !(defined(CONFIG_ARCH_OMAP3 ) || defined(CONFIG_ARCH_OMAP4 )) +#if defined(CONFIG_ARCH_OMAP1 ) || defined(CONFIG_ARCH_OMAP2 )static struct clk * gpio_ick;#endif
#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.33-rc4
# Fri Jan 15 18:04:18 2010
#CONFIG_ARM=yCONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_GENERIC_GPIO=yCONFIG_GENERIC_TIME=yCONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_HARDIRQS=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_HARDIRQS_SW_RESEND=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_ARCH_HAS_CPUFREQ=yCONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_OPROFILE_ARMV6=y CONFIG_OPROFILE_ARM11_CORE=y CONFIG_OPROFILE_ARMV7=y CONFIG_VECTORS_BASE=0xffff0000 CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_CONSTRUCTORS=y
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_LZO is not setCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not setCONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
#
# RCU Subsystem
#CONFIG_TREE_RCU=y
# CONFIG_TREE_PREEMPT_RCU is not set
# CONFIG_TINY_RCU is not set
# CONFIG_RCU_TRACE is not setCONFIG_RCU_FANOUT=32
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_TREE_RCU_TRACE is not setCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_LOG_BUF_SHIFT=16CONFIG_GROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=y
# CONFIG_RT_GROUP_SCHED is not setCONFIG_USER_SCHED=y
# CONFIG_CGROUP_SCHED is not set
# CONFIG_CGROUPS is not set
# CONFIG_SYSFS_DEPRECATED_V2 is not set
# CONFIG_RELAY is not set
# CONFIG_NAMESPACES is not setCONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_LZO is not setCONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=yCONFIG_EMBEDDED=yCONFIG_UID16=y
# CONFIG_SYSCTL_SYSCALL is not setCONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not setCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=y
# CONFIG_ELF_CORE is not setCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=y
#
# Kernel Performance Events And Counters
#CONFIG_VM_EVENT_COUNTERS=yCONFIG_SLUB_DEBUG=y
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLOB is not setCONFIG_PROFILING=yCONFIG_TRACEPOINTS=yCONFIG_OPROFILE=yCONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not setCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_CLK=y
#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
# CONFIG_SLOW_WORK is not setCONFIG_HAVE_GENERIC_DMA_COHERENT=yCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not setCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=yCONFIG_MODVERSIONS=yCONFIG_MODULE_SRCVERSION_ALL=yCONFIG_BLOCK=yCONFIG_LBDAF=y
# CONFIG_BLK_DEV_BSG is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set # CONFIG_INLINE_SPIN_UNLOCK is not set
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set # CONFIG_INLINE_READ_UNLOCK is not set
# CONFIG_INLINE_READ_UNLOCK_BH is not set # CONFIG_INLINE_READ_UNLOCK_IRQ is not set # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set # CONFIG_INLINE_WRITE_UNLOCK is not set
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set # CONFIG_MUTEX_SPIN_ON_OWNER is not set CONFIG_FREEZER=y
#
# System Type
#CONFIG_MMU=y
# CONFIG_ARCH_AAEC2000 is not set
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_GEMINI is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_STMP3XXX is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_H720X is not set
# CONFIG_ARCH_NOMADIK is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IXP23XX is not set
# CONFIG_ARCH_IXP2000 is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_L7200 is not set
# CONFIG_ARCH_DOVE is not set
# CONFIG_ARCH_KIRKWOOD is not set
# CONFIG_ARCH_LOKI is not set
# CONFIG_ARCH_MV78XX0 is not set
# CONFIG_ARCH_ORION5X is not set
# CONFIG_ARCH_MMP is not set
# CONFIG_ARCH_KS8695 is not set
# CONFIG_ARCH_NS9XXX is not set
# CONFIG_ARCH_W90X900 is not set
# CONFIG_ARCH_PNX4008 is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_MSM is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
# CONFIG_ARCH_S3C2410 is not set
# CONFIG_ARCH_S3C64XX is not set
# CONFIG_ARCH_S5PC1XX is not set
# CONFIG_ARCH_SHARK is not set
# CONFIG_ARCH_LH7A40X is not set
# CONFIG_ARCH_U300 is not set
# CONFIG_ARCH_DAVINCI is not setCONFIG_ARCH_OMAP=y
# CONFIG_ARCH_BCMRING is not set
# CONFIG_ARCH_U8500 is not set
#
# TI OMAP Implementations
#CONFIG_ARCH_OMAP_OTG=yCONFIG_ARCH_OMAP3=y
# CONFIG_ARCH_OMAP1 is not setCONFIG_ARCH_OMAP2=y
# CONFIG_ARCH_OMAP4 is not set
#
# OMAP Feature Selections
#CONFIG_OMAP_RESET_CLOCKS=yCONFIG_OMAP_MUX=yCONFIG_OMAP_MUX_DEBUG=yCONFIG_OMAP_MUX_WARNINGS=yCONFIG_OMAP_MCBSP=y
# CONFIG_OMAP_MBOX_FWK is not set
# CONFIG_OMAP_MPU_TIMER is not setCONFIG_OMAP_32K_TIMER=yCONFIG_OMAP_32K_TIMER_HZ=128CONFIG_OMAP_DM_TIMER=y
# CONFIG_OMAP_PM_NONE is not setCONFIG_OMAP_PM_NOOP=y
# CONFIG_MACH_OMAP_GENERIC is not set
#
# OMAP Core Type
#CONFIG_ARCH_OMAP24XX=yCONFIG_ARCH_OMAP2420=y
# CONFIG_ARCH_OMAP2430 is not setCONFIG_ARCH_OMAP34XX=yCONFIG_ARCH_OMAP3430=yCONFIG_OMAP_PACKAGE_CBB=yCONFIG_OMAP_PACKAGE_CBP=y
#
# OMAP Board Type
#CONFIG_MACH_OMAP2_TUSB6010=y
# CONFIG_MACH_OMAP_H4 is not set
# CONFIG_MACH_OMAP_APOLLON is not set
# CONFIG_MACH_OMAP_2430SDP is not setCONFIG_MACH_OMAP3_BEAGLE=yCONFIG_MACH_OMAP_LDP=yCONFIG_MACH_OVERO=y
# CONFIG_MACH_OMAP3EVM is not set
# CONFIG_MACH_OMAP3517EVM is not setCONFIG_MACH_OMAP3_PANDORA=y
# CONFIG_MACH_OMAP3_TOUCHBOOK is not setCONFIG_MACH_OMAP_3430SDP=yCONFIG_MACH_NOKIA_N800=yCONFIG_MACH_NOKIA_N810=yCONFIG_MACH_NOKIA_N810_WIMAX=yCONFIG_MACH_NOKIA_N8X0=yCONFIG_MACH_NOKIA_RX51=y
# CONFIG_MACH_OMAP_ZOOM2 is not setCONFIG_MACH_OMAP_ZOOM3=y
# CONFIG_MACH_CM_T35 is not set
# CONFIG_MACH_IGEP0020 is not set
# CONFIG_MACH_OMAP_3630SDP is not set
# CONFIG_OMAP3_EMU is not set
# CONFIG_OMAP3_SDRC_AC_TIMING is not set
#
# Processor Type
#CONFIG_CPU_V6=y
CONFIG_CPU_32v6K=yCONFIG_CPU_V7=y
CONFIG_CPU_32v6=y
CONFIG_CPU_32v7=yCONFIG_CPU_ABRT_EV6=yCONFIG_CPU_ABRT_EV7=yCONFIG_CPU_PABRT_V6=yCONFIG_CPU_PABRT_V7=yCONFIG_CPU_CACHE_V6=yCONFIG_CPU_CACHE_V7=yCONFIG_CPU_CACHE_VIPT=yCONFIG_CPU_COPY_V6=yCONFIG_CPU_TLB_V6=yCONFIG_CPU_TLB_V7=yCONFIG_CPU_HAS_ASID=yCONFIG_CPU_CP15=yCONFIG_CPU_CP15_MMU=y
#
# Processor Features
#CONFIG_ARM_THUMB=yCONFIG_ARM_THUMBEE=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_BPREDICT_DISABLE is not setCONFIG_HAS_TLS_REG=yCONFIG_ARM_L1_CACHE_SHIFT=6
# CONFIG_ARM_ERRATA_411920 is not set
# CONFIG_ARM_ERRATA_430973 is not set
# CONFIG_ARM_ERRATA_458693 is not set
# CONFIG_ARM_ERRATA_460075 is not setCONFIG_COMMON_CLKDEV=y
#
# Bus support
#
# CONFIG_PCI_SYSCALL is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set
# CONFIG_PCCARD is not set
#
# Kernel Features
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=yCONFIG_GENERIC_CLOCKEVENTS_BUILD=yCONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not setCONFIG_PAGE_OFFSET=0xC0000000CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not setCONFIG_HZ=128
# CONFIG_THUMB2_KERNEL is not setCONFIG_AEABI=yCONFIG_OABI_COMPAT=yCONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
# CONFIG_HIGHMEM is not setCONFIG_SELECT_MEMORY_MODEL=yCONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not setCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_PAGEFLAGS_EXTENDED=yCONFIG_SPLIT_PTLOCK_CPUS=999999
# CONFIG_PHYS_ADDR_T_64BIT is not setCONFIG_ZONE_DMA_FLAG=0CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not setCONFIG_DEFAULT_MMAP_MIN_ADDR=4096CONFIG_LEDS=yCONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set
#
# Boot options
#CONFIG_ZBOOT_ROM_TEXT=0x0CONFIG_ZBOOT_ROM_BSS=0x0CONFIG_CMDLINE="console=tty0 console=ttyS2,115200 root=/dev/mmcblk0p4 rootwait debug earlyprintk" # CONFIG_XIP_KERNEL is not setCONFIG_KEXEC=yCONFIG_ATAGS_PROC=y
#
# CPU Power Management
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y
#
# Floating point emulation
#
#
# At least one emulation must be selected
#CONFIG_FPE_NWFPE=y
# CONFIG_FPE_NWFPE_XP is not set
# CONFIG_FPE_FASTFPE is not setCONFIG_VFP=y
CONFIG_VFPv3=yCONFIG_NEON=y
#
# Userspace binary formats
#CONFIG_BINFMT_ELF=yCONFIG_HAVE_AOUT=yCONFIG_BINFMT_AOUT=mCONFIG_BINFMT_MISC=y
#
# Power management options
#CONFIG_PM=y
# CONFIG_PM_DEBUG is not setCONFIG_PM_SLEEP=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=y
# CONFIG_APM_EMULATION is not set
# CONFIG_PM_RUNTIME is not setCONFIG_ARCH_SUSPEND_POSSIBLE=yCONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_UNIX=yCONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set CONFIG_NET_KEY=y
# CONFIG_NET_KEY_MIGRATE is not set CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_IP_PNP_BOOTP=yCONFIG_IP_PNP_RARP=y
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set CONFIG_INET_TUNNEL=m CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TUNNEL=y CONFIG_INET_XFRM_MODE_BEET=y
# CONFIG_INET_LRO is not set CONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not setCONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not set
# CONFIG_IPV6_MIP6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set CONFIG_INET6_XFRM_MODE_TRANSPORT=m CONFIG_INET6_XFRM_MODE_TUNNEL=m CONFIG_INET6_XFRM_MODE_BEET=m
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set CONFIG_IPV6_SIT=m
# CONFIG_IPV6_SIT_6RD is not set CONFIG_IPV6_NDISC_NODETYPE=y
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_DROP_MONITOR is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not setCONFIG_BT=yCONFIG_BT_L2CAP=yCONFIG_BT_SCO=yCONFIG_BT_RFCOMM=yCONFIG_BT_RFCOMM_TTY=yCONFIG_BT_BNEP=yCONFIG_BT_BNEP_MC_FILTER=yCONFIG_BT_BNEP_PROTO_FILTER=yCONFIG_BT_HIDP=y
#
# Bluetooth device drivers
#
# CONFIG_BT_HCIBTUSB is not set
# CONFIG_BT_HCIBTSDIO is not setCONFIG_BT_HCIUART=yCONFIG_BT_HCIUART_H4=yCONFIG_BT_HCIUART_BCSP=y
# CONFIG_BT_HCIUART_LL is not setCONFIG_BT_HCIBCM203X=yCONFIG_BT_HCIBPA10X=y
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIVHCI is not set
# CONFIG_BT_MRVL is not set
# CONFIG_AF_RXRPC is not setCONFIG_WIRELESS=yCONFIG_WIRELESS_EXT=yCONFIG_WEXT_CORE=yCONFIG_WEXT_PROC=yCONFIG_WEXT_SPY=yCONFIG_WEXT_PRIV=yCONFIG_CFG80211=y
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_REG_DEBUG is not setCONFIG_CFG80211_DEFAULT_PS=y
# CONFIG_CFG80211_DEBUGFS is not setCONFIG_WIRELESS_OLD_REGULATORY=yCONFIG_CFG80211_WEXT=yCONFIG_WIRELESS_EXT_SYSFS=yCONFIG_LIB80211=yCONFIG_LIB80211_CRYPT_WEP=mCONFIG_LIB80211_CRYPT_CCMP=mCONFIG_LIB80211_CRYPT_TKIP=m
# CONFIG_LIB80211_DEBUG is not setCONFIG_MAC80211=yCONFIG_MAC80211_RC_PID=y
# CONFIG_MAC80211_RC_MINSTREL is not setCONFIG_MAC80211_RC_DEFAULT_PID=y
# CONFIG_MAC80211_RC_DEFAULT_MINSTREL is not setCONFIG_MAC80211_RC_DEFAULT="pid"
# CONFIG_MAC80211_MESH is not setCONFIG_MAC80211_LEDS=y
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
# CONFIG_DEVTMPFS is not setCONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not setCONFIG_MTD=y
# CONFIG_MTD_DEBUG is not set
# CONFIG_MTD_TESTS is not setCONFIG_MTD_CONCAT=yCONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_REDBOOT_PARTS is not set
# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_AFS_PARTS is not set
# CONFIG_MTD_AR7_PARTS is not set
#
# User Modules And Translation Layers
#CONFIG_MTD_CHAR=yCONFIG_MTD_BLKDEVS=yCONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_MTD_OOPS is not set
#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
# CONFIG_MTD_JEDECPROBE is not setCONFIG_MTD_MAP_BANK_WIDTH_1=yCONFIG_MTD_MAP_BANK_WIDTH_2=yCONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not setCONFIG_MTD_CFI_I1=yCONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set
#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PLATRAM is not set
#
# Self-contained MTD device drivers
#
# CONFIG_MTD_DATAFLASH is not set
# CONFIG_MTD_M25P80 is not set
# CONFIG_MTD_SST25L is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set
#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not setCONFIG_MTD_NAND=y
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
# CONFIG_MTD_NAND_ECC_SMC is not set
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
# CONFIG_MTD_NAND_GPIO is not set
# CONFIG_MTD_NAND_OMAP2 is not setCONFIG_MTD_NAND_IDS=y
# CONFIG_MTD_NAND_DISKONCHIP is not set
# CONFIG_MTD_NAND_NANDSIM is not set
# CONFIG_MTD_NAND_PLATFORM is not set
# CONFIG_MTD_ALAUDA is not setCONFIG_MTD_ONENAND=y
# CONFIG_MTD_ONENAND_VERIFY_WRITE is not set
# CONFIG_MTD_ONENAND_GENERIC is not setCONFIG_MTD_ONENAND_OMAP2=y
# CONFIG_MTD_ONENAND_OTP is not set
# CONFIG_MTD_ONENAND_2X_PROGRAM is not set
# CONFIG_MTD_ONENAND_SIM is not set
#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set
#
# UBI - Unsorted block images
#CONFIG_MTD_UBI=yCONFIG_MTD_UBI_WL_THRESHOLD=4096CONFIG_MTD_UBI_BEB_RESERVE=1
# CONFIG_MTD_UBI_GLUEBI is not set
#
# UBI debugging options
#
# CONFIG_MTD_UBI_DEBUG is not set
# CONFIG_PARPORT is not setCONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_COW_COMMON is not setCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_CRYPTOLOOP=m
#
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected #
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_UB is not setCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=16384
# CONFIG_BLK_DEV_XIP is not set CONFIG_CDROM_PKTCDVD=mCONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_MG_DISK is not setCONFIG_MISC_DEVICES=y
# CONFIG_AD525X_DPOT is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_ISL29003 is not set
# CONFIG_DS1682 is not set
# CONFIG_TI_DAC7512 is not set
# CONFIG_C2PORT is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_AT25 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not setCONFIG_EEPROM_93CX6=m
# CONFIG_IWMC3200TOP is not setCONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
#
# SCSI device support
#CONFIG_RAID_ATTRS=mCONFIG_SCSI=yCONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not setCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not setCONFIG_CHR_DEV_SG=m
# CONFIG_CHR_DEV_SCH is not setCONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not setCONFIG_SCSI_WAIT_SCAN=m
#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not setCONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_LIBFC is not set
# CONFIG_LIBFCOE is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
# CONFIG_ATA is not setCONFIG_MD=yCONFIG_BLK_DEV_MD=mCONFIG_MD_LINEAR=mCONFIG_MD_RAID0=mCONFIG_MD_RAID1=mCONFIG_MD_RAID10=mCONFIG_MD_RAID456=mCONFIG_MD_RAID6_PQ=m
# CONFIG_ASYNC_RAID6_TEST is not setCONFIG_MD_MULTIPATH=mCONFIG_MD_FAULTY=mCONFIG_BLK_DEV_DM=m
# CONFIG_DM_DEBUG is not setCONFIG_DM_CRYPT=mCONFIG_DM_SNAPSHOT=mCONFIG_DM_MIRROR=m
# CONFIG_DM_LOG_USERSPACE is not setCONFIG_DM_ZERO=mCONFIG_DM_MULTIPATH=m
# CONFIG_DM_MULTIPATH_QL is not set
# CONFIG_DM_MULTIPATH_ST is not setCONFIG_DM_DELAY=m
# CONFIG_DM_UEVENT is not setCONFIG_NETDEVICES=yCONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not setCONFIG_TUN=m
# CONFIG_VETH is not setCONFIG_PHYLIB=y
#
# MII PHY device drivers
#
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set CONFIG_SMSC_PHY=y
# CONFIG_BROADCOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_MDIO_BITBANG is not set CONFIG_NET_ETHERNET=yCONFIG_MII=y
# CONFIG_AX88796 is not set CONFIG_SMC91X=y
# CONFIG_DM9000 is not set
# CONFIG_ENC28J60 is not set
# CONFIG_ETHOC is not setCONFIG_SMC911X=mCONFIG_SMSC911X=m
# CONFIG_DNET is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set # CONFIG_B44 is not set
# CONFIG_KS8842 is not set
# CONFIG_KS8851 is not set
# CONFIG_KS8851_MLL is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set CONFIG_WLAN=y
# CONFIG_LIBERTAS_THINFIRM is not set
# CONFIG_AT76C50X_USB is not set CONFIG_USB_ZD1201=m
# CONFIG_USB_NET_RNDIS_WLAN is not set CONFIG_RTL8187=mCONFIG_RTL8187_LEDS=y
# CONFIG_MAC80211_HWSIM is not set
# CONFIG_ATH_COMMON is not set
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not set CONFIG_HOSTAP=mCONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y
# CONFIG_IWM is not setCONFIG_LIBERTAS=yCONFIG_LIBERTAS_USB=y CONFIG_LIBERTAS_SDIO=y
# CONFIG_LIBERTAS_SPI is not set CONFIG_LIBERTAS_DEBUG=y CONFIG_P54_COMMON=mCONFIG_P54_USB=m
# CONFIG_P54_SPI is not set CONFIG_P54_LEDS=y
# CONFIG_RT2X00 is not setCONFIG_WL12XX=yCONFIG_WL1251=yCONFIG_WL1251_SPI=y
# CONFIG_WL1251_SDIO is not set
# CONFIG_WL1271 is not set
# CONFIG_ZD1211RW is not set
#
# Enable WiMAX (Networking options) to see the WiMAX drivers #
#
# USB Network Adapters
#CONFIG_USB_CATC=mCONFIG_USB_KAWETH=mCONFIG_USB_PEGASUS=mCONFIG_USB_RTL8150=mCONFIG_USB_USBNET=yCONFIG_USB_NET_AX8817X=yCONFIG_USB_NET_CDCETHER=y
# CONFIG_USB_NET_CDC_EEM is not setCONFIG_USB_NET_DM9601=m
# CONFIG_USB_NET_SMSC95XX is not setCONFIG_USB_NET_GL620A=mCONFIG_USB_NET_NET1080=mCONFIG_USB_NET_PLUSB=mCONFIG_USB_NET_MCS7830=mCONFIG_USB_NET_RNDIS_HOST=mCONFIG_USB_NET_CDC_SUBSET=mCONFIG_USB_ALI_M5632=yCONFIG_USB_AN2720=yCONFIG_USB_BELKIN=yCONFIG_USB_ARMLINUX=yCONFIG_USB_EPSON2888=yCONFIG_USB_KC2190=yCONFIG_USB_NET_ZAURUS=m
# CONFIG_USB_NET_INT51X1 is not set
# CONFIG_WAN is not setCONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
# CONFIG_PPP_FILTER is not setCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_BSDCOMP=mCONFIG_PPP_MPPE=mCONFIG_PPPOE=m
# CONFIG_PPPOL2TP is not set
# CONFIG_SLIP is not setCONFIG_SLHC=m
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not setCONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ATKBD is not set
# CONFIG_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not setCONFIG_KEYBOARD_GPIO=y
# CONFIG_KEYBOARD_MATRIX is not set
# CONFIG_KEYBOARD_LM8323 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_OMAP is not setCONFIG_KEYBOARD_TWL4030=y
# CONFIG_KEYBOARD_XTKBD is not setCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_MOUSE_PS2_ALPS=yCONFIG_MOUSE_PS2_LOGIPS2PP=yCONFIG_MOUSE_PS2_SYNAPTICS=yCONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_GPIO is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_SERPORT=yCONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_GAMEPORT is not set
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=yCONFIG_DEVKMEM=y
# CONFIG_SERIAL_NONSTANDARD is not set
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_SERIAL_8250_NR_UARTS=32CONFIG_SERIAL_8250_RUNTIME_UARTS=4CONFIG_SERIAL_8250_EXTENDED=yCONFIG_SERIAL_8250_MANY_PORTS=yCONFIG_SERIAL_8250_SHARE_IRQ=yCONFIG_SERIAL_8250_DETECT_IRQ=yCONFIG_SERIAL_8250_RSA=y
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not setCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_IPMI_HANDLER is not setCONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not setCONFIG_HW_RANDOM_OMAP=y
# CONFIG_R3964 is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not setCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=yCONFIG_I2C_CHARDEV=yCONFIG_I2C_HELPER_AUTO=y
#
# I2C Hardware Bus support
#
#
# I2C system bus drivers (mostly embedded / system-on-chip) #
# CONFIG_I2C_DESIGNWARE is not set
# CONFIG_I2C_GPIO is not set
# CONFIG_I2C_OCORES is not setCONFIG_I2C_OMAP=y
# CONFIG_I2C_SIMTEC is not set
#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set
#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_STUB is not set
#
# Miscellaneous I2C Chip support
#
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not setCONFIG_SPI=y
# CONFIG_SPI_DEBUG is not setCONFIG_SPI_MASTER=y
#
# SPI Master Controller Drivers
#
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_GPIO is not setCONFIG_SPI_OMAP24XX=y
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_DESIGNWARE is not set
#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_TLE62X0 is not set
#
# PPS support
#
# CONFIG_PPS is not setCONFIG_ARCH_REQUIRE_GPIOLIB=yCONFIG_GPIOLIB=yCONFIG_DEBUG_GPIO=yCONFIG_GPIO_SYSFS=y
#
# Memory mapped GPIO expanders:
#
#
# I2C GPIO expanders:
#
# CONFIG_GPIO_MAX732X is not set
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not setCONFIG_GPIO_TWL4030=y
# CONFIG_GPIO_ADP5588 is not set
#
# PCI GPIO expanders:
#
#
# SPI GPIO expanders:
#
# CONFIG_GPIO_MAX7301 is not set
# CONFIG_GPIO_MCP23S08 is not set
# CONFIG_GPIO_MC33880 is not set
#
# AC97 GPIO expanders:
#
# CONFIG_W1 is not setCONFIG_POWER_SUPPLY=m
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_BATTERY_DS2760 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_MAX17040 is not setCONFIG_HWMON=y
# CONFIG_HWMON_VID is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
#
# Native drivers
#
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADCXX is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7473 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM70 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_MAX1111 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_SHT15 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_LIS3_SPI is not set
# CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_THERMAL is not setCONFIG_WATCHDOG=yCONFIG_WATCHDOG_NOWAYOUT=y
#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_OMAP_WATCHDOG is not set
# CONFIG_TWL4030_WATCHDOG is not set
#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not setCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
#
# Multifunction device drivers
#CONFIG_MFD_CORE=y
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_ASIC3 is not set
# CONFIG_HTC_EGPIO is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_TPS65010 is not set
# CONFIG_MENELAUS is not setCONFIG_TWL4030_CORE=yCONFIG_TWL4030_POWER=yCONFIG_TWL4030_CODEC=y
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_T7L66XB is not set
# CONFIG_MFD_TC6387XB is not set
# CONFIG_MFD_TC6393XB is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_MC13783 is not set
# CONFIG_AB3100_CORE is not set
# CONFIG_EZX_PCAP is not set
# CONFIG_MFD_88PM8607 is not set
# CONFIG_AB4500_CORE is not setCONFIG_REGULATOR=y
# CONFIG_REGULATOR_DEBUG is not set
# CONFIG_REGULATOR_FIXED_VOLTAGE is not set
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
# CONFIG_REGULATOR_BQ24022 is not set
# CONFIG_REGULATOR_MAX1586 is not set
# CONFIG_REGULATOR_MAX8660 is not setCONFIG_REGULATOR_TWL4030=y
# CONFIG_REGULATOR_LP3971 is not set
# CONFIG_REGULATOR_TPS65023 is not set
# CONFIG_REGULATOR_TPS6507X is not set
# CONFIG_MEDIA_SUPPORT is not set
#
# Graphics support
#
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not setCONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not setCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set
#
# Frame buffer hardware drivers
#
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_TMIO is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_OMAP_LCD_VGA is not setCONFIG_FB_OMAP_BOOTLOADER_INIT=yCONFIG_OMAP2_VRAM=yCONFIG_OMAP2_VRFB=yCONFIG_OMAP2_DSS=yCONFIG_OMAP2_VRAM_SIZE=0
# CONFIG_OMAP2_DSS_DEBUG_SUPPORT is not set
# CONFIG_OMAP2_DSS_RFBI is not setCONFIG_OMAP2_DSS_VENC=yCONFIG_OMAP2_DSS_SDI=y
# CONFIG_OMAP2_DSS_DSI is not set
# CONFIG_OMAP2_DSS_FAKE_VSYNC is not setCONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0CONFIG_FB_OMAP2=y
# CONFIG_FB_OMAP2_DEBUG_SUPPORT is not set
# CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE is not setCONFIG_FB_OMAP2_NUM_FBS=3
#
# OMAP2/3 Display Device Drivers
#
# CONFIG_PANEL_GENERIC is not set
# CONFIG_PANEL_SHARP_LS037V7DW01 is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
#
# Display device support
#CONFIG_DISPLAY_SUPPORT=y
#
# Display hardware drivers
#
#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set CONFIG_FONTS=y
CONFIG_FONT_8x8=y
# CONFIG_FONT_8x16 is not set
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not setCONFIG_LOGO=yCONFIG_LOGO_LINUX_MONO=y CONFIG_LOGO_LINUX_VGA16=y CONFIG_LOGO_LINUX_CLUT224=yCONFIG_SOUND=yCONFIG_SOUND_OSS_CORE=y CONFIG_SOUND_OSS_CORE_PRECLAIM=yCONFIG_SND=yCONFIG_SND_TIMER=yCONFIG_SND_PCM=yCONFIG_SND_HWDEP=yCONFIG_SND_RAWMIDI=yCONFIG_SND_JACK=yCONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set CONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=yCONFIG_SND_PCM_OSS=y CONFIG_SND_PCM_OSS_PLUGINS=y CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set CONFIG_SND_SUPPORT_OLD_API=y CONFIG_SND_VERBOSE_PROCFS=y CONFIG_SND_VERBOSE_PRINTK=y CONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_VERBOSE is not set
# CONFIG_SND_PCM_XRUN_DEBUG is not set CONFIG_SND_RAWMIDI_SEQ=m
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set CONFIG_SND_DRIVERS=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set CONFIG_SND_ARM=yCONFIG_SND_SPI=yCONFIG_SND_USB=yCONFIG_SND_USB_AUDIO=yCONFIG_SND_USB_CAIAQ=m CONFIG_SND_USB_CAIAQ_INPUT=yCONFIG_SND_SOC=yCONFIG_SND_OMAP_SOC=y CONFIG_SND_OMAP_SOC_MCBSP=y
# CONFIG_SND_OMAP_SOC_N810 is not set
# CONFIG_SND_OMAP_SOC_OVERO is not set
# CONFIG_SND_OMAP_SOC_SDP3430 is not set CONFIG_SND_OMAP_SOC_OMAP3_PANDORA=y
# CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE is not set CONFIG_SND_SOC_I2C_AND_SPI=y
# CONFIG_SND_SOC_ALL_CODECS is not set CONFIG_SND_SOC_TWL4030=y
# CONFIG_SOUND_PRIME is not set CONFIG_HID_SUPPORT=yCONFIG_HID=y
# CONFIG_HIDRAW is not set
#
# USB Input Devices
#CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not set
#
# Special HID drivers
#CONFIG_HID_A4TECH=yCONFIG_HID_APPLE=yCONFIG_HID_BELKIN=yCONFIG_HID_CHERRY=yCONFIG_HID_CHICONY=yCONFIG_HID_CYPRESS=y
# CONFIG_HID_DRAGONRISE is not setCONFIG_HID_EZKEY=y
# CONFIG_HID_KYE is not setCONFIG_HID_GYRATION=y
# CONFIG_HID_TWINHAN is not set
# CONFIG_HID_KENSINGTON is not setCONFIG_HID_LOGITECH=y
# CONFIG_LOGITECH_FF is not set
# CONFIG_LOGIRUMBLEPAD2_FF is not setCONFIG_HID_MICROSOFT=yCONFIG_HID_MONTEREY=y
# CONFIG_HID_NTRIG is not setCONFIG_HID_PANTHERLORD=y
# CONFIG_PANTHERLORD_FF is not setCONFIG_HID_PETALYNX=yCONFIG_HID_SAMSUNG=yCONFIG_HID_SONY=yCONFIG_HID_SUNPLUS=y
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_WACOM is not set
# CONFIG_HID_ZEROPLUS is not setCONFIG_USB_SUPPORT=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB=yCONFIG_USB_DEBUG=yCONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#CONFIG_USB_DEVICEFS=yCONFIG_USB_DEVICE_CLASS=yCONFIG_USB_DYNAMIC_MINORS=yCONFIG_USB_SUSPEND=yCONFIG_USB_OTG=y
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not setCONFIG_USB_MON=y
# CONFIG_USB_WUSB is not set
# CONFIG_USB_WUSB_CBAF is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_EHCI_HCD is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HWA_HCD is not setCONFIG_USB_MUSB_HDRC=yCONFIG_USB_MUSB_SOC=y
#
# OMAP 343x high speed USB support
#
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_PERIPHERAL is not setCONFIG_USB_MUSB_OTG=yCONFIG_USB_GADGET_MUSB_HDRC=yCONFIG_USB_MUSB_HDRC_HCD=yCONFIG_MUSB_PIO_ONLY=y
# CONFIG_USB_MUSB_DEBUG is not set
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not setCONFIG_USB_PRINTER=yCONFIG_USB_WDM=y
# CONFIG_USB_TMC is not set
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #
#
# also be needed; see USB_STORAGE Help for more info # CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_ISD200 is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_ONETOUCH is not set # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set # CONFIG_USB_LIBUSUAL is not set
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_BERRY_CHARGE is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_VST is not setCONFIG_USB_GADGET=y
# CONFIG_USB_GADGET_DEBUG is not set
# CONFIG_USB_GADGET_DEBUG_FILES is not set
# CONFIG_USB_GADGET_DEBUG_FS is not setCONFIG_USB_GADGET_VBUS_DRAW=2CONFIG_USB_GADGET_SELECTED=y
# CONFIG_USB_GADGET_AT91 is not set
# CONFIG_USB_GADGET_ATMEL_USBA is not set
# CONFIG_USB_GADGET_FSL_USB2 is not set
# CONFIG_USB_GADGET_LH7A40X is not set
# CONFIG_USB_GADGET_OMAP is not set
# CONFIG_USB_GADGET_PXA25X is not set
# CONFIG_USB_GADGET_R8A66597 is not set
# CONFIG_USB_GADGET_PXA27X is not set
# CONFIG_USB_GADGET_S3C_HSOTG is not set
# CONFIG_USB_GADGET_IMX is not set
# CONFIG_USB_GADGET_S3C2410 is not set
# CONFIG_USB_GADGET_M66592 is not set
# CONFIG_USB_GADGET_AMD5536UDC is not set
# CONFIG_USB_GADGET_FSL_QE is not set
# CONFIG_USB_GADGET_CI13XXX is not set
# CONFIG_USB_GADGET_NET2280 is not set
# CONFIG_USB_GADGET_GOKU is not set
# CONFIG_USB_GADGET_LANGWELL is not set
# CONFIG_USB_GADGET_DUMMY_HCD is not setCONFIG_USB_GADGET_DUALSPEED=y
# CONFIG_USB_ZERO is not set
# CONFIG_USB_AUDIO is not setCONFIG_USB_ETH=mCONFIG_USB_ETH_RNDIS=y
# CONFIG_USB_ETH_EEM is not set
# CONFIG_USB_GADGETFS is not set
# CONFIG_USB_FILE_STORAGE is not set
# CONFIG_USB_MASS_STORAGE is not set
# CONFIG_USB_G_SERIAL is not set
# CONFIG_USB_MIDI_GADGET is not set
# CONFIG_USB_G_PRINTER is not set
# CONFIG_USB_CDC_COMPOSITE is not set
# CONFIG_USB_G_MULTI is not set
#
# OTG and related infrastructure
#CONFIG_USB_OTG_UTILS=y
# CONFIG_USB_GPIO_VBUS is not set
# CONFIG_ISP1301_OMAP is not set
# CONFIG_USB_ULPI is not setCONFIG_TWL4030_USB=yCONFIG_NOP_USB_XCEIV=yCONFIG_MMC=y
# CONFIG_MMC_DEBUG is not setCONFIG_MMC_UNSAFE_RESUME=y
#
# MMC/SD/SDIO Card Drivers
#CONFIG_MMC_BLOCK=yCONFIG_MMC_BLOCK_BOUNCE=yCONFIG_SDIO_UART=y
# CONFIG_MMC_TEST is not set
#
# MMC/SD/SDIO Host Controller Drivers
#
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_OMAP is not setCONFIG_MMC_OMAP_HS=y
# CONFIG_MMC_AT91 is not set
# CONFIG_MMC_ATMELMCI is not set
# CONFIG_MMC_SPI is not set
# CONFIG_MEMSTICK is not setCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=y
#
# LED drivers
#
# CONFIG_LEDS_PCA9532 is not setCONFIG_LEDS_GPIO=yCONFIG_LEDS_GPIO_PLATFORM=y
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_DAC124S085 is not set
# CONFIG_LEDS_REGULATOR is not set
# CONFIG_LEDS_BD2802 is not set
# CONFIG_LEDS_LT3593 is not set
#
# LED Triggers
#CONFIG_LEDS_TRIGGERS=yCONFIG_LEDS_TRIGGER_TIMER=yCONFIG_LEDS_TRIGGER_HEARTBEAT=y
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
# CONFIG_LEDS_TRIGGER_GPIO is not set
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
#
# iptables trigger is under Netfilter config (LED target) # # CONFIG_ACCESSIBILITY is not set CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" # CONFIG_RTC_DEBUG is not set
#
# RTC interfaces
#CONFIG_RTC_INTF_SYSFS=yCONFIG_RTC_INTF_PROC=yCONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set
#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not setCONFIG_RTC_DRV_TWL4030=y
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
#
# SPI RTC drivers
#
# CONFIG_RTC_DRV_M41T94 is not set
# CONFIG_RTC_DRV_DS1305 is not set
# CONFIG_RTC_DRV_DS1390 is not set
# CONFIG_RTC_DRV_MAX6902 is not set
# CONFIG_RTC_DRV_R9701 is not set
# CONFIG_RTC_DRV_RS5C348 is not set
# CONFIG_RTC_DRV_DS3234 is not set
# CONFIG_RTC_DRV_PCF2123 is not set
#
# Platform RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_V3020 is not set
#
# on-CPU RTC drivers
#
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
#
# TI VLYNQ
#
# CONFIG_STAGING is not set
#
# CBUS support
#
# CONFIG_CBUS is not set
#
# File systems
#CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not setCONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
# CONFIG_EXT3_FS_XATTR is not set
# CONFIG_EXT4_FS is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not setCONFIG_FS_POSIX_ACL=yCONFIG_XFS_FS=m
# CONFIG_XFS_QUOTA is not set
# CONFIG_XFS_POSIX_ACL is not set
# CONFIG_XFS_RT is not set
# CONFIG_XFS_DEBUG is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not setCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_QUOTA=y
# CONFIG_QUOTA_NETLINK_INTERFACE is not setCONFIG_PRINT_QUOTA_WARNING=yCONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not setCONFIG_QFMT_V2=yCONFIG_QUOTACTL=y
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not setCONFIG_FUSE_FS=m
# CONFIG_CUSE is not set
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=mCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_UDF_FS=mCONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=yCONFIG_MSDOS_FS=yCONFIG_VFAT_FS=yCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not setCONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not setCONFIG_JFFS2_FS=yCONFIG_JFFS2_FS_DEBUG=0CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not setCONFIG_JFFS2_SUMMARY=yCONFIG_JFFS2_FS_XATTR=yCONFIG_JFFS2_FS_POSIX_ACL=yCONFIG_JFFS2_FS_SECURITY=yCONFIG_JFFS2_COMPRESSION_OPTIONS=yCONFIG_JFFS2_ZLIB=yCONFIG_JFFS2_LZO=yCONFIG_JFFS2_RTIME=yCONFIG_JFFS2_RUBIN=y
# CONFIG_JFFS2_CMODE_NONE is not setCONFIG_JFFS2_CMODE_PRIORITY=y
# CONFIG_JFFS2_CMODE_SIZE is not set
# CONFIG_JFFS2_CMODE_FAVOURLZO is not setCONFIG_UBIFS_FS=y
# CONFIG_UBIFS_FS_XATTR is not set
# CONFIG_UBIFS_FS_ADVANCED_COMPR is not setCONFIG_UBIFS_FS_LZO=yCONFIG_UBIFS_FS_ZLIB=y
# CONFIG_UBIFS_FS_DEBUG is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not setCONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=yCONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not setCONFIG_NFS_V4=y
# CONFIG_NFS_V4_1 is not setCONFIG_ROOT_NFS=y
# CONFIG_NFSD is not setCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_EXPORTFS=mCONFIG_NFS_COMMON=yCONFIG_SUNRPC=yCONFIG_SUNRPC_GSS=yCONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_RPCSEC_GSS_SPKM3 is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not setCONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not setCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not setCONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
# CONFIG_DLM is not set
#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not setCONFIG_ENABLE_WARN_DEPRECATED=yCONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=1024CONFIG_MAGIC_SYSRQ=y
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_UNUSED_SYMBOLS is not setCONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not setCONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not setCONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not setCONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0CONFIG_DETECT_HUNG_TASK=y
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not setCONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0CONFIG_SCHED_DEBUG=yCONFIG_SCHEDSTATS=yCONFIG_TIMER_STATS=y
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not setCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not setCONFIG_DEBUG_SPINLOCK_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not setCONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
# CONFIG_PAGE_POISONING is not setCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_RING_BUFFER=yCONFIG_EVENT_TRACING=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_RING_BUFFER_ALLOW_SWAP=yCONFIG_TRACING=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=y
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
# CONFIG_BOOT_TRACER is not setCONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_KMEMTRACE is not set
# CONFIG_WORKQUEUE_TRACER is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_SAMPLES is not setCONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not setCONFIG_ARM_UNWIND=y
# CONFIG_DEBUG_USER is not set
# CONFIG_DEBUG_ERRORS is not set
# CONFIG_DEBUG_STACK_USAGE is not setCONFIG_DEBUG_LL=yCONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_ICEDCC is not set
# CONFIG_OC_ETM is not set
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
# CONFIG_DEFAULT_SECURITY_SMACK is not set
# CONFIG_DEFAULT_SECURITY_TOMOYO is not setCONFIG_DEFAULT_SECURITY_DAC=yCONFIG_DEFAULT_SECURITY=""CONFIG_XOR_BLOCKS=mCONFIG_ASYNC_CORE=mCONFIG_ASYNC_MEMCPY=mCONFIG_ASYNC_XOR=mCONFIG_ASYNC_PQ=mCONFIG_ASYNC_RAID6_RECOV=mCONFIG_CRYPTO=y
#
# Crypto core or helper
#CONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=yCONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_GF128MUL=mCONFIG_CRYPTO_NULL=mCONFIG_CRYPTO_WORKQUEUE=yCONFIG_CRYPTO_CRYPTD=m
# CONFIG_CRYPTO_AUTHENC is not setCONFIG_CRYPTO_TEST=m
#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set
#
# Block modes
#CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not setCONFIG_CRYPTO_ECB=yCONFIG_CRYPTO_LRW=mCONFIG_CRYPTO_PCBC=m
# CONFIG_CRYPTO_XTS is not set
#
# Hash modes
#CONFIG_CRYPTO_HMAC=mCONFIG_CRYPTO_XCBC=m
# CONFIG_CRYPTO_VMAC is not set
#
# Digest
#CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_GHASH is not setCONFIG_CRYPTO_MD4=mCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_MICHAEL_MIC=y
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not setCONFIG_CRYPTO_SHA1=mCONFIG_CRYPTO_SHA256=mCONFIG_CRYPTO_SHA512=mCONFIG_CRYPTO_TGR192=mCONFIG_CRYPTO_WP512=m
#
# Ciphers
#CONFIG_CRYPTO_AES=yCONFIG_CRYPTO_ANUBIS=mCONFIG_CRYPTO_ARC4=yCONFIG_CRYPTO_BLOWFISH=mCONFIG_CRYPTO_CAMELLIA=mCONFIG_CRYPTO_CAST5=mCONFIG_CRYPTO_CAST6=mCONFIG_CRYPTO_DES=yCONFIG_CRYPTO_FCRYPT=mCONFIG_CRYPTO_KHAZAD=m
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not setCONFIG_CRYPTO_SERPENT=mCONFIG_CRYPTO_TEA=mCONFIG_CRYPTO_TWOFISH=mCONFIG_CRYPTO_TWOFISH_COMMON=m
#
# Compression
#CONFIG_CRYPTO_DEFLATE=y
# CONFIG_CRYPTO_ZLIB is not setCONFIG_CRYPTO_LZO=y
#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not setCONFIG_CRYPTO_HW=yCONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_FIND_LAST_BIT=yCONFIG_CRC_CCITT=yCONFIG_CRC16=yCONFIG_CRC_T10DIF=yCONFIG_CRC_ITU_T=yCONFIG_CRC32=yCONFIG_CRC7=yCONFIG_LIBCRC32C=yCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=yCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_DECOMPRESS_GZIP=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_NLATTR=y