diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2011-08-01 05:53:21 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2011-11-14 04:11:25 -0500 |
commit | edb0a6408a84b4f14647770d8a6796afff3e93a9 (patch) | |
tree | 9d33ed07c409534ca9709a39dd25b1e60c3724d3 /arch/blackfin/mach-bf527/boards/ezbrd.c | |
parent | 7f80850d3f9fd8fda23a317044aef3a6bafab06b (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-bf527/boards/ezbrd.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezbrd.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index 64f7278aba53..2963c356c68b 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
@@ -417,8 +417,13 @@ static struct resource bfin_uart0_resources[] = { | |||
417 | .flags = IORESOURCE_MEM, | 417 | .flags = IORESOURCE_MEM, |
418 | }, | 418 | }, |
419 | { | 419 | { |
420 | .start = IRQ_UART0_TX, | ||
421 | .end = IRQ_UART0_TX, | ||
422 | .flags = IORESOURCE_IRQ, | ||
423 | }, | ||
424 | { | ||
420 | .start = IRQ_UART0_RX, | 425 | .start = IRQ_UART0_RX, |
421 | .end = IRQ_UART0_RX+1, | 426 | .end = IRQ_UART0_RX, |
422 | .flags = IORESOURCE_IRQ, | 427 | .flags = IORESOURCE_IRQ, |
423 | }, | 428 | }, |
424 | { | 429 | { |
@@ -460,8 +465,13 @@ static struct resource bfin_uart1_resources[] = { | |||
460 | .flags = IORESOURCE_MEM, | 465 | .flags = IORESOURCE_MEM, |
461 | }, | 466 | }, |
462 | { | 467 | { |
468 | .start = IRQ_UART1_TX, | ||
469 | .end = IRQ_UART1_TX, | ||
470 | .flags = IORESOURCE_IRQ, | ||
471 | }, | ||
472 | { | ||
463 | .start = IRQ_UART1_RX, | 473 | .start = IRQ_UART1_RX, |
464 | .end = IRQ_UART1_RX+1, | 474 | .end = IRQ_UART1_RX, |
465 | .flags = IORESOURCE_IRQ, | 475 | .flags = IORESOURCE_IRQ, |
466 | }, | 476 | }, |
467 | { | 477 | { |