Skip to content
Commit 9c4e5fe3 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

Platform/DeveloperBox: omit TPM from DT when building without TPM support



The recently added support for TPM2 measured boot added a description of
the TPM to the device tree, but failed to take the build configuration
into account, and so it adds it unconditionally.

Fix this, by #define'ing a TPM2_ENABLE CPP macro that can be referenced
in the device tree source file.

Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: default avatarLeif Lindholm <leif@nuviainc.com>
parent 4a73a969
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment