arm: socfpga: Enable SPL MMC/SPI support only if DM_MMC/SPI is enabled
authorMarek Vasut <marex@denx.de>
Sun, 20 Dec 2015 03:00:44 +0000 (04:00 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 22 Dec 2015 20:30:02 +0000 (21:30 +0100)
commit4197a0f45b655c00eae738ddecee2a1009e972a3
tree2ef233eefe07a1bbcc6c86c29bd71ada1f205068
parent8f7ed08eb35e7c9660ee7c0bd3df5661ee9a2638
arm: socfpga: Enable SPL MMC/SPI support only if DM_MMC/SPI is enabled

It is not possible to compile MMC/SPI SPL if the respective DM_MMC/DM_SPI
bits are not enabled. 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