diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2015-09-28 16:17:50 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-22 14:43:59 -0400 |
commit | 8aff39e33300eb4dc75ba145d352d30358c3bc6b (patch) | |
tree | aa709c11942132ad1a3891536c0deee598ef0024 | |
parent | 2a429d23e8b9e46428d57143e39052fab6a95956 (diff) | |
download | u-boot-imx-8aff39e33300eb4dc75ba145d352d30358c3bc6b.zip u-boot-imx-8aff39e33300eb4dc75ba145d352d30358c3bc6b.tar.gz u-boot-imx-8aff39e33300eb4dc75ba145d352d30358c3bc6b.tar.bz2 |
am43xx_evm: mmc: do not define DM_MMC for spl
Since spl doesn't support DM currently, do not define DM_MMC
for spl build.
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
-rw-r--r-- | include/configs/am43xx_evm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 09a3e17..d93e3e7 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -140,6 +140,14 @@ #define CONFIG_USB_GADGET_DUALSPEED #endif +/* + * Disable MMC DM for SPL build and can be re-enabled after adding + * DM support in SPL + */ +#ifdef CONFIG_SPL_BUILD +#undef CONFIG_DM_MMC +#endif + #ifndef CONFIG_SPL_BUILD /* USB Device Firmware Update support */ #define CONFIG_USB_FUNCTION_DFU |