]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/aristainetos/aristainetos.c
Merge branch 'rmobile' of git://www.denx.de/git/u-boot-sh
[karo-tx-uboot.git] / board / aristainetos / aristainetos.c
index 3bfcf5b0da1d98b9b831fbc8bc755472da47ffcc..06922c0020601636f6d40a37a789c691a6ce596e 100644 (file)
@@ -230,6 +230,12 @@ static iomux_v3_cfg_t const backlight_pads[] = {
        MX6_PAD_GPIO_2__GPIO1_IO02 | MUX_PAD_CTRL(NO_PAD_CTRL),
 };
 
+int board_spi_cs_gpio(unsigned bus, unsigned cs)
+{
+       return (bus == CONFIG_SF_DEFAULT_BUS && cs == CONFIG_SF_DEFAULT_CS)
+               ? (IMX_GPIO_NR(3, 20)) : -1;
+}
+
 static void setup_spi(void)
 {
        int i;