bootm: Add board specific OS preboot hook
authorMarek Vasut <marex@denx.de>
Thu, 4 Oct 2018 19:16:31 +0000 (21:16 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 10 Oct 2018 17:35:09 +0000 (13:35 -0400)
commitfd3d1212a2cbbcde848dc109d4c2bbfb759f9d4e
treebb810dd6c553ac2223fdfa58d50c7b5df7299208
parent81089a54300df5fa5b4a22e3bf4df6b521438f68
bootm: Add board specific OS preboot hook

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@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
common/bootm_os.c