diff options
author | Pali Rohár <pali@kernel.org> | 2021-07-23 11:14:28 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-07-31 09:49:32 +0200 |
commit | 9baab60b805472c0911ceabfcd991d59c92b3ddd (patch) | |
tree | 70098c45167047ec4696fb9f5dbd18d91f3ef4b5 /test/dm/pci.c | |
parent | 5fce2875569d6e859443af7af3477c3aebfee383 (diff) |
SPL: Add support for parsing board / BootROM specific image types
Platform specific BootROM may use its own image type for loading SPL or
U-Boot proper. In some cases it makes sense to not use BootROM supplied
code for booting U-Boot proper but rather to use U-Boot SPL for this,
e.g. when U-Boot SPL can load U-Boot proper faster than BootROM. In this
case it is required for platform board code to parse and load U-Boot in
BootROM specific image type.
This change adds support for parsing platform / board / BootROM specific
image types via weak function spl_parse_board_header() which is called
before marking boot image as a raw.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'test/dm/pci.c')
0 files changed, 0 insertions, 0 deletions