aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf533
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf533')
-rw-r--r--arch/blackfin/mach-bf533/boards/stamp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c
index b2ac4816ae62..ecf449b322d9 100644
--- a/arch/blackfin/mach-bf533/boards/stamp.c
+++ b/arch/blackfin/mach-bf533/boards/stamp.c
@@ -109,6 +109,7 @@ static struct platform_device net2272_bfin_device = {
109}; 109};
110#endif 110#endif
111 111
112#if defined(CONFIG_MTD_BF5xx) || defined(CONFIG_MTD_BF5xx_MODULE)
112static struct mtd_partition stamp_partitions[] = { 113static struct mtd_partition stamp_partitions[] = {
113 { 114 {
114 .name = "Bootloader", 115 .name = "Bootloader",
@@ -152,6 +153,7 @@ static struct platform_device stamp_flash_device = {
152 .num_resources = ARRAY_SIZE(stamp_flash_resource), 153 .num_resources = ARRAY_SIZE(stamp_flash_resource),
153 .resource = stamp_flash_resource, 154 .resource = stamp_flash_resource,
154}; 155};
156#endif
155 157
156#if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) 158#if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE)
157/* all SPI peripherals info goes here */ 159/* all SPI peripherals info goes here */
@@ -515,7 +517,10 @@ static struct platform_device *stamp_devices[] __initdata = {
515#endif 517#endif
516 518
517 &bfin_gpios_device, 519 &bfin_gpios_device,
520
521#if defined(CONFIG_MTD_BF5xx) || defined(CONFIG_MTD_BF5xx_MODULE)
518 &stamp_flash_device, 522 &stamp_flash_device,
523#endif
519}; 524};
520 525
521static int __init stamp_init(void) 526static int __init stamp_init(void)