aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/boards/tcm_bf537.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2011-08-01 05:53:21 -0400
committerBob Liu <lliubbo@gmail.com>2011-11-14 04:11:25 -0500
commitedb0a6408a84b4f14647770d8a6796afff3e93a9 (patch)
tree9d33ed07c409534ca9709a39dd25b1e60c3724d3 /arch/blackfin/mach-bf537/boards/tcm_bf537.c
parent7f80850d3f9fd8fda23a317044aef3a6bafab06b (diff)
Blackfin: add serial TX IRQ in individual platform resource
The serial TX IRQ is not simply (RX IRQ + 1) on some Blackfin chips, so move the values to the platform resources. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/tcm_bf537.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/tcm_bf537.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c
index 841803038d6f..e58c9bc8ebb4 100644
--- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c
+++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c
@@ -306,8 +306,13 @@ static struct resource bfin_uart0_resources[] = {
306 .flags = IORESOURCE_MEM, 306 .flags = IORESOURCE_MEM,
307 }, 307 },
308 { 308 {
309 .start = IRQ_UART0_TX,
310 .end = IRQ_UART0_TX,
311 .flags = IORESOURCE_IRQ,
312 },
313 {
309 .start = IRQ_UART0_RX, 314 .start = IRQ_UART0_RX,
310 .end = IRQ_UART0_RX+1, 315 .end = IRQ_UART0_RX,
311 .flags = IORESOURCE_IRQ, 316 .flags = IORESOURCE_IRQ,
312 }, 317 },
313 { 318 {
@@ -349,8 +354,13 @@ static struct resource bfin_uart1_resources[] = {
349 .flags = IORESOURCE_MEM, 354 .flags = IORESOURCE_MEM,
350 }, 355 },
351 { 356 {
357 .start = IRQ_UART1_TX,
358 .end = IRQ_UART1_TX,
359 .flags = IORESOURCE_IRQ,
360 },
361 {
352 .start = IRQ_UART1_RX, 362 .start = IRQ_UART1_RX,
353 .end = IRQ_UART1_RX+1, 363 .end = IRQ_UART1_RX,
354 .flags = IORESOURCE_IRQ, 364 .flags = IORESOURCE_IRQ,
355 }, 365 },
356 { 366 {