Commit 6ae843632ee4817c899c08c6dc3631e6e0cb6207
Committed by
Tom Rini
1 parent
11e1582506
Exists in
v2017.01-smarct4x
and in
30 other branches
am335x_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> Reviewed-by: Tom Rini <trini@konsulko.com>
Showing 1 changed file with 8 additions and 0 deletions Side-by-side Diff
include/configs/am335x_evm.h
... | ... | @@ -351,6 +351,14 @@ |
351 | 351 | #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" |
352 | 352 | #endif /* CONFIG_USB_MUSB_GADGET */ |
353 | 353 | |
354 | +/* | |
355 | + * Disable MMC DM for SPL build and can be re-enabled after adding | |
356 | + * DM support in SPL | |
357 | + */ | |
358 | +#ifdef CONFIG_SPL_BUILD | |
359 | +#undef CONFIG_DM_MMC | |
360 | +#endif | |
361 | + | |
354 | 362 | #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT) |
355 | 363 | /* Remove other SPL modes. */ |
356 | 364 | #undef CONFIG_SPL_YMODEM_SUPPORT |