diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-01-27 06:58:46 -0500 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2008-01-27 06:58:46 -0500 |
commit | 0d4a89bb3eb58f39831186fa6b1542893dbfdc9f (patch) | |
tree | c295b0acc5749bee8754885fd644cf3d1bec4eb6 /arch/blackfin | |
parent | fb5f00492a748facc9f069c95621e05c148edf53 (diff) |
[Blackfin] arch: add Hitachi TX09D70VM1CDA TFT LCD driver resource to Blackfin board
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/cm_bf537.c | 10 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/boards/cm_bf561.c | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537.c b/arch/blackfin/mach-bf537/boards/cm_bf537.c index c0fb06dbc42e..a102615cac7c 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537.c | |||
@@ -216,6 +216,12 @@ static struct platform_device rtc_device = { | |||
216 | }; | 216 | }; |
217 | #endif | 217 | #endif |
218 | 218 | ||
219 | #if defined(CONFIG_FB_HITACHI_TX09) || defined(CONFIG_FB_HITACHI_TX09_MODULE) | ||
220 | static struct platform_device hitachi_fb_device = { | ||
221 | .name = "hitachi-tx09", | ||
222 | }; | ||
223 | #endif | ||
224 | |||
219 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | 225 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) |
220 | static struct resource smc91x_resources[] = { | 226 | static struct resource smc91x_resources[] = { |
221 | { | 227 | { |
@@ -374,6 +380,10 @@ static struct platform_device bfin_pata_device = { | |||
374 | #endif | 380 | #endif |
375 | 381 | ||
376 | static struct platform_device *cm_bf537_devices[] __initdata = { | 382 | static struct platform_device *cm_bf537_devices[] __initdata = { |
383 | #if defined(CONFIG_FB_HITACHI_TX09) || defined(CONFIG_FB_HITACHI_TX09_MODULE) | ||
384 | &hitachi_fb_device, | ||
385 | #endif | ||
386 | |||
377 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 387 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
378 | &rtc_device, | 388 | &rtc_device, |
379 | #endif | 389 | #endif |
diff --git a/arch/blackfin/mach-bf561/boards/cm_bf561.c b/arch/blackfin/mach-bf561/boards/cm_bf561.c index c19cd29b948a..3a79a9061bdc 100644 --- a/arch/blackfin/mach-bf561/boards/cm_bf561.c +++ b/arch/blackfin/mach-bf561/boards/cm_bf561.c | |||
@@ -198,6 +198,13 @@ static struct platform_device bfin_spi0_device = { | |||
198 | #endif /* spi master and devices */ | 198 | #endif /* spi master and devices */ |
199 | 199 | ||
200 | 200 | ||
201 | #if defined(CONFIG_FB_HITACHI_TX09) || defined(CONFIG_FB_HITACHI_TX09_MODULE) | ||
202 | static struct platform_device hitachi_fb_device = { | ||
203 | .name = "hitachi-tx09", | ||
204 | }; | ||
205 | #endif | ||
206 | |||
207 | |||
201 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | 208 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) |
202 | 209 | ||
203 | static struct resource smc91x_resources[] = { | 210 | static struct resource smc91x_resources[] = { |
@@ -315,6 +322,10 @@ static struct platform_device bfin_pata_device = { | |||
315 | 322 | ||
316 | static struct platform_device *cm_bf561_devices[] __initdata = { | 323 | static struct platform_device *cm_bf561_devices[] __initdata = { |
317 | 324 | ||
325 | #if defined(CONFIG_FB_HITACHI_TX09) || defined(CONFIG_FB_HITACHI_TX09_MODULE) | ||
326 | &hitachi_fb_device, | ||
327 | #endif | ||
328 | |||
318 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 329 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
319 | &bfin_uart_device, | 330 | &bfin_uart_device, |
320 | #endif | 331 | #endif |