diff options
author | Yi Li <yi.li@analog.com> | 2009-06-05 08:11:11 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-13 07:20:10 -0400 |
commit | 53122693c3cef005495279835286c36c58e035e8 (patch) | |
tree | 8bdbf1e2f73a083258ad7c0fd5315bd4b3ae4153 /arch/blackfin/mach-bf533 | |
parent | 54ebae7166275a618f0228138e67ff7d10a3b9d0 (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-bf533')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/H8606.c | 5 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/blackstamp.c | 5 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/cm_bf533.c | 5 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ezkit.c | 5 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 5 |
5 files changed, 25 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index 895f213ea454..38cf8ffd6d74 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
@@ -266,6 +266,11 @@ static struct resource bfin_spi0_resource[] = { | |||
266 | [1] = { | 266 | [1] = { |
267 | .start = CH_SPI, | 267 | .start = CH_SPI, |
268 | .end = CH_SPI, | 268 | .end = CH_SPI, |
269 | .flags = IORESOURCE_DMA, | ||
270 | }, | ||
271 | [2] = { | ||
272 | .start = IRQ_SPI, | ||
273 | .end = IRQ_SPI, | ||
269 | .flags = IORESOURCE_IRQ, | 274 | .flags = IORESOURCE_IRQ, |
270 | } | 275 | } |
271 | }; | 276 | }; |
diff --git a/arch/blackfin/mach-bf533/boards/blackstamp.c b/arch/blackfin/mach-bf533/boards/blackstamp.c index 0765872a8ada..9ecdc361fa6d 100644 --- a/arch/blackfin/mach-bf533/boards/blackstamp.c +++ b/arch/blackfin/mach-bf533/boards/blackstamp.c | |||
@@ -162,6 +162,11 @@ static struct resource bfin_spi0_resource[] = { | |||
162 | [1] = { | 162 | [1] = { |
163 | .start = CH_SPI, | 163 | .start = CH_SPI, |
164 | .end = CH_SPI, | 164 | .end = CH_SPI, |
165 | .flags = IORESOURCE_DMA, | ||
166 | }, | ||
167 | [2] = { | ||
168 | .start = IRQ_SPI, | ||
169 | .end = IRQ_SPI, | ||
165 | .flags = IORESOURCE_IRQ, | 170 | .flags = IORESOURCE_IRQ, |
166 | } | 171 | } |
167 | }; | 172 | }; |
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c index a727e538fa28..1443e92d8b62 100644 --- a/arch/blackfin/mach-bf533/boards/cm_bf533.c +++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c | |||
@@ -160,6 +160,11 @@ static struct resource bfin_spi0_resource[] = { | |||
160 | [1] = { | 160 | [1] = { |
161 | .start = CH_SPI, | 161 | .start = CH_SPI, |
162 | .end = CH_SPI, | 162 | .end = CH_SPI, |
163 | .flags = IORESOURCE_DMA, | ||
164 | }, | ||
165 | [2] = { | ||
166 | .start = IRQ_SPI, | ||
167 | .end = IRQ_SPI, | ||
163 | .flags = IORESOURCE_IRQ, | 168 | .flags = IORESOURCE_IRQ, |
164 | } | 169 | } |
165 | }; | 170 | }; |
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index 842f1c9c2393..89a5ec4ca048 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -196,6 +196,11 @@ static struct resource bfin_spi0_resource[] = { | |||
196 | [1] = { | 196 | [1] = { |
197 | .start = CH_SPI, | 197 | .start = CH_SPI, |
198 | .end = CH_SPI, | 198 | .end = CH_SPI, |
199 | .flags = IORESOURCE_DMA, | ||
200 | }, | ||
201 | [2] = { | ||
202 | .start = IRQ_SPI, | ||
203 | .end = IRQ_SPI, | ||
199 | .flags = IORESOURCE_IRQ, | 204 | .flags = IORESOURCE_IRQ, |
200 | } | 205 | } |
201 | }; | 206 | }; |
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index e19c565ade16..a68ade8a3ca2 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -299,6 +299,11 @@ static struct resource bfin_spi0_resource[] = { | |||
299 | [1] = { | 299 | [1] = { |
300 | .start = CH_SPI, | 300 | .start = CH_SPI, |
301 | .end = CH_SPI, | 301 | .end = CH_SPI, |
302 | .flags = IORESOURCE_DMA, | ||
303 | }, | ||
304 | [2] = { | ||
305 | .start = IRQ_SPI, | ||
306 | .end = IRQ_SPI, | ||
302 | .flags = IORESOURCE_IRQ, | 307 | .flags = IORESOURCE_IRQ, |
303 | } | 308 | } |
304 | }; | 309 | }; |