]> git.baikalelectronics.ru Git - uboot.git/commit
tqma6s_wru4_mmc: manage board_spi_cs_gpio correctly
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 27 Feb 2019 14:20:35 +0000 (15:20 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 25 Mar 2019 21:35:52 +0000 (17:35 -0400)
commit252b7c367c2708ab047a081e3da789d959f66f7b
tree34c5b2696a584e7025d648198b7df182c6ab71cb
parentb60a35ededfe4b4f2f376dbd35a36a10a4ea56ef
tqma6s_wru4_mmc: manage board_spi_cs_gpio correctly

Define the function board_spi_cs_gpio only when needed,
only called in drivers/spi/mxc_spi.c.
That avoid compilation issue for tqma6s_wru4_mmc_defconfig
when CONFIG_SF_DEFAULT_BUS and CONFIG_SF_DEFAULT_CS are not
defined (CMD_SF not defined) after migration in KConfig.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
board/tqc/tqma6/tqma6.c