]> git.sur5r.net Git - u-boot/commit
arm: socfpga: Enable DFU MMC support only if DM_MMC is enabled
authorMarek Vasut <marex@denx.de>
Sun, 20 Dec 2015 03:00:45 +0000 (04:00 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 22 Dec 2015 20:30:02 +0000 (21:30 +0100)
commiteba522a0f7e0bae819633977aa9ad905775a1b68
treeb726fb37112eb1c02b8f99364a0ab22280f5aac2
parent4197a0f45b655c00eae738ddecee2a1009e972a3
arm: socfpga: Enable DFU MMC support only if DM_MMC is enabled

It is not possible to compile DFU MMC support if the MMC support is not
compiled into U-Boot. Secure the code with an ifdef to prevent compiler
splat.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
include/configs/socfpga_common.h