u-boot-brain/drivers
Miquel Raynal d677bfe2f7 tpm: disociate TPMv1.x specific and generic code
There are no changes in this commit but a new organization of the code
as follow.

* cmd/ directory:
        > move existing code from cmd/tpm.c in cmd/tpm-common.c
	> move specific code in cmd/tpm-v1.c
	> create a specific header file with generic definitions for
	  commands only called cmd/tpm-user-utils.h

* lib/ directory:
        > move existing code from lib/tpm.c in lib/tpm-common.c
	> move specific code in lib/tpm-v1.c
	> create a specific header file with generic definitions for
	  the library itself called lib/tpm-utils.h

* include/ directory:
        > move existing code from include/tpm.h in include/tpm-common.h
	> move specific code in include/tpm-v1.h

Code designated as 'common' is compiled if TPM are used. Code designated
as 'specific' is compiled only if the right specification has been
selected.

All files include tpm-common.h.
Files in cmd/ include tpm-user-utils.h.
Files in lib/ include tpm-utils.h.
Depending on the specification, files may include either (not both)
tpm-v1.h or tpm-v2.h.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
[trini: Fix a few more cases of tpm.h -> tpm-v1.h, some Kconfig logic]
Signed-off-by: Tom Rini <trini@konsulko.com>
2018-05-25 20:12:55 -04:00
..
adc adc: add Amlogic Meson SAR ADC driver 2018-05-08 09:07:40 -04:00
ata scsi: ceva: Convert driver to use UCLASS_AHCI instead of SCSI 2018-05-11 09:23:43 +02:00
bios_emulator SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
block SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bootcount SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
clk clk: at91: clk-h32mx: replace dm_warn with dev_dbg 2018-05-23 17:30:03 -04:00
core regmap: add regmap_update_bits() helper 2018-05-08 09:07:40 -04:00
cpu SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crypto SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr SPDX: Fixup SPDX tags in a few new files 2018-05-20 09:47:45 -04:00
demo SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dfu SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dma SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
firmware SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fpga SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gpio gpio: atmel_pio4: give a full configuration when muxing pins 2018-05-08 09:07:36 -04:00
i2c i2c: Drop CONFIG_SH_SH7734_I2C 2018-05-23 17:30:04 -04:00
input SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
led dm: led: auto probe() LEDs with "default-state" 2018-05-08 09:07:33 -04:00
mailbox SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
memory SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc gdsys: drivers: Add gdsys_rxaui_ctrl driver 2018-05-08 18:50:23 -04:00
mmc Patch queue for rpi - 2018-05-24 2018-05-24 09:54:14 -04:00
mtd Merge git://git.denx.de/u-boot-tegra 2018-05-11 15:22:36 -04:00
net net: Drop CONFIG_TSI108_ETH 2018-05-23 17:30:03 -04:00
nvme SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pch SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pci pci: tegra: introduce weak tegra_pcie_board_port_reset() function 2018-05-10 16:34:21 -07:00
pcmcia SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
phy SPDX: Fixup SPDX tags in a few new files 2018-05-20 09:47:45 -04:00
pinctrl pinctrl: do not set_state for device without valid ofnode 2018-05-16 00:25:19 -06:00
power sandbox: Rewrite i2c_pmic_emul.c to support PMIC with 3 bytes transmission 2018-05-18 08:27:26 +02:00
pwm pwm: sunxi: add support for PWM found on Allwinner A64 2018-05-15 08:18:09 +02:00
qe SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ram regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
remoteproc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reset regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
rtc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
scsi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
serial serial/serial_arc: Implement debug serial 2018-05-24 15:59:17 +03:00
soc SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sound SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spi spi: mvebu_a3700_spi: Use Armada 37xx clk driver for SPI clock frequency 2018-05-14 10:00:15 +02:00
spmi SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sysreset regmap: clean up regmap allocation 2018-05-07 15:15:27 -04:00
thermal SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
timer timer: Add Cadence TTC timer counter support 2018-05-11 09:23:43 +02:00
tpm tpm: disociate TPMv1.x specific and generic code 2018-05-25 20:12:55 -04:00
usb drivers: usb: dwc3: remove devm_zalloc from linux_compact 2018-05-18 13:37:02 +02:00
video video: dw_hdmi: fix HSYNC and VSYNC polarity settings 2018-05-15 08:03:42 +02:00
watchdog watchdog: Add support for Armada 37xx CPU watchdog 2018-05-14 10:00:15 +02:00
Kconfig bootcount: add support for bootcounter on EXT filesystem 2017-11-20 09:58:31 +01:00
Makefile bootcount: spl: Enable bootcount support in SPL 2018-05-10 20:37:05 -04:00