]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: sunxi: Fix build break when CONFIG_MMC is not defined
authorChen-Yu Tsai <wens@csie.org>
Tue, 7 Oct 2014 07:11:49 +0000 (15:11 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 24 Oct 2014 07:35:38 +0000 (09:35 +0200)
commit41f8e9f5c48ec919b1a44591008ddc3e5a045228
tree31641709301e0eb30a88ee0806a4bcbf16a063fb
parente71189168553ddf59f25132027d662458db8f3c5
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>
include/configs/sunxi-common.h