2019-01-23 09:56:00 +03:00
|
|
|
config ARM_VIRT
|
|
|
|
bool
|
2024-01-25 15:36:37 +03:00
|
|
|
default y
|
|
|
|
depends on ARM
|
2019-02-08 09:17:55 +03:00
|
|
|
imply PCI_DEVICES
|
|
|
|
imply TEST_DEVICES
|
|
|
|
imply VFIO_AMD_XGBE
|
2019-01-23 09:56:01 +03:00
|
|
|
imply VFIO_PLATFORM
|
2019-02-08 09:17:55 +03:00
|
|
|
imply VFIO_XGMAC
|
2020-03-05 19:51:45 +03:00
|
|
|
imply TPM_TIS_SYSBUS
|
tpm: Add support for TPM device over I2C bus
Qemu already supports devices attached to ISA and sysbus. This drop adds
support for the I2C bus attached TPM devices. I2C model only supports
TPM2 protocol.
This commit includes changes for the common code.
- Added I2C emulation model. Logic was added in the model to temporarily
cache the data as I2C interface works per byte basis.
- New tpm type "tpm-tis-i2c" added for I2C support. The user has to
provide this string on command line.
Testing:
TPM I2C device module is tested using SWTPM (software based TPM
package). Qemu uses the rainier machine and is connected to swtpm over
the socket interface.
The command to start swtpm is as follows:
$ swtpm socket --tpmstate dir=/tmp/mytpm1 \
--ctrl type=unixio,path=/tmp/mytpm1/swtpm-sock \
--tpm2 --log level=100
The command to start qemu is as follows:
$ qemu-system-arm -M rainier-bmc -nographic \
-kernel ${IMAGEPATH}/fitImage-linux.bin \
-dtb ${IMAGEPATH}/aspeed-bmc-ibm-rainier.dtb \
-initrd ${IMAGEPATH}/obmc-phosphor-initramfs.rootfs.cpio.xz \
-drive file=${IMAGEPATH}/obmc-phosphor-image.rootfs.wic.qcow2,if=sd,index=2 \
-net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443 \
-chardev socket,id=chrtpm,path=/tmp/mytpm1/swtpm-sock \
-tpmdev emulator,id=tpm0,chardev=chrtpm \
-device tpm-tis-i2c,tpmdev=tpm0,bus=aspeed.i2c.bus.12,address=0x2e
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Tested-by: Joel Stanley <joel@jms.id.au>
Message-id: 20230414220754.1191476-4-ninadpalsule@us.ibm.com
2023-04-15 01:07:54 +03:00
|
|
|
imply TPM_TIS_I2C
|
2021-05-11 18:53:50 +03:00
|
|
|
imply NVDIMM
|
2023-11-21 11:44:18 +03:00
|
|
|
imply IOMMUFD
|
2020-11-17 15:56:32 +03:00
|
|
|
select ARM_GIC
|
2019-02-08 09:17:55 +03:00
|
|
|
select ACPI
|
|
|
|
select ARM_SMMUV3
|
|
|
|
select GPIO_KEY
|
2024-04-30 22:08:15 +03:00
|
|
|
select DEVICE_TREE
|
2019-02-08 09:17:55 +03:00
|
|
|
select FW_CFG_DMA
|
|
|
|
select PCI_EXPRESS
|
|
|
|
select PCI_EXPRESS_GENERIC_BRIDGE
|
|
|
|
select PFLASH_CFI01
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2019-02-08 09:17:55 +03:00
|
|
|
select PL031 # RTC
|
|
|
|
select PL061 # GPIO
|
2021-01-28 15:00:11 +03:00
|
|
|
select GPIO_PWR
|
2019-02-08 09:17:55 +03:00
|
|
|
select PLATFORM_BUS
|
|
|
|
select SMBIOS
|
|
|
|
select VIRTIO_MMIO
|
2019-05-21 09:28:35 +03:00
|
|
|
select ACPI_PCI
|
2019-09-18 16:06:26 +03:00
|
|
|
select MEM_DEVICE
|
|
|
|
select DIMM
|
2019-09-18 16:06:27 +03:00
|
|
|
select ACPI_HW_REDUCED
|
2020-10-08 19:14:14 +03:00
|
|
|
select ACPI_APEI
|
2021-12-10 20:04:09 +03:00
|
|
|
select ACPI_VIOT
|
2022-01-11 09:33:29 +03:00
|
|
|
select VIRTIO_MEM_SUPPORTED
|
2022-04-29 17:40:54 +03:00
|
|
|
select ACPI_CXL
|
2022-10-27 13:00:35 +03:00
|
|
|
select ACPI_HMAT
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2019-02-08 12:18:15 +03:00
|
|
|
config CUBIEBOARD
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-08 12:18:15 +03:00
|
|
|
select ALLWINNER_A10
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config DIGIC
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-01-23 09:56:12 +03:00
|
|
|
select PTIMER
|
2019-02-08 12:55:38 +03:00
|
|
|
select PFLASH_CFI02
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config EXYNOS4
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2019-02-07 12:28:01 +03:00
|
|
|
select A9MPCORE
|
|
|
|
select I2C
|
|
|
|
select LAN9118
|
|
|
|
select PL310 # cache controller
|
2019-01-23 09:56:12 +03:00
|
|
|
select PTIMER
|
2019-02-07 12:28:01 +03:00
|
|
|
select SDHCI
|
|
|
|
select USB_EHCI_SYSBUS
|
2021-01-31 21:44:45 +03:00
|
|
|
select OR_IRQ
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config HIGHBANK
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-07 12:35:22 +03:00
|
|
|
select A9MPCORE
|
|
|
|
select A15MPCORE
|
|
|
|
select AHCI
|
|
|
|
select ARM_TIMER # sp804
|
|
|
|
select ARM_V7M
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2020-06-17 10:25:36 +03:00
|
|
|
select PL022 # SPI
|
2019-02-07 12:35:22 +03:00
|
|
|
select PL031 # RTC
|
|
|
|
select PL061 # GPIO
|
|
|
|
select PL310 # cache controller
|
|
|
|
select XGMAC # ethernet
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config INTEGRATOR
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-07 17:21:27 +03:00
|
|
|
select ARM_TIMER
|
|
|
|
select INTEGRATOR_DEBUG
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2019-02-07 17:21:27 +03:00
|
|
|
select PL031 # RTC
|
2020-02-24 02:30:32 +03:00
|
|
|
select PL041 # audio
|
2019-02-07 17:21:27 +03:00
|
|
|
select PL050 # keyboard/mouse
|
|
|
|
select PL110 # pl111 LCD controller
|
|
|
|
select PL181 # display
|
|
|
|
select SMC91C111
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2024-02-06 16:29:26 +03:00
|
|
|
config MPS3R
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
|
|
|
|
2019-02-22 21:09:51 +03:00
|
|
|
config MUSCA
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-22 21:09:51 +03:00
|
|
|
select ARMSSE
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2019-02-22 21:09:51 +03:00
|
|
|
select PL031
|
2019-05-14 11:24:28 +03:00
|
|
|
select SPLIT_IRQ
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2019-02-22 21:09:51 +03:00
|
|
|
|
2022-01-07 21:44:27 +03:00
|
|
|
config MARVELL_88W8618
|
|
|
|
bool
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config MUSICPAL
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2020-11-07 22:34:02 +03:00
|
|
|
select OR_IRQ
|
2019-02-07 19:05:38 +03:00
|
|
|
select BITBANG_I2C
|
|
|
|
select MARVELL_88W8618
|
2019-01-23 09:56:12 +03:00
|
|
|
select PTIMER
|
2019-02-07 19:05:38 +03:00
|
|
|
select PFLASH_CFI02
|
2024-09-05 10:38:32 +03:00
|
|
|
select SERIAL_MM
|
2019-02-07 19:05:38 +03:00
|
|
|
select WM8750
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config NETDUINO2
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-08 10:52:57 +03:00
|
|
|
select STM32F205_SOC
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2020-01-17 17:09:29 +03:00
|
|
|
config NETDUINOPLUS2
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2020-01-17 17:09:29 +03:00
|
|
|
select STM32F405_SOC
|
|
|
|
|
2022-12-30 17:57:33 +03:00
|
|
|
config OLIMEX_STM32_H405
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2022-12-30 17:57:33 +03:00
|
|
|
select STM32F405_SOC
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config OMAP
|
|
|
|
bool
|
2019-02-07 19:12:14 +03:00
|
|
|
select FRAMEBUFFER
|
|
|
|
select I2C
|
|
|
|
select ECC
|
|
|
|
select NAND
|
|
|
|
select PFLASH_CFI01
|
|
|
|
select SD
|
2024-09-05 10:38:32 +03:00
|
|
|
select SERIAL_MM
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config REALVIEW
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-07 22:05:05 +03:00
|
|
|
imply PCI_DEVICES
|
|
|
|
imply PCI_TESTDEV
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2019-02-07 22:05:05 +03:00
|
|
|
select SMC91C111
|
|
|
|
select LAN9118
|
|
|
|
select A9MPCORE
|
|
|
|
select A15MPCORE
|
|
|
|
select ARM11MPCORE
|
|
|
|
select ARM_TIMER
|
|
|
|
select VERSATILE_PCI
|
|
|
|
select WM8750 # audio codec
|
|
|
|
select LSI_SCSI_PCI
|
|
|
|
select PCI
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2019-02-07 22:05:05 +03:00
|
|
|
select PL031 # RTC
|
|
|
|
select PL041 # audio codec
|
|
|
|
select PL050 # keyboard/mouse
|
|
|
|
select PL061 # GPIO
|
|
|
|
select PL080 # DMA controller
|
|
|
|
select PL110
|
|
|
|
select PL181 # display
|
|
|
|
select PL310 # cache controller
|
2023-01-10 11:25:08 +03:00
|
|
|
select ARM_SBCON_I2C
|
2019-02-07 22:05:05 +03:00
|
|
|
select DS1338 # I2C RTC+NVRAM
|
2024-02-23 15:44:05 +03:00
|
|
|
select USB_OHCI_SYSBUS
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2019-07-01 19:26:18 +03:00
|
|
|
config SBSA_REF
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && AARCH64
|
2019-07-01 19:26:18 +03:00
|
|
|
imply PCI_DEVICES
|
2024-04-30 22:08:15 +03:00
|
|
|
select DEVICE_TREE
|
2019-07-01 19:26:18 +03:00
|
|
|
select AHCI
|
|
|
|
select ARM_SMMUV3
|
|
|
|
select GPIO_KEY
|
|
|
|
select PCI_EXPRESS
|
|
|
|
select PCI_EXPRESS_GENERIC_BRIDGE
|
|
|
|
select PFLASH_CFI01
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2019-07-01 19:26:18 +03:00
|
|
|
select PL031 # RTC
|
|
|
|
select PL061 # GPIO
|
2023-07-04 16:08:47 +03:00
|
|
|
select USB_XHCI_SYSBUS
|
2020-10-27 04:59:26 +03:00
|
|
|
select WDT_SBSA
|
2023-06-07 12:21:12 +03:00
|
|
|
select BOCHS_DISPLAY
|
2024-02-20 11:55:00 +03:00
|
|
|
select IDE_BUS
|
|
|
|
select IDE_DEV
|
2019-07-01 19:26:18 +03:00
|
|
|
|
2019-02-08 13:28:13 +03:00
|
|
|
config SABRELITE
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-08 13:28:13 +03:00
|
|
|
select FSL_IMX6
|
|
|
|
select SSI_M25P80
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config STELLARIS
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2019-02-07 19:33:50 +03:00
|
|
|
select ARM_V7M
|
|
|
|
select CMSDK_APB_WATCHDOG
|
|
|
|
select I2C
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2020-06-17 10:25:36 +03:00
|
|
|
select PL022 # SPI
|
2019-02-07 19:33:50 +03:00
|
|
|
select PL061 # GPIO
|
|
|
|
select SSD0303 # OLED display
|
|
|
|
select SSD0323 # OLED display
|
|
|
|
select SSI_SD
|
2023-10-30 14:47:57 +03:00
|
|
|
select STELLARIS_GAMEPAD
|
2019-02-07 19:33:50 +03:00
|
|
|
select STELLARIS_ENET # ethernet
|
2021-08-12 12:33:54 +03:00
|
|
|
select STELLARIS_GPTM # general purpose timer module
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2021-06-17 19:56:45 +03:00
|
|
|
config STM32VLDISCOVERY
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2021-06-17 19:56:45 +03:00
|
|
|
select STM32F100_SOC
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config STRONGARM
|
|
|
|
bool
|
2024-09-03 19:07:11 +03:00
|
|
|
select PXA2XX_TIMER
|
|
|
|
select SSI
|
2019-02-08 08:39:48 +03:00
|
|
|
|
|
|
|
config COLLIE
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-08 08:39:48 +03:00
|
|
|
select PFLASH_CFI01
|
2024-09-03 19:07:05 +03:00
|
|
|
select ZAURUS_SCOOP
|
2019-02-08 08:39:48 +03:00
|
|
|
select STRONGARM
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2019-02-07 19:12:14 +03:00
|
|
|
config SX1
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-07 19:12:14 +03:00
|
|
|
select OMAP
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config VERSATILE
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-07 22:05:05 +03:00
|
|
|
select ARM_TIMER # sp804
|
|
|
|
select PFLASH_CFI01
|
|
|
|
select LSI_SCSI_PCI
|
|
|
|
select PL050 # keyboard/mouse
|
|
|
|
select PL080 # DMA controller
|
|
|
|
select PL190 # Vector PIC
|
|
|
|
select REALVIEW
|
2024-02-23 15:44:05 +03:00
|
|
|
select USB_OHCI_SYSBUS
|
2019-02-07 22:05:05 +03:00
|
|
|
|
|
|
|
config VEXPRESS
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2024-04-30 22:08:15 +03:00
|
|
|
select DEVICE_TREE
|
2019-02-07 22:05:05 +03:00
|
|
|
select A9MPCORE
|
|
|
|
select A15MPCORE
|
|
|
|
select ARM_MPTIMER
|
|
|
|
select ARM_TIMER # sp804
|
|
|
|
select LAN9118
|
|
|
|
select PFLASH_CFI01
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2019-02-07 22:05:05 +03:00
|
|
|
select PL041 # audio codec
|
|
|
|
select PL181 # display
|
|
|
|
select REALVIEW
|
|
|
|
select SII9022
|
|
|
|
select VIRTIO_MMIO
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config ZYNQ
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-07 22:26:34 +03:00
|
|
|
select A9MPCORE
|
|
|
|
select CADENCE # UART
|
|
|
|
select PFLASH_CFI02
|
2024-05-24 15:08:36 +03:00
|
|
|
select PL310 # cache controller
|
2019-02-07 22:26:34 +03:00
|
|
|
select PL330
|
|
|
|
select SDHCI
|
|
|
|
select SSI_M25P80
|
|
|
|
select USB_EHCI_SYSBUS
|
|
|
|
select XILINX # UART
|
|
|
|
select XILINX_AXI
|
|
|
|
select XILINX_SPI
|
|
|
|
select XILINX_SPIPS
|
|
|
|
select ZYNQ_DEVCFG
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config ARM_V7M
|
|
|
|
bool
|
2021-07-07 16:17:42 +03:00
|
|
|
# currently v7M must be included in a TCG build due to translate.c
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2020-11-04 13:33:43 +03:00
|
|
|
select PTIMER
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config ALLWINNER_A10
|
|
|
|
bool
|
2019-02-08 12:18:15 +03:00
|
|
|
select AHCI
|
|
|
|
select ALLWINNER_A10_PIT
|
|
|
|
select ALLWINNER_A10_PIC
|
2022-12-27 01:02:57 +03:00
|
|
|
select ALLWINNER_A10_CCM
|
2022-12-27 01:02:58 +03:00
|
|
|
select ALLWINNER_A10_DRAMC
|
2023-04-20 12:21:13 +03:00
|
|
|
select ALLWINNER_WDT
|
2019-02-08 12:18:15 +03:00
|
|
|
select ALLWINNER_EMAC
|
2022-12-27 01:02:59 +03:00
|
|
|
select ALLWINNER_I2C
|
2023-06-06 12:19:32 +03:00
|
|
|
select AXP2XX_PMU
|
2024-09-05 10:38:32 +03:00
|
|
|
select SERIAL_MM
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2024-02-23 15:44:05 +03:00
|
|
|
select USB_OHCI_SYSBUS
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2020-03-12 01:18:37 +03:00
|
|
|
config ALLWINNER_H3
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2020-03-12 01:18:37 +03:00
|
|
|
select ALLWINNER_A10_PIT
|
2020-03-12 01:18:45 +03:00
|
|
|
select ALLWINNER_SUN8I_EMAC
|
2022-12-27 01:02:59 +03:00
|
|
|
select ALLWINNER_I2C
|
2023-04-20 12:21:14 +03:00
|
|
|
select ALLWINNER_WDT
|
2024-09-05 10:38:32 +03:00
|
|
|
select SERIAL_MM
|
2020-03-12 01:18:37 +03:00
|
|
|
select ARM_TIMER
|
|
|
|
select ARM_GIC
|
|
|
|
select UNIMP
|
2024-02-23 15:44:05 +03:00
|
|
|
select USB_OHCI_SYSBUS
|
2020-03-12 01:18:40 +03:00
|
|
|
select USB_EHCI_SYSBUS
|
2020-03-12 01:18:44 +03:00
|
|
|
select SD
|
2020-03-12 01:18:37 +03:00
|
|
|
|
2023-06-06 12:19:31 +03:00
|
|
|
config ALLWINNER_R40
|
|
|
|
bool
|
|
|
|
default y if TCG && ARM
|
2024-01-15 21:27:56 +03:00
|
|
|
select AHCI
|
2023-06-06 12:19:33 +03:00
|
|
|
select ALLWINNER_SRAMC
|
2023-06-06 12:19:31 +03:00
|
|
|
select ALLWINNER_A10_PIT
|
2024-01-15 21:27:57 +03:00
|
|
|
select ALLWINNER_WDT
|
2023-06-06 12:19:32 +03:00
|
|
|
select AXP2XX_PMU
|
2024-09-05 10:38:32 +03:00
|
|
|
select SERIAL_MM
|
2023-06-06 12:19:31 +03:00
|
|
|
select ARM_TIMER
|
|
|
|
select ARM_GIC
|
|
|
|
select UNIMP
|
2024-02-23 15:44:05 +03:00
|
|
|
select USB_OHCI_SYSBUS
|
2024-01-15 21:27:55 +03:00
|
|
|
select USB_EHCI_SYSBUS
|
2023-06-06 12:19:31 +03:00
|
|
|
select SD
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config RASPI
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-08 12:22:54 +03:00
|
|
|
select FRAMEBUFFER
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2019-02-08 12:22:54 +03:00
|
|
|
select SDHCI
|
2020-07-22 18:47:19 +03:00
|
|
|
select USB_DWC2
|
2024-01-30 01:18:08 +03:00
|
|
|
select BCM2835_SPI
|
2024-02-24 22:10:37 +03:00
|
|
|
select BCM2835_I2C
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2021-06-17 19:56:44 +03:00
|
|
|
config STM32F100_SOC
|
|
|
|
bool
|
|
|
|
select ARM_V7M
|
|
|
|
select STM32F2XX_USART
|
|
|
|
select STM32F2XX_SPI
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config STM32F205_SOC
|
|
|
|
bool
|
2019-02-08 10:52:57 +03:00
|
|
|
select ARM_V7M
|
2019-05-14 09:13:28 +03:00
|
|
|
select OR_IRQ
|
2019-02-08 10:52:57 +03:00
|
|
|
select STM32F2XX_TIMER
|
|
|
|
select STM32F2XX_USART
|
|
|
|
select STM32F2XX_SYSCFG
|
|
|
|
select STM32F2XX_ADC
|
|
|
|
select STM32F2XX_SPI
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2020-01-17 17:09:29 +03:00
|
|
|
config STM32F405_SOC
|
|
|
|
bool
|
|
|
|
select ARM_V7M
|
2021-01-31 21:44:44 +03:00
|
|
|
select OR_IRQ
|
2020-01-17 17:09:29 +03:00
|
|
|
select STM32F4XX_SYSCFG
|
2020-01-17 17:09:29 +03:00
|
|
|
select STM32F4XX_EXTI
|
2020-01-17 17:09:29 +03:00
|
|
|
|
2024-01-08 16:58:29 +03:00
|
|
|
config B_L475E_IOT01A
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
|
|
|
select STM32L4X5_SOC
|
2024-04-24 23:06:54 +03:00
|
|
|
imply DM163
|
2024-01-08 16:58:29 +03:00
|
|
|
|
2024-01-08 16:58:28 +03:00
|
|
|
config STM32L4X5_SOC
|
|
|
|
bool
|
|
|
|
select ARM_V7M
|
|
|
|
select OR_IRQ
|
2024-01-09 19:06:03 +03:00
|
|
|
select STM32L4X5_EXTI
|
2024-03-06 00:03:11 +03:00
|
|
|
select STM32L4X5_SYSCFG
|
2024-03-03 17:06:36 +03:00
|
|
|
select STM32L4X5_RCC
|
2024-03-06 00:03:11 +03:00
|
|
|
select STM32L4X5_GPIO
|
2024-03-29 20:44:01 +03:00
|
|
|
select STM32L4X5_USART
|
2024-01-08 16:58:28 +03:00
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config XLNX_ZYNQMP_ARM
|
|
|
|
bool
|
2023-08-30 12:38:38 +03:00
|
|
|
default y if PIXMAN
|
2023-05-23 21:05:25 +03:00
|
|
|
depends on TCG && AARCH64
|
2019-02-08 16:52:40 +03:00
|
|
|
select AHCI
|
|
|
|
select ARM_GIC
|
|
|
|
select CADENCE
|
2024-04-15 09:56:55 +03:00
|
|
|
select CPU_CLUSTER
|
2019-02-08 16:52:40 +03:00
|
|
|
select DDC
|
|
|
|
select DPCD
|
2024-04-30 22:08:15 +03:00
|
|
|
select DEVICE_TREE
|
2019-02-08 16:52:40 +03:00
|
|
|
select SDHCI
|
|
|
|
select SSI
|
|
|
|
select SSI_M25P80
|
|
|
|
select XILINX_AXI
|
|
|
|
select XILINX_SPIPS
|
2021-03-03 16:52:52 +03:00
|
|
|
select XLNX_CSU_DMA
|
2023-08-30 12:38:38 +03:00
|
|
|
select XLNX_DISPLAYPORT
|
2019-02-08 16:52:40 +03:00
|
|
|
select XLNX_ZYNQMP
|
2021-01-31 21:44:46 +03:00
|
|
|
select XLNX_ZDMA
|
2023-02-16 12:23:27 +03:00
|
|
|
select USB_DWC3
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config XLNX_VERSAL
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && AARCH64
|
2019-02-09 09:16:05 +03:00
|
|
|
select ARM_GIC
|
2024-04-15 09:56:55 +03:00
|
|
|
select CPU_CLUSTER
|
2024-04-30 22:08:15 +03:00
|
|
|
select DEVICE_TREE
|
2024-10-10 17:11:28 +03:00
|
|
|
select PL011 if !HAVE_RUST # UART
|
|
|
|
select X_PL011_RUST if HAVE_RUST # UART
|
2019-02-09 09:16:05 +03:00
|
|
|
select CADENCE
|
|
|
|
select VIRTIO_MMIO
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2021-01-31 21:44:46 +03:00
|
|
|
select XLNX_ZDMA
|
2021-01-31 21:44:47 +03:00
|
|
|
select XLNX_ZYNQMP
|
2021-07-07 16:17:41 +03:00
|
|
|
select OR_IRQ
|
2021-09-17 08:23:56 +03:00
|
|
|
select XLNX_BBRAM
|
2021-09-17 08:23:57 +03:00
|
|
|
select XLNX_EFUSE_VERSAL
|
2023-05-03 12:12:29 +03:00
|
|
|
select XLNX_USB_SUBSYS
|
2023-10-31 21:46:10 +03:00
|
|
|
select XLNX_VERSAL_TRNG
|
2023-11-03 18:09:03 +03:00
|
|
|
select XLNX_CSU_DMA
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2020-09-11 08:20:48 +03:00
|
|
|
config NPCM7XX
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2020-09-11 08:20:51 +03:00
|
|
|
select A9MPCORE
|
2023-10-24 02:46:44 +03:00
|
|
|
select ADM1266
|
2021-07-08 20:25:53 +03:00
|
|
|
select ADM1272
|
2020-09-11 08:20:51 +03:00
|
|
|
select ARM_GIC
|
2021-05-13 09:55:50 +03:00
|
|
|
select SMBUS
|
2021-02-11 01:04:24 +03:00
|
|
|
select AT24C # EEPROM
|
2021-07-08 20:25:55 +03:00
|
|
|
select MAX34451
|
2022-03-07 23:06:03 +03:00
|
|
|
select ISL_PMBUS_VR
|
2020-09-11 08:20:51 +03:00
|
|
|
select PL310 # cache controller
|
2021-07-08 20:25:52 +03:00
|
|
|
select PMBUS
|
2024-09-05 10:38:32 +03:00
|
|
|
select SERIAL_MM
|
2020-09-11 08:20:57 +03:00
|
|
|
select SSI
|
2020-09-11 08:20:51 +03:00
|
|
|
select UNIMP
|
2021-06-08 23:25:21 +03:00
|
|
|
select PCA954X
|
2024-02-23 15:44:05 +03:00
|
|
|
select USB_OHCI_SYSBUS
|
2020-09-11 08:20:48 +03:00
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config FSL_IMX25
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2019-02-08 15:18:31 +03:00
|
|
|
select IMX
|
|
|
|
select IMX_FEC
|
|
|
|
select IMX_I2C
|
2020-05-17 19:21:30 +03:00
|
|
|
select WDT_IMX2
|
2021-05-13 16:20:23 +03:00
|
|
|
select SDHCI
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config FSL_IMX31
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2024-09-05 10:38:32 +03:00
|
|
|
select SERIAL_MM
|
2019-02-07 18:51:56 +03:00
|
|
|
select IMX
|
|
|
|
select IMX_I2C
|
2020-05-17 19:21:31 +03:00
|
|
|
select WDT_IMX2
|
2019-02-07 18:51:56 +03:00
|
|
|
select LAN9118
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config FSL_IMX6
|
|
|
|
bool
|
2024-01-08 17:03:25 +03:00
|
|
|
imply PCIE_DEVICES
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2019-02-08 13:28:13 +03:00
|
|
|
select A9MPCORE
|
|
|
|
select IMX
|
|
|
|
select IMX_FEC
|
|
|
|
select IMX_I2C
|
2020-03-13 04:45:47 +03:00
|
|
|
select IMX_USBPHY
|
2020-05-17 19:21:28 +03:00
|
|
|
select WDT_IMX2
|
2024-01-08 17:32:58 +03:00
|
|
|
select PL310 # cache controller
|
2024-01-08 17:03:25 +03:00
|
|
|
select PCI_EXPRESS_DESIGNWARE
|
2019-02-08 15:18:31 +03:00
|
|
|
select SDHCI
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config ASPEED_SOC
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-08 08:53:04 +03:00
|
|
|
select DS1338
|
|
|
|
select FTGMAC100
|
|
|
|
select I2C
|
2021-09-20 09:50:59 +03:00
|
|
|
select DPS310
|
2019-02-08 08:53:04 +03:00
|
|
|
select PCA9552
|
2024-09-05 10:38:32 +03:00
|
|
|
select SERIAL_MM
|
2019-02-08 08:53:04 +03:00
|
|
|
select SMBUS_EEPROM
|
2021-06-08 23:25:22 +03:00
|
|
|
select PCA954X
|
2019-02-08 08:53:04 +03:00
|
|
|
select SSI
|
|
|
|
select SSI_M25P80
|
|
|
|
select TMP105
|
|
|
|
select TMP421
|
2020-12-10 14:11:03 +03:00
|
|
|
select EMC141X
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2020-06-20 19:54:41 +03:00
|
|
|
select LED
|
2022-06-30 10:21:13 +03:00
|
|
|
select PMBUS
|
|
|
|
select MAX31785
|
2024-01-26 13:49:52 +03:00
|
|
|
select FSI_APB2OPB_ASPEED
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config MPS2
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2019-02-08 12:19:41 +03:00
|
|
|
select ARMSSE
|
|
|
|
select LAN9118
|
|
|
|
select MPS2_FPGAIO
|
|
|
|
select MPS2_SCC
|
2019-05-14 09:13:28 +03:00
|
|
|
select OR_IRQ
|
2020-06-17 10:25:36 +03:00
|
|
|
select PL022 # SPI
|
2019-02-08 12:19:41 +03:00
|
|
|
select PL080 # DMA controller
|
2019-05-14 11:24:28 +03:00
|
|
|
select SPLIT_IRQ
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2020-06-17 10:25:33 +03:00
|
|
|
select CMSDK_APB_WATCHDOG
|
2023-01-10 11:25:08 +03:00
|
|
|
select ARM_SBCON_I2C
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config FSL_IMX7
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-08 15:18:31 +03:00
|
|
|
imply PCI_DEVICES
|
|
|
|
imply TEST_DEVICES
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2019-02-08 15:18:31 +03:00
|
|
|
select A15MPCORE
|
|
|
|
select PCI
|
|
|
|
select IMX
|
|
|
|
select IMX_FEC
|
|
|
|
select IMX_I2C
|
2020-05-17 19:21:28 +03:00
|
|
|
select WDT_IMX2
|
2019-02-08 15:18:31 +03:00
|
|
|
select PCI_EXPRESS_DESIGNWARE
|
|
|
|
select SDHCI
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config ARM_SMMUV3
|
|
|
|
bool
|
|
|
|
|
|
|
|
config FSL_IMX6UL
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2019-02-08 15:18:31 +03:00
|
|
|
select A15MPCORE
|
|
|
|
select IMX
|
|
|
|
select IMX_FEC
|
|
|
|
select IMX_I2C
|
2020-05-17 19:21:28 +03:00
|
|
|
select WDT_IMX2
|
2019-02-08 15:18:31 +03:00
|
|
|
select SDHCI
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2019-02-08 15:33:40 +03:00
|
|
|
config MICROBIT
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-08 15:33:40 +03:00
|
|
|
select NRF51_SOC
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config NRF51_SOC
|
|
|
|
bool
|
2022-02-08 18:59:11 +03:00
|
|
|
imply I2C_DEVICES
|
2019-02-08 15:33:40 +03:00
|
|
|
select I2C
|
|
|
|
select ARM_V7M
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2019-01-23 09:56:00 +03:00
|
|
|
|
2019-02-08 14:00:29 +03:00
|
|
|
config EMCRAFT_SF2
|
|
|
|
bool
|
2023-05-23 21:05:25 +03:00
|
|
|
default y
|
|
|
|
depends on TCG && ARM
|
2019-02-08 14:00:29 +03:00
|
|
|
select MSF2
|
|
|
|
select SSI_M25P80
|
|
|
|
|
2019-01-23 09:56:00 +03:00
|
|
|
config MSF2
|
|
|
|
bool
|
2019-02-08 14:00:29 +03:00
|
|
|
select ARM_V7M
|
2019-01-23 09:56:12 +03:00
|
|
|
select PTIMER
|
2024-09-05 10:38:32 +03:00
|
|
|
select SERIAL_MM
|
2019-02-08 14:00:29 +03:00
|
|
|
select SSI
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2019-01-23 09:56:00 +03:00
|
|
|
|
|
|
|
config ARMSSE
|
|
|
|
bool
|
2019-02-08 12:19:41 +03:00
|
|
|
select ARM_V7M
|
2021-02-19 17:45:53 +03:00
|
|
|
select ARMSSE_CPU_PWRCTRL
|
2019-02-08 12:19:41 +03:00
|
|
|
select ARMSSE_CPUID
|
|
|
|
select ARMSSE_MHU
|
|
|
|
select CMSDK_APB_TIMER
|
|
|
|
select CMSDK_APB_DUALTIMER
|
|
|
|
select CMSDK_APB_UART
|
|
|
|
select CMSDK_APB_WATCHDOG
|
2024-04-15 09:56:55 +03:00
|
|
|
select CPU_CLUSTER
|
2019-02-08 12:19:41 +03:00
|
|
|
select IOTKIT_SECCTL
|
|
|
|
select IOTKIT_SYSCTL
|
|
|
|
select IOTKIT_SYSINFO
|
2019-05-14 09:13:28 +03:00
|
|
|
select OR_IRQ
|
2019-05-14 11:24:28 +03:00
|
|
|
select SPLIT_IRQ
|
2019-02-08 12:19:41 +03:00
|
|
|
select TZ_MPC
|
|
|
|
select TZ_MSC
|
|
|
|
select TZ_PPC
|
2019-05-14 08:26:53 +03:00
|
|
|
select UNIMP
|
2021-02-19 17:45:44 +03:00
|
|
|
select SSE_COUNTER
|
2021-02-19 17:45:45 +03:00
|
|
|
select SSE_TIMER
|