bootm: provide handlers the start of the OS image
The bootm code needs to read the beginning of the OS image in order to
determine the filetype. If it does so already, then we can provide the
handlers the buffer. This can help the handlers to find some image
metadata before loading the full image.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d4ff9c4 commit d5e19a7ea2a9cdb156677ce957183a8c8b5a2fe5
@Sascha Hauer Sascha Hauer authored on 14 Mar 2018
Showing 2 changed files
View
common/bootm.c
View
include/bootm.h