[coreboot] How is CONFIG_TPM selected?

Vadim Bendebury vbendeb at chromium.org
Mon Aug 15 18:15:54 CEST 2016


External declarations in .h files should not be configuration dependent,
maybe this is a simpler fix?

--vb


On Mon, Aug 15, 2016 at 8:55 AM, Trammell Hudson <hudson at trmm.net> wrote:

> Is it possible to enable CONFIG_TPM with the current head in git?
> On my Lenovo x230, CONFIG_MAINBOARD_HAS_LPC_TPM is selected, as is
> CONFIG_LPC_TPM, but there does not appear to be any way to enable
> CONFIG_TPM in menuconfig.  In order to enable it, I had to change
> src/Kconfig to default to y.
>
> Without it selected, src/lib/tclc.c won't compile since the prototype for
> tlcl_define_space() in src/include/tpm_lite/tlcl.h depends on CONFIG_TPM
> or CONFIG_TPM2 being defined.
>
> --
> Trammell
>
> --
> coreboot mailing list: coreboot at coreboot.org
> https://www.coreboot.org/mailman/listinfo/coreboot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20160815/5cacd14b/attachment.html>


More information about the coreboot mailing list