baytrail: broadwell: correct refcode loading
I messed up the conditionals on loading the reference code. The bug used || instead of && causing 2 reference codes to be loaded. Change-Id: I29a046bf0e8dc29a9efdb636ebfd04e11eb73f82 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/10185 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
09560facd4
commit
797ca1b712
|
@ -112,7 +112,7 @@ static efi_wrapper_entry_t load_reference_code(void)
|
|||
return load_refcode_from_cache();
|
||||
}
|
||||
|
||||
if (load_refcode_from_vboot(&refcode) ||
|
||||
if (load_refcode_from_vboot(&refcode) &&
|
||||
load_refcode_from_cbfs(&refcode))
|
||||
return NULL;
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ static pei_wrapper_entry_t load_reference_code(void)
|
|||
return load_refcode_from_cache();
|
||||
}
|
||||
|
||||
if (load_refcode_from_vboot(&refcode) ||
|
||||
if (load_refcode_from_vboot(&refcode) &&
|
||||
load_refcode_from_cbfs(&refcode))
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue