ARM i.MX27 eukrea mbimx27: remove unnecessary CONFIG_SPI_IMX ifdefs
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5ec561afbc
commit
285faa1b56
1 changed files with 0 additions and 2 deletions
|
@ -357,13 +357,11 @@ void __init eukrea_mbimx27_baseboard_init(void)
|
||||||
ads7846_dev_init();
|
ads7846_dev_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
|
|
||||||
/* SPI_CS0 init */
|
/* SPI_CS0 init */
|
||||||
mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_OUT);
|
mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_OUT);
|
||||||
imx27_add_spi_imx0(&eukrea_mbimx27_spi0_data);
|
imx27_add_spi_imx0(&eukrea_mbimx27_spi0_data);
|
||||||
spi_register_board_info(eukrea_mbimx27_spi_board_info,
|
spi_register_board_info(eukrea_mbimx27_spi_board_info,
|
||||||
ARRAY_SIZE(eukrea_mbimx27_spi_board_info));
|
ARRAY_SIZE(eukrea_mbimx27_spi_board_info));
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Leds configuration */
|
/* Leds configuration */
|
||||||
mxc_gpio_mode(GPIO_PORTF | 16 | GPIO_GPIO | GPIO_OUT);
|
mxc_gpio_mode(GPIO_PORTF | 16 | GPIO_GPIO | GPIO_OUT);
|
||||||
|
|
Loading…
Add table
Reference in a new issue