From: Tom Rini Date: Tue, 21 Jun 2016 11:45:22 -0400 Subject: [U-Boot] [PATCH] common: Pass the boot device into spl_boot_mode() In-Reply-To: <646af0f3-b0ef-0cd6-948a-ecb7ed9d24c6@biessmann.org> References: <1463262127-8796-1-git-send-email-marex@denx.de> <646af0f3-b0ef-0cd6-948a-ecb7ed9d24c6@biessmann.org> Message-ID: <20160621154522.GC9470@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 Sun, Jun 12, 2016 at 10:20:12PM +0200, Andreas Bie?mann wrote: > On 14.05.16 23:42, Marek Vasut wrote: > > The SPL code already knows which boot device it calls the spl_boot_mode() > > on, so pass that information into the function. This allows the code of > > spl_boot_mode() avoid invokind spl_boot_device() again, but it also lets > > board_boot_order() correctly alter the behavior of the boot process. > > > > The later one is important, since in certain cases, it is desired that > > spl_boot_device() return value be overriden using board_boot_order(). > > > > Signed-off-by: Marek Vasut > > Cc: Andreas Bie?mann > > Cc: Albert Aribaud > > Cc: Tom Rini > > Reviewed-by: Andreas Bie?mann > > There is now another user of spl_boot_device (zynqmp), should be easy to > adopt. > > Tom, do you have any objections that I take this one for 2016.07. This > one is delegated to you but is required by another one delegated to me. Go ahead and pick it up, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: