mirror of
https://github.com/utmapp/qemu.git
synced 2026-05-26 13:51:06 +00:00
sysbus-fdt: falsely claim TPM CRB device is TPM TIS
OVMF firmware is hard coded to recognize a TPM TIS device. If we lie, the code will properly detect that it is a CRB device. In Linux, this will cause the device to be not recognized properly but the separate ACPI device will cause it to work regardless.
This commit is contained in:
@@ -493,7 +493,7 @@ static const BindingEntry bindings[] = {
|
||||
#endif
|
||||
#ifdef CONFIG_TPM
|
||||
TYPE_BINDING(TYPE_TPM_TIS_SYSBUS, add_tpm_tis_fdt_node),
|
||||
TYPE_BINDING(TYPE_TPM_CRB_SYSBUS, no_fdt_node),
|
||||
TYPE_BINDING(TYPE_TPM_CRB_SYSBUS, add_tpm_tis_fdt_node),
|
||||
#endif
|
||||
TYPE_BINDING(TYPE_RAMFB_DEVICE, no_fdt_node),
|
||||
TYPE_BINDING("", NULL), /* last element */
|
||||
|
||||
Reference in New Issue
Block a user