]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mx6qsabreauto/mx6qsabreauto.c
Merge remote-tracking branch 'u-boot-imx/master'
[karo-tx-uboot.git] / board / freescale / mx6qsabreauto / mx6qsabreauto.c
index dd6d2a660fcd90ac9e1b57835d2dc2fd94670430..1cb7561759827acb06706706bcc894391854fd41 100644 (file)
@@ -259,6 +259,13 @@ int board_init(void)
        return 0;
 }
 
+#ifdef CONFIG_MXC_SPI
+int board_spi_cs_gpio(unsigned bus, unsigned cs)
+{
+       return (bus == 0 && cs == 0) ? (IMX_GPIO_NR(4, 9)) : -1;
+}
+#endif
+
 #ifdef CONFIG_CMD_BMODE
 static const struct boot_mode board_boot_modes[] = {
        /* 4 bit bus width */