diff options
Diffstat (limited to 'arch/blackfin/mach-bf518/boards/ezbrd.c')
-rw-r--r-- | arch/blackfin/mach-bf518/boards/ezbrd.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf518/boards/ezbrd.c b/arch/blackfin/mach-bf518/boards/ezbrd.c index d1c0c0cff3ef..a2d96d31bbf1 100644 --- a/arch/blackfin/mach-bf518/boards/ezbrd.c +++ b/arch/blackfin/mach-bf518/boards/ezbrd.c | |||
@@ -61,7 +61,7 @@ static struct physmap_flash_data ezbrd_flash_data = { | |||
61 | 61 | ||
62 | static struct resource ezbrd_flash_resource = { | 62 | static struct resource ezbrd_flash_resource = { |
63 | .start = 0x20000000, | 63 | .start = 0x20000000, |
64 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 64 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
65 | .end = 0x202fffff, | 65 | .end = 0x202fffff, |
66 | #else | 66 | #else |
67 | .end = 0x203fffff, | 67 | .end = 0x203fffff, |
@@ -122,6 +122,8 @@ static struct bfin_mii_bus_platform_data bfin_mii_bus_data = { | |||
122 | #if defined(CONFIG_NET_DSA_KSZ8893M) || defined(CONFIG_NET_DSA_KSZ8893M_MODULE) | 122 | #if defined(CONFIG_NET_DSA_KSZ8893M) || defined(CONFIG_NET_DSA_KSZ8893M_MODULE) |
123 | .phy_mask = 0xfff7, /* Only probe the port phy connect to the on chip MAC */ | 123 | .phy_mask = 0xfff7, /* Only probe the port phy connect to the on chip MAC */ |
124 | #endif | 124 | #endif |
125 | .vlan1_mask = 1, | ||
126 | .vlan2_mask = 2, | ||
125 | }; | 127 | }; |
126 | 128 | ||
127 | static struct platform_device bfin_mii_bus = { | 129 | static struct platform_device bfin_mii_bus = { |
@@ -292,7 +294,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
292 | }; | 294 | }; |
293 | 295 | ||
294 | /* SPI controller data */ | 296 | /* SPI controller data */ |
295 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 297 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
296 | /* SPI (0) */ | 298 | /* SPI (0) */ |
297 | static struct bfin5xx_spi_master bfin_spi0_info = { | 299 | static struct bfin5xx_spi_master bfin_spi0_info = { |
298 | .num_chipselect = 6, | 300 | .num_chipselect = 6, |
@@ -715,7 +717,7 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
715 | #endif | 717 | #endif |
716 | #endif | 718 | #endif |
717 | 719 | ||
718 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 720 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
719 | &bfin_spi0_device, | 721 | &bfin_spi0_device, |
720 | &bfin_spi1_device, | 722 | &bfin_spi1_device, |
721 | #endif | 723 | #endif |
@@ -777,7 +779,7 @@ static int __init ezbrd_init(void) | |||
777 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 779 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
778 | /* setup BF518-EZBRD GPIO pin PG11 to AMS2, PG15 to AMS3. */ | 780 | /* setup BF518-EZBRD GPIO pin PG11 to AMS2, PG15 to AMS3. */ |
779 | peripheral_request(P_AMS2, "ParaFlash"); | 781 | peripheral_request(P_AMS2, "ParaFlash"); |
780 | #if !defined(CONFIG_SPI_BFIN) && !defined(CONFIG_SPI_BFIN_MODULE) | 782 | #if !defined(CONFIG_SPI_BFIN5XX) && !defined(CONFIG_SPI_BFIN5XX_MODULE) |
781 | peripheral_request(P_AMS3, "ParaFlash"); | 783 | peripheral_request(P_AMS3, "ParaFlash"); |
782 | #endif | 784 | #endif |
783 | return 0; | 785 | return 0; |