[U-Boot] [U-Boot, 2/2] mmc: mtk-sd: fix SPL compilation when GPIO=y and SPL_GPIO=n
Tom Rini
trini at konsulko.com
Sun Jan 27 03:52:25 UTC 2019
On Thu, Jan 17, 2019 at 06:06:01PM +0100, Fabien Parent wrote:
> It is not possible to link the SPL image when CONFIG_GPIO is enabled
> but CONFIG_SPL_GPIO is not. Use the IS_ENABLED macro instead to
> correctly check whether CONFIG_{SPL_}GPIO is enabled.
>
> This commit fixes the following errors:
> * undefined reference to `dm_gpio_get_value
> * undefined reference to `gpio_request_by_name'
>
> Signed-off-by: Fabien Parent <fparent at baylibre.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190126/f8dd6922/attachment.sig>
More information about the U-Boot
mailing list