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-bf561 | |
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-bf561')
-rw-r--r-- | arch/blackfin/mach-bf561/boards/cm_bf561.c | 7 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/boards/ezkit.c | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf561/boards/cm_bf561.c b/arch/blackfin/mach-bf561/boards/cm_bf561.c index 0dd9685e5d53..0c9d72c5f5ba 100644 --- a/arch/blackfin/mach-bf561/boards/cm_bf561.c +++ b/arch/blackfin/mach-bf561/boards/cm_bf561.c | |||
@@ -177,8 +177,13 @@ static struct resource bfin_spi0_resource[] = { | |||
177 | [1] = { | 177 | [1] = { |
178 | .start = CH_SPI, | 178 | .start = CH_SPI, |
179 | .end = CH_SPI, | 179 | .end = CH_SPI, |
180 | .flags = IORESOURCE_DMA, | ||
181 | }, | ||
182 | [2] = { | ||
183 | .start = IRQ_SPI, | ||
184 | .end = IRQ_SPI, | ||
180 | .flags = IORESOURCE_IRQ, | 185 | .flags = IORESOURCE_IRQ, |
181 | } | 186 | }, |
182 | }; | 187 | }; |
183 | 188 | ||
184 | /* SPI controller data */ | 189 | /* SPI controller data */ |
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index 0e2178a1aec5..b5ef7ff7b7bd 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
@@ -304,6 +304,11 @@ static struct resource bfin_spi0_resource[] = { | |||
304 | [1] = { | 304 | [1] = { |
305 | .start = CH_SPI, | 305 | .start = CH_SPI, |
306 | .end = CH_SPI, | 306 | .end = CH_SPI, |
307 | .flags = IORESOURCE_DMA, | ||
308 | }, | ||
309 | [2] = { | ||
310 | .start = IRQ_SPI, | ||
311 | .end = IRQ_SPI, | ||
307 | .flags = IORESOURCE_IRQ, | 312 | .flags = IORESOURCE_IRQ, |
308 | } | 313 | } |
309 | }; | 314 | }; |