diff options
author | Tom Rini <trini@ti.com> | 2014-11-05 12:48:09 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-05 12:48:09 -0500 |
commit | 625509ab0edbb7d943ad9028de3c21ca48aa58be (patch) | |
tree | 2ea6bda524b3ad7e964f4357428de2890ad81cf4 /board/aristainetos | |
parent | d5325eff10922acb11c39efece6d5f24de5b1998 (diff) | |
parent | 0b23780ff02bdbec46fac1fe4151e2ebf1eae881 (diff) | |
download | u-boot-imx-625509ab0edbb7d943ad9028de3c21ca48aa58be.zip u-boot-imx-625509ab0edbb7d943ad9028de3c21ca48aa58be.tar.gz u-boot-imx-625509ab0edbb7d943ad9028de3c21ca48aa58be.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
Diffstat (limited to 'board/aristainetos')
-rw-r--r-- | board/aristainetos/aristainetos.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/aristainetos/aristainetos.c b/board/aristainetos/aristainetos.c index 3bfcf5b..06922c0 100644 --- a/board/aristainetos/aristainetos.c +++ b/board/aristainetos/aristainetos.c @@ -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; |