summaryrefslogtreecommitdiff
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-15 22:04:06 +0200
committerHans de Goede <hdegoede@redhat.com>2015-10-20 22:48:28 +0200
commitf7d6b3cc1686f2fc6ea4c28590710c89bedd3a55 (patch)
tree6726287ea11182a28299bc23b81484cb9d6663f8 /include/configs/sunxi-common.h
parent7a777f6d6f358b8ab97baae82be03ab704d1bd1c (diff)
downloadu-boot-imx-f7d6b3cc1686f2fc6ea4c28590710c89bedd3a55.zip
u-boot-imx-f7d6b3cc1686f2fc6ea4c28590710c89bedd3a55.tar.gz
u-boot-imx-f7d6b3cc1686f2fc6ea4c28590710c89bedd3a55.tar.bz2
sunxi: board: Only try to use the MMC related functions if enabled
So far, even if CONFIG_MMC was not enabled the board code was trying to use the MMC-related functions, resulting in linker errors. Protect those calls by an ifdef. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/configs/sunxi-common.h')
0 files changed, 0 insertions, 0 deletions