Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48359 )
Change subject: include/device/device: add comment that config_of_soc never returns NULL
......................................................................
include/device/device: add comment that config_of_soc never returns NULL
Since config_of() calls die() if dev or dev->chip_info are NULL,
config_of_soc() will either return a non-NULL pointer or won't return.
Change-Id: I6de6bb1610e823af215436c94ff1a78ff6b86b78
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
---
M src/include/device/device.h
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/48359/1
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 8a481b2..786a640 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -385,6 +385,7 @@
devtree_die();
}
+/* config_of_soc() either returns a non-NULL pointer or dies in the config_of() call. */
static inline DEVTREE_CONST void *config_of_soc(void)
{
return config_of(pcidev_on_root(0, 0));
--
To view, visit https://review.coreboot.org/c/coreboot/+/48359
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6de6bb1610e823af215436c94ff1a78ff6b86b78
Gerrit-Change-Number: 48359
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange
Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48312 )
Change subject: soc/amd/common/block/cpu: move Makefile guards into subfolders
......................................................................
soc/amd/common/block/cpu: move Makefile guards into subfolders
The next patch will add a tsc subfolder that might end up containing
code that is guarded with different Kconfig options, so move the guards
into the Makefiles in the subfolders instead of guarding the inclusion
of the Makefiles in the subdirectories with the corresponding Kconfig
option.
Change-Id: Iafc867eb9adcb23e9a4878cc381684db6f9692d5
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
---
M src/soc/amd/common/block/cpu/Makefile.inc
M src/soc/amd/common/block/cpu/car/Makefile.inc
M src/soc/amd/common/block/cpu/noncar/Makefile.inc
3 files changed, 9 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/48312/1
diff --git a/src/soc/amd/common/block/cpu/Makefile.inc b/src/soc/amd/common/block/cpu/Makefile.inc
index 6298f3b..4c02663 100644
--- a/src/soc/amd/common/block/cpu/Makefile.inc
+++ b/src/soc/amd/common/block/cpu/Makefile.inc
@@ -1,2 +1 @@
-subdirs-$(CONFIG_SOC_AMD_COMMON_BLOCK_CAR) += car
-subdirs-$(CONFIG_SOC_AMD_COMMON_BLOCK_NONCAR) += noncar
+subdirs-y += ./*
diff --git a/src/soc/amd/common/block/cpu/car/Makefile.inc b/src/soc/amd/common/block/cpu/car/Makefile.inc
index 6399140..130b34b 100644
--- a/src/soc/amd/common/block/cpu/car/Makefile.inc
+++ b/src/soc/amd/common/block/cpu/car/Makefile.inc
@@ -1,3 +1,5 @@
+ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_CAR),y)
+
bootblock-y += cache_as_ram.S
bootblock-y += ap_exit_car.S
bootblock-y += exit_car.S
@@ -6,3 +8,5 @@
romstage-y += ap_exit_car.S
romstage-y += exit_car.S
+
+endif # CONFIG_SOC_AMD_COMMON_BLOCK_CAR
diff --git a/src/soc/amd/common/block/cpu/noncar/Makefile.inc b/src/soc/amd/common/block/cpu/noncar/Makefile.inc
index d6b8b52..7a3be34 100644
--- a/src/soc/amd/common/block/cpu/noncar/Makefile.inc
+++ b/src/soc/amd/common/block/cpu/noncar/Makefile.inc
@@ -1 +1,5 @@
+ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_NONCAR),y)
+
bootblock-y += pre_c.S
+
+endif # CONFIG_SOC_AMD_COMMON_BLOCK_NONCAR
--
To view, visit https://review.coreboot.org/c/coreboot/+/48312
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iafc867eb9adcb23e9a4878cc381684db6f9692d5
Gerrit-Change-Number: 48312
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
Mike Banon has created a revert of this change. ( https://review.coreboot.org/c/coreboot/+/5158 )
Change subject: util: Remove 'getpir' and 'mptable' tools
......................................................................
--
To view, visit https://review.coreboot.org/c/coreboot/+/5158
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I49d7c5c86b908e08a3d79a06f5cb5b28cea1c806
Gerrit-Change-Number: 5158
Gerrit-PatchSet: 2
Gerrit-Owner: Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: revert
Hello Felix Singer, build bot (Jenkins), Nico Huber, Furquan Shaikh, Paul Menzel, Tim Wawrzynczak, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48094
to look at the new patch set (#14).
Change subject: drivers/ipmi: add code to set BMC/IPMI enablement from jumper
......................................................................
drivers/ipmi: add code to set BMC/IPMI enablement from jumper
Some boards, like the Supermicro X11SSM-F, have a jumper for enabling or
disabling the BMC and IPMI. Add a new devicetree driver option to set
the GPIO used for the jumper and enable or disable IPMI according to its
value.
This gets used in the follow-up change by Supermicro X11SSM-F.
Test: Boot with jumper set to each enabled and disabled and see if IPMI
gets enabled. Successfully tested on Supermicro X11SSM-F.
Signed-off-by: Michael Niewöhner <foss(a)mniewoehner.de>
Change-Id: Icde3232843a7138797a4b106560f170972edeb9c
---
M src/drivers/ipmi/chip.h
M src/drivers/ipmi/ipmi_kcs_ops.c
2 files changed, 16 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/48094/14
--
To view, visit https://review.coreboot.org/c/coreboot/+/48094
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Icde3232843a7138797a4b106560f170972edeb9c
Gerrit-Change-Number: 48094
Gerrit-PatchSet: 14
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Hello Felix Singer, build bot (Jenkins), Nico Huber, Paul Menzel, Tim Wawrzynczak, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/48366
to look at the new patch set (#3).
Change subject: mb/supermicro/x11-lga1151-series: drop HAVE_ACPI_RESUME
......................................................................
mb/supermicro/x11-lga1151-series: drop HAVE_ACPI_RESUME
All X11 boards currently supported have Intel SPS without support for
S3/S5. Thus, drop it from Kconfig.
Note: not all X11 boards are server boards. When a X11 desktop or
workstation board should be added, this can be selected by the boards,
where S3/S5 work.
Signed-off-by: Michael Niewöhner <foss(a)mniewoehner.de>
Change-Id: Ie75c9217078d38c42eba2b30c078b8bb1c2ca694
---
M src/mainboard/supermicro/x11-lga1151-series/Kconfig
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/66/48366/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/48366
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie75c9217078d38c42eba2b30c078b8bb1c2ca694
Gerrit-Change-Number: 48366
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset