aboutsummaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorFabien Parent2019-01-17 18:06:01 +0100
committerTom Rini2019-01-26 08:13:54 -0500
commit70dbbd7269c2fc1c096830e448a97862ad87fd2a (patch)
tree9a3021e2ed2a211f0a5ff22ed580fcfdfeebabd3 /common/Makefile
parent924ed344a759f2d699ee397600af13363425ae90 (diff)
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>
Diffstat (limited to 'common/Makefile')
0 files changed, 0 insertions, 0 deletions