Hi Simon

Driver model is enabled, so it's pretty weird it doesn't show up.
CONFIG_DM=y
CONFIG_SPL_DM=y
CONFIG_DM_WARN=y

The TPM menu is there, yet somehow empty.
This is just after "make socfpga_cyclone5_defconfig" and "make menuconfig"
if I use "make snow_defconfig" the menu is usable like normal, so something is 
disabling it, yet when grep-ping for TPM in socfpga there are no results.
Adding it to .config manually also doesn't seem to work. so I'm a bit confused 
about what's going on. Anyhow thanks for the help!

Niek
________________________________
差出人: Simon Glass <s...@google.com>
送信日�r: 2023年10月25日 03:03
宛先: Niek Nooijens / OC-IAB PBD-C DEVEL 1-1 <niek.nooij...@omron.com>
CC: u-boot@lists.denx.de <u-boot@lists.denx.de>
件名: Re: quick question about TPM

Hi Niek,

On Tue, 24 Oct 2023 at 04:51, niek.nooij...@omron.com
<niek.nooij...@omron.com> wrote:
>
> Hi
>
> Just a quick question. I'm developing a platform using the 
> socfpga_cyclone5_defconfig
> everything is working, linux boots, but we decided to add a TPM to it's SPI 
> bus.
> For some reason the TPM support menu in the menuconfig is disabled and I 
> can't seem to find out why, or which file disables it. can you point me in 
> the right direction?

The only thing 'config TPM' depends on is DM (driver model). Is that
somehow disabled? Once you enable that, it should appear.

Regards,
Simon

Reply via email to