]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/bachmann/ot1200/ot1200.c
ot1200: fix sf detection
[karo-tx-uboot.git] / board / bachmann / ot1200 / ot1200.c
index 0d5ede5ca89fc0aa8698086b0a0040185e049482..2962e0c1f471b9cd61c27a3c390da3ff3524c2df 100644 (file)
@@ -98,6 +98,11 @@ static void setup_iomux_spi(void)
        imx_iomux_v3_setup_multiple_pads(ecspi1_pads, ARRAY_SIZE(ecspi1_pads));
 }
 
+int board_spi_cs_gpio(unsigned bus, unsigned cs)
+{
+       return (bus == 2 && cs == 0) ? (IMX_GPIO_NR(1, 3)) : -1;
+}
+
 int board_early_init_f(void)
 {
        setup_iomux_uart();