]> git.ipfire.org Git - thirdparty/u-boot.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)
commit9309aad084bba4cb86f61d4108c4e6152ef6cf7d
tree34c5b2696a584e7025d648198b7df182c6ab71cb
parentac31d0d87365efe7724afd75253af1ab54159656
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