1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-09 02:36:35 +01:00
Files
u-boot-megous/drivers
Fabien Parent 70dbbd7269 mmc: mtk-sd: fix SPL compilation when GPIO=y and SPL_GPIO=n
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@baylibre.com>
[trini: Move guard to fix warning in msdc_ops_get_wp()]
Signed-off-by: Tom Rini <trini@konsulko.com>
2019-01-26 08:13:54 -05:00
..
2018-12-06 14:38:03 -08:00
2019-01-15 15:28:53 -05:00
2019-01-18 09:16:15 -05:00
2018-12-18 09:56:26 +08:00
2018-12-19 15:23:00 +01:00
2018-12-06 14:37:51 -08:00
2019-01-18 22:19:08 +05:30
2018-07-19 16:31:38 -04:00
2018-11-29 09:30:06 -07:00
2019-01-18 09:16:15 -05:00
2018-12-06 23:26:32 -05:00