From: Tom Rini Date: Sat, 8 Apr 2017 21:14:09 -0400 Subject: [U-Boot] env_mmc: Allow SPL to use any MMC device to load/save the environment In-Reply-To: <1485944813-32491-1-git-send-email-jjhiblot@ti.com> References: <1485944813-32491-1-git-send-email-jjhiblot@ti.com> Message-ID: <20170409011409.GY19897@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 Wed, Feb 01, 2017 at 11:26:53AM +0100, Jean-Jacques Hiblot wrote: > SPL has been restricted to use only dev 0 based on the assumption that only > one MMC device is registered. This is not always the case and many > platforms now register several devices as expected by the spl mmc boot code > For those platform SPL_ENV_SUPPORT is broken if dev is forced to 0. > > A word of warning: this commit may break SPL_ENV_SUPPORT on platforms that > do not register the same MMC controllers in SPL and in u-boot (mostly iMX6 > based platforms). Fortunately none of those activate SPL_ENV_SUPPORT in > their default configuration. > > Signed-off-by: Jean-Jacques Hiblot 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: Digital signature URL: