Attention is currently required from: Stefan Ott, Felix Singer, Patrick Rudolph, Frans Hendriks, Jonathan Zhang, Tristan Corrick, Jeremy Soller, Nick Vaccaro, Angel Pons, Julius Werner, Arthur Heymans, Andrey Petrov, Piotr Król, Jes Klinke, Tim Crawford, Nico Huber, Sean Rhodes, Michał Żygowski, Maxim Polyakov, Johnny Lin, Christian Walter, Tim Wawrzynczak, Alexander Couzens, Tim Chu.
Werner Zeh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/63424 )
Change subject: WIP: tpm: Refactor Kconfig
......................................................................
Patch Set 3: Code-Review+1
(3 comments)
File src/drivers/i2c/tpm/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/63424/comment/fccf9b07_59891627
PS3, Line 9: ifeq ($(CONFIG_TPM_ATMEL),y)
: ramstage-y += tis_atmel.c
: romstage-y += tis_atmel.c
: verstage-y += tis_atmel.c
: bootblock-y += tis_atmel.c
: postcar-y += tis_atmel.c
: elif ($(CONFIG_TPM_GOOGLE),y)
: ramstage-y += cr50.c
: romstage-y += cr50.c
: verstage-y += cr50.c
: bootblock-y += cr50.c
: postcar-y += cr50.c
: else
: ramstage-y += tpm.c
: romstage-y += tpm.c
: verstage-y += tpm.c
: bootblock-y += tpm.c
: postcar-y += tpm.c
: endif
You could use the 'all-y' target here as you add the driver to every stage anyway.
And once you are touching it it could be used for tis.c as well.
File src/drivers/pc80/tpm/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/63424/comment/1fbc1fcb_ac8077f6
PS3, Line 1: bootblock-$(CONFIG_LPC_TPM) += tis.c
: verstage-$(CONFIG_LPC_TPM) += tis.c
: romstage-$(CONFIG_LPC_TPM) += tis.c
: ramstage-$(CONFIG_LPC_TPM) += tis.c
: postcar-$(CONFIG_LPC_TPM) += tis.c
all-$(CONFIG_LPC_TPM) += tis.c
But could be done in a follow-up.
File src/soc/intel/common/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/63424/comment/e5baf8e0_8ed5f510
PS3, Line 23: bootblock-$(CONFIG_TPM_GOOGLE) += tpm_tis.c
: verstage-$(CONFIG_TPM_GOOGLE) += tpm_tis.c
: romstage-$(CONFIG_TPM_GOOGLE) += tpm_tis.c
: ramstage-$(CONFIG_TPM_GOOGLE) += tpm_tis.c
: postcar-$(CONFIG_TPM_GOOGLE) += tpm_tis.c
all-$(CONFIG_TPM_GOOGLE)
--
To view, visit
https://review.coreboot.org/c/coreboot/+/63424
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4656b2b90363b8dfd008dc281ad591862fe2cc9e
Gerrit-Change-Number: 63424
Gerrit-PatchSet: 3
Gerrit-Owner: Jes Klinke
jbk@chromium.org
Gerrit-Reviewer: Alexander Couzens
lynxis@fe80.eu
Gerrit-Reviewer: Andrey Petrov
andrey.petrov@gmail.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Erik van den Bogaert
ebogaert@eltan.com
Gerrit-Reviewer: Felix Singer
felixsinger@posteo.net
Gerrit-Reviewer: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Jeremy Soller
jeremy@system76.com
Gerrit-Reviewer: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Reviewer: Jonathan Zhang
jonzhang@fb.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Reviewer: Michael Niewöhner
foss@mniewoehner.de
Gerrit-Reviewer: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Reviewer: Nick Vaccaro
nvaccaro@chromium.org
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Piotr Król
piotr.krol@3mdeb.com
Gerrit-Reviewer: Sean Rhodes
sean@starlabs.systems
Gerrit-Reviewer: Stefan Ott
coreboot@desire.ch
Gerrit-Reviewer: Tim Chu
Tim.Chu@quantatw.com
Gerrit-Reviewer: Tim Crawford
tcrawford@system76.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: Tristan Corrick
tristan@corrick.kiwi
Gerrit-Reviewer: Werner Zeh
werner.zeh@siemens.com
Gerrit-Reviewer: Yu-Ping Wu
yupingso@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Stefan Ott
coreboot@desire.ch
Gerrit-Attention: Felix Singer
felixsinger@posteo.net
Gerrit-Attention: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Attention: Frans Hendriks
fhendriks@eltan.com
Gerrit-Attention: Jonathan Zhang
jonzhang@fb.com
Gerrit-Attention: Tristan Corrick
tristan@corrick.kiwi
Gerrit-Attention: Jeremy Soller
jeremy@system76.com
Gerrit-Attention: Nick Vaccaro
nvaccaro@chromium.org
Gerrit-Attention: Angel Pons
th3fanbus@gmail.com
Gerrit-Attention: Julius Werner
jwerner@chromium.org
Gerrit-Attention: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Attention: Andrey Petrov
andrey.petrov@gmail.com
Gerrit-Attention: Piotr Król
piotr.krol@3mdeb.com
Gerrit-Attention: Jes Klinke
jbk@chromium.org
Gerrit-Attention: Tim Crawford
tcrawford@system76.com
Gerrit-Attention: Nico Huber
nico.h@gmx.de
Gerrit-Attention: Sean Rhodes
sean@starlabs.systems
Gerrit-Attention: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Attention: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Attention: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Attention: Christian Walter
christian.walter@9elements.com
Gerrit-Attention: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Attention: Alexander Couzens
lynxis@fe80.eu
Gerrit-Attention: Tim Chu
Tim.Chu@quantatw.com
Gerrit-Comment-Date: Thu, 07 Apr 2022 09:25:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment