[U-Boot] [PATCH v3 1/2] ARM: davinci: omal138_lcdk: fix MMC boot breakage due to driver model conversion

Tom Rini trini at konsulko.com
Wed Jun 5 19:51:32 UTC 2019


On Thu, May 30, 2019 at 07:04:54PM +0530, Sekhar Nori wrote:

> commit 21af33ed0319 ("ARM: davinci: omapl138_lcdk: Enable DM_MMC")
> wanted to enable DM_MMC only for U-Boot and not for SPL.
> 
> But CONFIG_DM_MMC is defined for SPL build too. Because of this
> MMC device was not getting registered for SPL causing MMC/SD
> boot breakage.
> 
> Instead use CONFIG_IS_ENABLED(DM_MMC) which will remain false until
> CONFIG_SPL_DM_MMC is defined.
> 
> Tested-by: Adam Ford <aford173 at gmail.com> #da850evm
> Signed-off-by: Sekhar Nori <nsekhar at ti.com>
> Tested-by: Peter Howard <phoward at gme.net.au> #omapl138_lcdk

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190605/61c55dc8/attachment.sig>


More information about the U-Boot mailing list