summaryrefslogtreecommitdiffstats
path: root/src/fundamental
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2023-01-08 09:07:22 +0100
committerLennart Poettering <lennart@poettering.net>2023-01-09 09:52:55 +0100
commitd84bdadb434c1c07a9dd548f757ada0e2909262f (patch)
treeecb8e424070f46c1647a2daadfc26cee5411af69 /src/fundamental
parentalloc-util: Disallow inlining of expand_to_usable (diff)
downloadsystemd-d84bdadb434c1c07a9dd548f757ada0e2909262f.tar.xz
systemd-d84bdadb434c1c07a9dd548f757ada0e2909262f.zip
boot: Remove option TPM PCR compat option
It says remove in 2023; happy to oblige.
Diffstat (limited to 'src/fundamental')
-rw-r--r--src/fundamental/tpm-pcr.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/fundamental/tpm-pcr.h b/src/fundamental/tpm-pcr.h
index 235d4841b0..d57291328d 100644
--- a/src/fundamental/tpm-pcr.h
+++ b/src/fundamental/tpm-pcr.h
@@ -14,14 +14,6 @@
/* This TPM PCR is where sd-stub extends the kernel command line and any passed credentials into. */
#define TPM_PCR_INDEX_KERNEL_PARAMETERS 12U
-/* sd-stub used to write the kernel command line/credentials into PCR 8, in systemd <= 250. Let's provide for
- * some compatibility. (Remove in 2023!) */
-#if EFI_TPM_PCR_COMPAT
-#define TPM_PCR_INDEX_KERNEL_PARAMETERS_COMPAT 8U
-#else
-#define TPM_PCR_INDEX_KERNEL_PARAMETERS_COMPAT UINT32_MAX
-#endif
-
/* This TPM PCR is where we extend the initrd sysext images into which we pass to the booted kernel */
#define TPM_PCR_INDEX_INITRD_SYSEXTS 13U