Werner Zeh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39133 )
Change subject: mb/kontron/mal10: Add COMe-mAL10 minimal support
......................................................................
Patch Set 20: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/39133/20/src/mainboard/kontron/mal1...
File src/mainboard/kontron/mal10/gpio.h:
https://review.coreboot.org/c/coreboot/+/39133/20/src/mainboard/kontron/mal1...
PS20, Line 46: _PAD_CFG_STRUCT(GPIO_15,
: PAD_FUNC(GPIO) | PAD_RESET(DEEP) |
: PAD_CFG0_TRIG_OFF | PAD_CFG0_RX_POL_NONE |
: PAD_BUF(NO_DISABLE),
: PAD_PULL(DN_20K) | PAD_IOSSTATE(TxLASTRxE) | PAD_IOSTERM(SAME)),
Any reason for not adding these obviously needed and missing macros in src/soc/intel/common/block/include/intelblocks/gpio_defs.h.
Then you can simply use the needed macros here which would make your file more readable.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/39133
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib8432e10396f77eb05a71af1ccaaa4437a2e43ea
Gerrit-Change-Number: 39133
Gerrit-PatchSet: 20
Gerrit-Owner: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Reviewer: Felix Singer
felixsinger@posteo.net
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Andrey Petrov
andrey.petrov@gmail.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Lance Zhao
lance.zhao@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Maxim Polyakov
max.senia.poliak@gmail.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Werner Zeh
werner.zeh@siemens.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Andrey Petrov
anpetrov@fb.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Tue, 31 Mar 2020 08:00:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment