quick question about TPM
Simon Glass
sjg at google.com
Wed Oct 25 20:23:30 CEST 2023
Hi Niek,
On Tue, 24 Oct 2023 at 19:26, niek.nooijens at omron.com
<niek.nooijens at omron.com> wrote:
>
> 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"
Do you enable CONFIG_TPM here?:
Library routines -> Security support -> Trusted Platform Module (TPM) Support
then the drivers appear for me (under device drivers)
> 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!
You can edit the defconfig to add CONFIG_TPM and whatever driver you need.
Regards,
Simon
>
> Niek
> ________________________________
> 差出人: Simon Glass <sjg at google.com>
> 送信日時: 2023年10月25日 03:03
> 宛先: Niek Nooijens / OC-IAB PBD-C DEVEL 1-1 <niek.nooijens at omron.com>
> CC: u-boot at lists.denx.de <u-boot at lists.denx.de>
> 件名: Re: quick question about TPM
>
> Hi Niek,
>
> On Tue, 24 Oct 2023 at 04:51, niek.nooijens at omron.com
> <niek.nooijens at 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
More information about the U-Boot
mailing list