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-bf518/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-bf518/boards/ezbrd.c')
-rw-r--r-- | arch/blackfin/mach-bf518/boards/ezbrd.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf518/boards/ezbrd.c b/arch/blackfin/mach-bf518/boards/ezbrd.c index 1082e49f7a9f..d1c0c0cff3ef 100644 --- a/arch/blackfin/mach-bf518/boards/ezbrd.c +++ b/arch/blackfin/mach-bf518/boards/ezbrd.c | |||
@@ -373,8 +373,13 @@ static struct resource bfin_uart0_resources[] = { | |||
373 | .flags = IORESOURCE_MEM, | 373 | .flags = IORESOURCE_MEM, |
374 | }, | 374 | }, |
375 | { | 375 | { |
376 | .start = IRQ_UART0_TX, | ||
377 | .end = IRQ_UART0_TX, | ||
378 | .flags = IORESOURCE_IRQ, | ||
379 | }, | ||
380 | { | ||
376 | .start = IRQ_UART0_RX, | 381 | .start = IRQ_UART0_RX, |
377 | .end = IRQ_UART0_RX+1, | 382 | .end = IRQ_UART0_RX, |
378 | .flags = IORESOURCE_IRQ, | 383 | .flags = IORESOURCE_IRQ, |
379 | }, | 384 | }, |
380 | { | 385 | { |
@@ -416,8 +421,13 @@ static struct resource bfin_uart1_resources[] = { | |||
416 | .flags = IORESOURCE_MEM, | 421 | .flags = IORESOURCE_MEM, |
417 | }, | 422 | }, |
418 | { | 423 | { |
424 | .start = IRQ_UART1_TX, | ||
425 | .end = IRQ_UART1_TX, | ||
426 | .flags = IORESOURCE_IRQ, | ||
427 | }, | ||
428 | { | ||
419 | .start = IRQ_UART1_RX, | 429 | .start = IRQ_UART1_RX, |
420 | .end = IRQ_UART1_RX+1, | 430 | .end = IRQ_UART1_RX, |
421 | .flags = IORESOURCE_IRQ, | 431 | .flags = IORESOURCE_IRQ, |
422 | }, | 432 | }, |
423 | { | 433 | { |