]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/genesi/mx51_efikamx/efikamx.c
spi: mxc: fix sf probe when using mxc_spi
[karo-tx-uboot.git] / board / genesi / mx51_efikamx / efikamx.c
index 16769e53327edf187cfced3c397d8a9b9e7243d0..137e4ed661030b9ede7f194f2f7f865429ebce1d 100644 (file)
@@ -152,6 +152,11 @@ static iomux_v3_cfg_t const efikamx_spi_pads[] = {
  * PMIC configuration
  */
 #ifdef CONFIG_MXC_SPI
+int board_spi_cs_gpio(unsigned bus, unsigned cs)
+{
+       return (bus == 0 && cs == 1) ? 121 : -1;
+}
+
 static void power_init(void)
 {
        unsigned int val;