mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-15 17:34:43 +00:00
efi_selftest: can't have measured device-tree with kaslr-seed
Test that we don't have a /chosen/kaslr-seed property if we measure the device-tree. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
a5e31659cf
commit
b94217adc9
1 changed files with 7 additions and 0 deletions
|
@ -227,6 +227,13 @@ static int execute(void)
|
|||
return EFI_ST_FAILURE;
|
||||
}
|
||||
}
|
||||
if (IS_ENABLED(CONFIG_EFI_TCG2_PROTOCOL_MEASURE_DTB)) {
|
||||
str = get_property(u"kaslr-seed", u"chosen");
|
||||
if (str) {
|
||||
efi_st_error("kaslr-seed with measured fdt\n");
|
||||
return EFI_ST_FAILURE;
|
||||
}
|
||||
}
|
||||
if (IS_ENABLED(CONFIG_RISCV)) {
|
||||
u32 fdt_hartid;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue