From: Tom Rini Date: Wed, 5 Jun 2019 15:51:32 -0400 Subject: [U-Boot] [PATCH v3 1/2] ARM: davinci: omal138_lcdk: fix MMC boot breakage due to driver model conversion In-Reply-To: <20190530133455.24926-2-nsekhar@ti.com> References: <20190530133455.24926-1-nsekhar@ti.com> <20190530133455.24926-2-nsekhar@ti.com> Message-ID: <20190605195132.GL10942@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 #da850evm > Signed-off-by: Sekhar Nori > Tested-by: Peter Howard #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: