aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548
diff options
context:
space:
mode:
authorYi Li <yi.li@analog.com>2009-06-05 08:11:11 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-13 07:20:10 -0400
commit53122693c3cef005495279835286c36c58e035e8 (patch)
tree8bdbf1e2f73a083258ad7c0fd5315bd4b3ae4153 /arch/blackfin/mach-bf548
parent54ebae7166275a618f0228138e67ff7d10a3b9d0 (diff)
Blackfin: define SPI IRQ in board resources
The Blackfin SPI driver can be driven by an IRQ now, so declare it in the board resources. Signed-off-by: Yi Li <yi.li@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r--arch/blackfin/mach-bf548/boards/cm_bf548.c10
-rw-r--r--arch/blackfin/mach-bf548/boards/ezkit.c10
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c
index f53ad682530b..f5a3c30a41bd 100644
--- a/arch/blackfin/mach-bf548/boards/cm_bf548.c
+++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c
@@ -612,6 +612,11 @@ static struct resource bfin_spi0_resource[] = {
612 [1] = { 612 [1] = {
613 .start = CH_SPI0, 613 .start = CH_SPI0,
614 .end = CH_SPI0, 614 .end = CH_SPI0,
615 .flags = IORESOURCE_DMA,
616 },
617 [2] = {
618 .start = IRQ_SPI0,
619 .end = IRQ_SPI0,
615 .flags = IORESOURCE_IRQ, 620 .flags = IORESOURCE_IRQ,
616 } 621 }
617}; 622};
@@ -626,6 +631,11 @@ static struct resource bfin_spi1_resource[] = {
626 [1] = { 631 [1] = {
627 .start = CH_SPI1, 632 .start = CH_SPI1,
628 .end = CH_SPI1, 633 .end = CH_SPI1,
634 .flags = IORESOURCE_DMA,
635 },
636 [2] = {
637 .start = IRQ_SPI1,
638 .end = IRQ_SPI1,
629 .flags = IORESOURCE_IRQ, 639 .flags = IORESOURCE_IRQ,
630 } 640 }
631}; 641};
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index add5a17452ce..a4b1ee819c57 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -741,6 +741,11 @@ static struct resource bfin_spi0_resource[] = {
741 [1] = { 741 [1] = {
742 .start = CH_SPI0, 742 .start = CH_SPI0,
743 .end = CH_SPI0, 743 .end = CH_SPI0,
744 .flags = IORESOURCE_DMA,
745 },
746 [2] = {
747 .start = IRQ_SPI0,
748 .end = IRQ_SPI0,
744 .flags = IORESOURCE_IRQ, 749 .flags = IORESOURCE_IRQ,
745 } 750 }
746}; 751};
@@ -755,6 +760,11 @@ static struct resource bfin_spi1_resource[] = {
755 [1] = { 760 [1] = {
756 .start = CH_SPI1, 761 .start = CH_SPI1,
757 .end = CH_SPI1, 762 .end = CH_SPI1,
763 .flags = IORESOURCE_DMA,
764 },
765 [2] = {
766 .start = IRQ_SPI1,
767 .end = IRQ_SPI1,
758 .flags = IORESOURCE_IRQ, 768 .flags = IORESOURCE_IRQ,
759 } 769 }
760}; 770};