diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-10-07 07:11:49 (GMT) |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-10-24 07:35:38 (GMT) |
commit | 41f8e9f5c48ec919b1a44591008ddc3e5a045228 (patch) | |
tree | 31641709301e0eb30a88ee0806a4bcbf16a063fb /drivers/spi | |
parent | e71189168553ddf59f25132027d662458db8f3c5 (diff) | |
download | u-boot-41f8e9f5c48ec919b1a44591008ddc3e5a045228.tar.xz |
ARM: sunxi: Fix build break when CONFIG_MMC is not defined
BOOT_TARGET_DEVICES includes MMC unconditionally. This breaks when
CONFIG_CMD_MMC is not defined. Use a secondary macro to conditionally
include it when CONFIG_MMC is enabled, as we do for CONFIG_AHCI.
This is used when we want to use uart0 from port F, which conflicts
with mmc0.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions