]> git.baikalelectronics.ru Git - uboot.git/commit
SPL: Add support for checking board / BootROM specific image types
authorPali Rohár <pali@kernel.org>
Fri, 14 Jan 2022 13:31:40 +0000 (14:31 +0100)
committerStefan Roese <sr@denx.de>
Thu, 20 Jan 2022 10:35:29 +0000 (11:35 +0100)
commitc1a3853d7c5bb5e6b3da205fe667ad96f59564e7
tree7c6653fefb63765aed6f7dde8686b096e2d6c294
parentcea86a260cc8a9072101df49f02a61d5b39ea6c4
SPL: Add support for checking board / BootROM specific image types

Commit 62f3796e6140 ("SPL: Add support for parsing board / BootROM specific
image types") added support for loading board specific image types.

This commit adds support for a new weak function spl_parse_board_header()
which is called after loading boot image. Board may implement this function
for checking if loaded board specific image is valid.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
common/spl/spl.c