diff options
| author | Marek Vasut <[email protected]> | 2019-05-17 16:58:54 +0200 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2019-06-11 10:42:48 +0200 |
| commit | cc48c2a5cfdbd883078f6b17608090482e5f60ca (patch) | |
| tree | 24e79703fcbbadf5c6f89e47a7b3661ed8159912 /board/dhelectronics | |
| parent | 9352c629b0a72fb43570ce69469d051233879fe4 (diff) | |
ARM: imx: dh-imx6: Convert SPI support to DM
Enable DM SPI and SF support on DHCOM iMX6 PDK2.
Convert board code to match the DM support.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Ludwig Zenz <[email protected]>
Cc: Stefano Babic <[email protected]>
Diffstat (limited to 'board/dhelectronics')
| -rw-r--r-- | board/dhelectronics/dh_imx6/dh_imx6.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/board/dhelectronics/dh_imx6/dh_imx6.c b/board/dhelectronics/dh_imx6/dh_imx6.c index 737d9c6be36..50e3cb50a35 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6.c +++ b/board/dhelectronics/dh_imx6/dh_imx6.c @@ -272,16 +272,6 @@ int board_early_init_f(void) return 0; } -#ifdef CONFIG_MXC_SPI -int board_spi_cs_gpio(unsigned bus, unsigned cs) -{ - if (bus == 0 && cs == 0) - return IMX_GPIO_NR(2, 30); - else - return -1; -} -#endif - int board_init(void) { struct mxc_ccm_reg *mxc_ccm = (struct mxc_ccm_reg *)CCM_BASE_ADDR; |
