8ad93797d6
We would like to have an easy way to completely disable TPM support on a board. For boards that don't pre-select a TPM protocol via the MAINBOARD_HAS_TPMx options, this is already possible with the USER_NO_TPM option. In order to make this available for all boards, this patch just removes the whole USER_TPMx option group and directly makes the TPM1 and TPM2 options visible to menuconfig. The MAINBOARD_HAS_TPMx options can still be used to select defaults and to prevent selection of a protocol that the TPM is known to not support, but the NO_TPM option always remains available. Also fix some mainboards that selected TPM2 directly, which they're not supposed to do (that's what MAINBOARD_HAS_TPM2 is for), and add a missing dependency to TPM_CR50 so it is set correctly for a NO_TPM scenario. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: Ib0a73da3c42fa4e8deffecb53f29ee38cbb51a93 Reviewed-on: https://review.coreboot.org/c/coreboot/+/54641 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Christian Walter <christian.walter@9elements.com> |
||
---|---|---|
.. | ||
builder | ||
config.asrock_b85m_pro4.debug_smmstore_hotplug_gcov_ubsan_em100 | ||
config.asrock_b85m_pro4.tpm2_txt_placeholder_acms | ||
config.asus_p2b_ramdebug | ||
config.asus_p8z77-v_lx2.debug_smmstore_hotplug_yabel_em100 | ||
config.cavium_cn8100_sff_evb_bdk_verbose_fit_payload_support | ||
config.dell_optiplex_9010_sff | ||
config.emulation_qemu_aarch64_fit_support_timestamps | ||
config.emulation_qemu_riscv_rv64 | ||
config.emulation_qemu_x86_i440fx | ||
config.emulation_qemu_x86_i440fx_asan | ||
config.emulation_qemu_x86_i440fx_debug | ||
config.emulation_qemu_x86_i440fx_noserial | ||
config.emulation_qemu_x86_i440fx_x86_64 | ||
config.emulation_qemu_x86_q35_smm_tseg | ||
config.facebook_fbg1701.mboot_vboot | ||
config.gigabyte_ga-g41m-es2l | ||
config.google_kevin_secdata_mock | ||
config.google_meep_cros | ||
config.google_octopus_spi_flash_console | ||
config.google_reef_cros | ||
config.google_volteer.build_test_purposes | ||
config.intel_coffeelake_rvp11.fsp_car | ||
config.intel_galileo_gen1 | ||
config.intel_galileo_gen2 | ||
config.intel_galileo_gen2.debug | ||
config.intel_galileo_gen2.fsp2.0 | ||
config.intel_galileo_gen2.sd | ||
config.intel_galileo_gen2.vboot | ||
config.intel_harcuvar | ||
config.lenovo_t400_vboot_and_debug | ||
config.lenovo_t420_static_option_table_no_mem_fuses | ||
config.lenovo_thinkpad_t430_all_debug_and_option_table | ||
config.lenovo_x201_all_debug_option_table_bt_on_wifi | ||
config.lenovo_x220_mrc_bin | ||
config.lenovo_x220_option_table_debug_tpm_extended_cbfs | ||
config.libretrend_lt1000 | ||
config.ocp_tiogapass | ||
config.pcengines_apu1 | ||
config.pcengines_apu2 | ||
config.pcengines_apu3 | ||
config.pcengines_apu4 | ||
config.pcengines_apu5 | ||
config.portwell_m107.debug_smmstore_oxpcie_em100spi | ||
config.purism_librem15_v4.txt_build_test | ||
config.purism_librem15_v4_stm | ||
config.scaleway_tagada | ||
config.system76_gaze15 | ||
config.system76_lemp9 | ||
config.system76_oryp5 | ||
config.up_squared.vboot_spi_flash_console |