mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
bloblist: kconfig for mandatory incoming standard passage
In previous commit, incoming standard passage is used by default when initializing the bloblist, so explicitly BLOBLIST_PASSAGE is no more needed. Rename it as BLOBLIST_PASSAGE_MANDATORY to determine the behaviors when an incoming transfer list does not exist or is invalid. When it is selected, incoming standard passage is mandatory and U-Boot will report an error when a valid incoming transfer list is missing. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
This commit is contained in:
parent
6799f09069
commit
03a76b1a73
5 changed files with 21 additions and 11 deletions
|
@ -513,6 +513,13 @@ int bloblist_init(void)
|
|||
*/
|
||||
bool from_addr = fixed && !xpl_is_first_phase();
|
||||
|
||||
/*
|
||||
* If Firmware Handoff is mandatory but no transfer list is
|
||||
* observed, report it as an error.
|
||||
*/
|
||||
if (IS_ENABLED(CONFIG_BLOBLIST_PASSAGE_MANDATORY))
|
||||
return -ENOENT;
|
||||
|
||||
ret = -ENOENT;
|
||||
|
||||
if (xpl_prev_phase() == PHASE_TPL &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue