u-boot/drivers
Tom Rini f10905b4b7 TPM auto startup and testing
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEgWII69YpahbL5iK5gS8AYozs+qIFAmP9sq4ACgkQgS8AYozs
 +qJ0tA//T46yeQ5H33yCxOTlNOwvtqfYWc4zQhJsTHkrXx9vdqW/Woz2GGxhADac
 MVe1RyqHwWKymyNKCyi8nZIYdkpzaGutUhaCK4S8iddnL9A15oe3jxNtvrVfmvZw
 jHPgJUrYdDvX0SoJy5xcRaxiO48+ja005ILw7H2zS+/vR7lQPJQJ1IuHStKCny6j
 uYksHFcFK+qRscWjKGNdgcZLjQNpBIcigyGYPOxJ0swIDmZd84vSFoOG5p48QpAu
 yo6VCnGgtaDKGOBPBICzyCw7J7a4zt3hM2mQ6xMI66IEBLpHwA999RSl1Gxtxhzz
 3QG5Ore6E6hmkZk++jiA5VVhkX5ZpmoMDY2SiveCLyjknhKIwY5/lOmVn/kPAwHt
 jAUbagf1ntrFnTum8OFtyg7skAmTckmZzaf4OuUhtrD3710dfdZ0dPuFxFDXRfTX
 yLZaprwI+M8ziXbw1/Ao5iMx8ck5zGVn+mOBawYx/x/h5X76BxqqzPBExzQ+Qj6E
 UgWKccPxVvbDENB2EZY05j3/JylGGU2Sxn2idu+UPXkfZRO/9CQKGiLmmhQ/aX4C
 zAREx0/XSux/lkas9yXVjJXnvTCBcAbiu24MlTZDLdOQK+kGSIBY9yA+9fAxWtFG
 33npVegUjMG+EPqpntVHPS/NuFOxuNu/X7kk2ievjsCPnLkVpts=
 =6a0G
 -----END PGP SIGNATURE-----

Merge tag 'tpm-next-28022023' of https://source.denx.de/u-boot/custodians/u-boot-tpm into next

TPM auto startup and testing:

Due to U-Boot's lazy binding we always relied on command line tools to
initialize the TPM subsystem and devices.  One exception is the EFI
subsystem.  When compiled with TCG2 measured boot support the TPM was
automatically initialized.

However that init was not complete.  The TCG specs [0] (and specifically
§12.3 Self-test modes) describe how self-tests on the device should be
performed.  This PR is adding an extra API function, that can be used to
initialize the TPM2.0 properly.

Simon added the equivalent for TPM1.2 and refactored the DM tests to
include the new funtion.

[0] https://trustedcomputinggroup.org/wp-content/uploads/TPM-Rev-2.0-Part-1-Architecture-01.07-2014-03-13.pdf
2023-02-28 09:50:16 -05:00
..
adc adc: stm32mp15: add calibration support 2023-01-12 16:25:51 +01:00
ata ata: Don't try to use non-existent ports 2023-01-23 18:11:40 -05:00
axi WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
bios_emulator video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
block bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
bootcount global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
bus bus: Optionally include TI sysc driver in SPL/TPL 2022-12-02 08:39:00 -05:00
button dm: button: add support for linux_code in button-gpio.c driver 2023-02-10 12:50:01 -05:00
cache driver: cache-v5l2: Fix type casting warning on RV32 2023-02-17 19:07:48 +08:00
clk clk: uniphier: Add missing USB SS-PHY clocks 2023-02-22 19:40:11 +01:00
core dm: treewide: Complete migration to new driver model schema 2023-02-14 09:43:27 -07:00
cpu event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
crypto Correct SPL uses of HW_WATCHDOG 2023-02-10 07:41:39 -05:00
ddr ddr: imx: Handle both 3733 and 3732 MTps rates 2023-01-30 21:02:27 +01:00
demo demo: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
dfu blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
dma ddr: fsl: Remove CONFIG_MEM_INIT_VALUE 2022-12-22 10:31:48 -05:00
fastboot Correct SPL uses of FASTBOOT_FLASH_NAND 2023-02-10 07:41:41 -05:00
firmware firmware: ti_sci: fix typo in boot authentication message name 2023-01-18 13:11:13 -05:00
fpga fpga: Add a FPGA_STRATIX_II option 2023-02-07 14:33:48 -05:00
fuzz sandbox: Implement fuzzing engine driver 2022-06-23 12:58:19 -04:00
fwu-mdata FWU: Add FWU metadata access driver for GPT partitioned block devices 2022-10-31 14:47:32 -04:00
gpio Merge branch 'for-2023.04' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx 2023-02-12 15:25:09 -05:00
hwspinlock treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
i2c i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree 2023-02-13 09:58:27 +01:00
input dm: input: add button_kbd driver 2023-02-10 13:41:06 -05:00
iommu iommu: Implement mapping IOMMUs for PCI devices 2023-01-27 14:47:58 -05:00
led led: led_pwm: typo 'iverted' on code comment 2022-11-02 13:58:17 -04:00
mailbox mailbox: zynqmp: Enable ipi mailbox driver for Versal NET 2022-09-26 14:23:29 +02:00
memory memory: atmel-ebi: add Atmel EBI (External Bus Interface) driver 2022-12-08 18:06:27 +02:00
mfd mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00
misc Correct SPL use of A003399_NOR_WORKAROUND 2023-02-09 16:32:25 -05:00
mmc Correct SPL use of SUPPORT_EMMC_RPMB 2023-02-10 07:41:40 -05:00
mtd mtd: nand: Show reserved block in chip.erase 2023-02-27 16:30:13 +01:00
mux treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
net cpsw_mdio.c: Use correct reg in cpsw_mdio_get_alive 2023-02-17 10:49:41 -05:00
nvme bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
pch treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
pci sh4: Drop unused pci_sh7780 driver 2023-02-07 14:33:49 -05:00
pci_endpoint dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
phy phy: socionext: Add UniPhier USB3 PHY driver 2023-02-22 19:40:11 +01:00
pinctrl Correct SPL use of ATMEL_PIO4 2023-02-10 08:22:52 -05:00
power power: Drop unused muic_max8997 driver 2023-02-07 14:33:49 -05:00
pwm ARM: tegra: Fix Tegra PWM parent clock 2023-02-23 12:55:36 -07:00
qe global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
ram global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
reboot-mode reboot-mode: Add NVMEM reboot mode 2023-01-11 11:54:50 -05:00
remoteproc remoteproc: ipu: Add driver to bring up ipu 2022-02-08 11:00:03 -05:00
reset reset: uniphier: Add USB glue reset support 2023-02-22 19:40:11 +01:00
rng drivers: rng: optee_rng: register to CONFIG_OPTEE_SERVICE_DISCOVERY 2022-09-14 15:23:03 -04:00
rtc rtc: Drop old and unused drivers 2023-02-07 14:33:49 -05:00
scsi bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
serial Correct SPL uses of OF_BOARD 2023-02-10 07:41:41 -05:00
smem smem: msm: add missing <linux/sizes.h> 2022-10-12 08:56:24 -04:00
soc soc: zynqmp: Fix IDcode for xck24 2023-01-24 13:55:05 +01:00
sound test: test sandbox sound driver more rigorously 2022-12-05 17:43:21 +01:00
spi spi: tegra20_slink: accept any word length 2023-02-23 12:55:36 -07:00
spmi spmi: msm: add arbiter version 5 support 2021-10-31 08:46:44 -04:00
sysinfo dm: core: Switch uclass_*_device_err to use uclass_*_device_check 2022-10-29 07:36:33 -06:00
sysreset Correct SPL uses of DISPLAY_AER_BRIEF 2023-02-10 07:41:41 -05:00
tee tee: optee: fix uuid comparisons on service discovery 2023-01-20 10:04:56 +02:00
thermal thermal: add sandbox driver 2022-10-11 16:03:03 -04:00
timer timer: Tidy up use of notrace 2023-02-11 12:22:34 -05:00
tpm tpm: sandbox: Change the return code when device is already open 2023-02-28 09:44:25 +02:00
ufs global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
usb Prepare v2023.04-rc3 2023-02-27 17:28:21 -05:00
video dm: treewide: Complete migration to new driver model schema 2023-02-14 09:43:27 -07:00
virtio bootstd: Correct virtio block-device handling 2023-02-06 13:04:53 -05:00
w1 dm: treewide: Do not use the return value of simple uclass iterator 2022-10-29 07:36:33 -06:00
w1-eeprom dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
watchdog watchdog: Clean up defaults for imx_watchdog / ulp_wdog 2023-01-20 12:27:23 -05:00
xen Correct SPL uses of XEN_SERIAL 2023-02-10 07:41:41 -05:00
Kconfig mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00
Makefile omap: Drop unused CONFIG_OMAP_USB_PHY 2023-02-07 14:33:49 -05:00