Martin Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60268 )
Change subject: docker/Makefile: Use all instead of all_without_gdb
......................................................................
docker/Makefile: Use all instead of all_without_gdb
After removing GDB from crossgcc in commit f32eed16 (buildgcc: Remove
GDB from crossgcc), there is no target named all_without_gdb anymore
and we should always build crossgcc with target all.
But in util/docker/Makefile, we still try to build crossgcc with
target all_without_gdb as default and will cause a build failure.
Set CROSSGCC_PARAM from all_without_gdb to all to fix this issue.
Signed-off-by: Hsuan Ting Chen <roccochen(a)chromium.org>
Change-Id: I06c6d8e36dfd4e6a00ddec8b640b608ab1ba614c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60268
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Felix Singer <felixsinger(a)posteo.net>
Reviewed-by: Martin Roth <martinroth(a)google.com>
Reviewed-by: HAOUAS Elyes <ehaouas(a)noos.fr>
---
M util/docker/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
build bot (Jenkins): Verified
Martin Roth: Looks good to me, approved
HAOUAS Elyes: Looks good to me, but someone else must approve
Felix Singer: Looks good to me, but someone else must approve
diff --git a/util/docker/Makefile b/util/docker/Makefile
index 87e21be..cbe34f9 100644
--- a/util/docker/Makefile
+++ b/util/docker/Makefile
@@ -24,7 +24,7 @@
export DOCKER_CCACHE?=$(HOME)/.ccache
# SDK architecture
-export COREBOOT_CROSSGCC_PARAM?=all_without_gdb
+export COREBOOT_CROSSGCC_PARAM?=all
UID ?= $(shell id -u)
GID ?= $(shell id -g)
--
To view, visit https://review.coreboot.org/c/coreboot/+/60268
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I06c6d8e36dfd4e6a00ddec8b640b608ab1ba614c
Gerrit-Change-Number: 60268
Gerrit-PatchSet: 3
Gerrit-Owner: Hsuan-ting Chen <roccochen(a)google.com>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-Reviewer: Hsuan Ting Chen <roccochen(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: merged
Attention is currently required from: Patrick Rudolph.
Hello Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/60774
to look at the new patch set (#2).
Change subject: soc/intel/common/gpio: Rework PAD config macro to add lock support
......................................................................
soc/intel/common/gpio: Rework PAD config macro to add lock support
This patch creates new GPIO PAD configuration macros that
would help toperform GPIO pad configuration and pad lock
configuration as well.
Lists of new macros are:
1. PAD_CFG_NF_LOCK
2. PAD_CFG_GPO_LOCK
3. PAD_CFG_GPI_LOCK
4. PAD_CFG_GPI_TRIG_OWN_LOCK
5. PAD_CFG_GPI_GPIO_DRIVER_LOCK
6. PAD_CFG_GPI_INT_LOCK
7. PAD_CFG_GPI_APIC_LOCK
8. PAD_CFG_GPI_IRQ_WAKE_LOCK
Mainboard users can use the above macros to lock the PAD after
configuration.
So far on IA chipset. the default GPIO pad lock configuration reset
type is POWERGOOD hence, its recommended as per GPIO BWG (doc: 630603)
to configure the GPP PAD reset type as same as lock configuration
reset type to avoid GPP reset value misconfiguration issue.
BUG=b:211573253, b:211950520
Signed-off-by: Subrata Banik <subratabanik(a)google.com>
Change-Id: Ibf8b0a845005ad545266d995449d0aa711f45a61
---
M src/soc/intel/common/block/gpio/gpio.c
M src/soc/intel/common/block/include/intelblocks/gpio.h
M src/soc/intel/common/block/include/intelblocks/gpio_defs.h
3 files changed, 79 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/60774/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/60774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibf8b0a845005ad545266d995449d0aa711f45a61
Gerrit-Change-Number: 60774
Gerrit-PatchSet: 2
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newpatchset
Attention is currently required from: Patrick Rudolph.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/60774 )
Change subject: soc/intel/common/gpio: Rework PAD config macro to add lock support
......................................................................
Patch Set 1:
(2 comments)
File src/soc/intel/common/block/include/intelblocks/gpio_defs.h:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-137279):
https://review.coreboot.org/c/coreboot/+/60774/comment/043f62b4_cca2bfe9
PS1, Line 315: #define PAD_CFG_GPI_TRIG_OWN_LOCK(pad, pull, rst, trig, own, action) \
line over 96 characters
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-137279):
https://review.coreboot.org/c/coreboot/+/60774/comment/cab32989_4d7819ec
PS1, Line 332: PAD_PULL(pull) | PAD_CFG_OWN_GPIO(DRIVER) | PAD_IOSSTATE(TxDRxE), \
line over 96 characters
--
To view, visit https://review.coreboot.org/c/coreboot/+/60774
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibf8b0a845005ad545266d995449d0aa711f45a61
Gerrit-Change-Number: 60774
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Tue, 04 Jan 2022 20:45:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Patrick Rudolph.
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60773 )
Change subject: soc/intel/common/gpio: Modify pad_config.pad type from `int` to 'gpio_t'
......................................................................
soc/intel/common/gpio: Modify pad_config.pad type from `int` to 'gpio_t'
This patch modifies struct pad_config.pad type from `int` to 'gpio_t'
as pad offset inside GPIO community is unsigned type and also to
maintain parity with `struct gpio_lock_config.pad` type.
Signed-off-by: Subrata Banik <subratabanik(a)google.com>
Change-Id: I15da8a1aff2d81805ba6584f5cc7e569faf456e1
---
M src/soc/intel/common/block/include/intelblocks/gpio.h
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/60773/1
diff --git a/src/soc/intel/common/block/include/intelblocks/gpio.h b/src/soc/intel/common/block/include/intelblocks/gpio.h
index 995c786..700b975 100644
--- a/src/soc/intel/common/block/include/intelblocks/gpio.h
+++ b/src/soc/intel/common/block/include/intelblocks/gpio.h
@@ -66,7 +66,7 @@
typedef uint32_t gpio_t;
struct pad_config {
- int pad;/* offset of pad within community */
+ gpio_t pad;/* offset of pad within community */
uint32_t pad_config[GPIO_NUM_PAD_CFG_REGS];/*
Pad config data corresponding to DW0, DW1,.... */
};
--
To view, visit https://review.coreboot.org/c/coreboot/+/60773
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I15da8a1aff2d81805ba6584f5cc7e569faf456e1
Gerrit-Change-Number: 60773
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Attention: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-MessageType: newchange