[U-Boot] [PATCH] bootm: Add board specific OS preboot hook

Tom Rini trini at konsulko.com
Mon Oct 8 12:33:05 UTC 2018


On Mon, Oct 08, 2018 at 01:39:44PM +0200, Marek Vasut wrote:
> On 10/08/2018 01:34 PM, Christian Gmeiner wrote:
> > Am Do., 4. Okt. 2018 um 21:16 Uhr schrieb Marek Vasut <marex at denx.de>:
> >>
> >> Add board-specific hook which is executed before the code hands over
> >> control to the OS. This lets the board perform some last-minute clean
> >> ups.
> >>
> >> Signed-off-by: Marek Vasut <marex at denx.de>
> >> Cc: Tom Rini <trini at konsulko.com>
> > 
> > Copy of https://patchwork.ozlabs.org/patch/956942/ ?
> 
> Wow, the patch is almost identical, except for the position of the
> board_preboot_os() :-) ... which is no surprise, given it's almost a
> verbatim copy of arch_preboot_os().
> 
> I'd prefer board after arch though, so the board can have the last word
> before boot.

Agreed, and that's the usual flow too.  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/20181008/e4278386/attachment.sig>


More information about the U-Boot mailing list