Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81951?usp=email )
Change subject: lint/checkpatch: Reduce the difference with linux v6.8
......................................................................
lint/checkpatch: Reduce the difference with linux v6.8
Change-Id: I4898c4b11c791a5bd3895db656e03d7d5c46e933
Signed-off-by: Elyes Haouas <ehaouas(a)noos.fr>
---
M util/lint/checkpatch.pl
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/81951/1
diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl
index 5afdc4e..79e345f 100755
--- a/util/lint/checkpatch.pl
+++ b/util/lint/checkpatch.pl
@@ -2920,7 +2920,7 @@
# A Fixes: or Link: line or signature tag line
$commit_log_possible_stack_dump)) {
WARN("COMMIT_LOG_LONG_LINE",
- "Possible unwrapped commit description (prefer a maximum 72 chars per line)\n" . $herecurr);
+ "Prefer a maximum 72 chars per line (possible unwrapped commit description?)\n" . $herecurr);
$commit_log_long_line = 1;
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/81951?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I4898c4b11c791a5bd3895db656e03d7d5c46e933
Gerrit-Change-Number: 81951
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange
Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81949?usp=email )
Change subject: lint/checkpatch: Add __aligned to the list of attribute notes
......................................................................
lint/checkpatch: Add __aligned to the list of attribute notes
This updates the script to upsteam version 6.8
https://github.com/torvalds/linux/commit/2f9dadba5ba02e1510a04ce57ebfb9e08f…
Change-Id: I9274e8b5ed5ada27c290c462b0c59eccf1b0b60d
Signed-off-by: Elyes Haouas <ehaouas(a)noos.fr>
---
M util/lint/checkpatch.pl
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/81949/1
diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl
index b6ac890..16b6bd3 100755
--- a/util/lint/checkpatch.pl
+++ b/util/lint/checkpatch.pl
@@ -517,6 +517,7 @@
__ro_after_init|
__kprobes|
$InitAttribute|
+ __aligned\s*\(.*\)|
____cacheline_aligned|
____cacheline_aligned_in_smp|
____cacheline_internodealigned_in_smp|
--
To view, visit https://review.coreboot.org/c/coreboot/+/81949?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I9274e8b5ed5ada27c290c462b0c59eccf1b0b60d
Gerrit-Change-Number: 81949
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes Haouas <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange
Maximilian Brune has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81947?usp=email )
Change subject: payloads/external: Call $(strip_quotes ) on prebuilt iPXE path
......................................................................
payloads/external: Call $(strip_quotes ) on prebuilt iPXE path
Currently, we keep the double-quotes from Kconfig, resulting in an
invalid path. So just call `strip_quotes` like we do with all other
paths from Kconfig.
Change-Id: Ibcaa59be0fdd84d1fb9e061394fd9b0f7aa1830b
Signed-off-by: Nico Huber <nico.h(a)gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81947
Reviewed-by: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Paul Menzel <paulepanter(a)mailbox.org>
Reviewed-by: Angel Pons <th3fanbus(a)gmail.com>
---
M payloads/external/Makefile.mk
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
build bot (Jenkins): Verified
Paul Menzel: Looks good to me, but someone else must approve
Felix Singer: Looks good to me, approved
Angel Pons: Looks good to me, approved
diff --git a/payloads/external/Makefile.mk b/payloads/external/Makefile.mk
index 9b79f1a..5d385a4 100644
--- a/payloads/external/Makefile.mk
+++ b/payloads/external/Makefile.mk
@@ -344,7 +344,7 @@
PXE_ROM_PCI_ID:=$(subst $(comma),,$(CONFIG_PXE_ROM_ID))
ifeq ($(CONFIG_PXE_ROM),y)
-PXE_ROM_FILE:=$(CONFIG_PXE_ROM_FILE)
+PXE_ROM_FILE:=$(call strip_quotes,$(CONFIG_PXE_ROM_FILE))
endif
ifeq ($(CONFIG_BUILD_IPXE),y)
PXE_ROM_FILE:=payloads/external/iPXE/ipxe/ipxe.rom
--
To view, visit https://review.coreboot.org/c/coreboot/+/81947?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ibcaa59be0fdd84d1fb9e061394fd9b0f7aa1830b
Gerrit-Change-Number: 81947
Gerrit-PatchSet: 2
Gerrit-Owner: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/80261?usp=email )
Change subject: mb/up/squared: Make mini PCIe port mode configurable
......................................................................
mb/up/squared: Make mini PCIe port mode configurable
Add config choice menu and pad configuration to put Mini PCIe port into
mSATA mode.
The vendor firmware's "Chipset->Mini PCIe / mSATA Switch" option has
been used together with the output of inteltool and intel2pm to deduce
the exact pad configuration.
Note: the vendor firmware does not autodetect the mode, and the default
setting for the port is "Mini PCIe".
Tested with Kingston SUV500MS120G mSATA SSD.
Change-Id: Ic2da1dd4252ebb5e373bc65418e321f566d4c10f
Signed-off-by: Reto Buerki <reet(a)codelabs.ch>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80261
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Nico Huber <nico.h(a)gmx.de>
---
M src/mainboard/up/squared/Kconfig
M src/mainboard/up/squared/gpio.h
M src/mainboard/up/squared/romstage.c
3 files changed, 30 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Nico Huber: Looks good to me, approved
diff --git a/src/mainboard/up/squared/Kconfig b/src/mainboard/up/squared/Kconfig
index ca8eef0..628b13e 100644
--- a/src/mainboard/up/squared/Kconfig
+++ b/src/mainboard/up/squared/Kconfig
@@ -76,4 +76,22 @@
bool
default y
+choice
+ prompt "Mini PCIe port mode"
+ default MINI_PCIE_MODE_PCIE
+ help
+ Choose the operating mode of the mini PCIe port.
+
+config MINI_PCIE_MODE_PCIE
+ bool "PCIe"
+ help
+ Select this option to leave the mini PCIe port in PCIe mode. This is
+ also the default mode of the vendor firmware.
+
+config MINI_PCIE_MODE_MSATA
+ bool "mSATA"
+ help
+ Select this option to put the mini PCIe port into mSATA mode.
+endchoice
+
endif
diff --git a/src/mainboard/up/squared/gpio.h b/src/mainboard/up/squared/gpio.h
index 1aecc18..876b326 100644
--- a/src/mainboard/up/squared/gpio.h
+++ b/src/mainboard/up/squared/gpio.h
@@ -777,4 +777,14 @@
PAD_CFG_NF_IOSSTATE_IOSTERM(GPIO_43, UP_20K, DEEP, NF1, HIZCRx0, DISPUPD),
};
+/*
+ * Pad configuration to put MiniPCIe port into mSATA mode.
+ */
+static const struct pad_config msata_mode_gpio_table[] = {
+ /* ------- GPIO Group North-West ------- */
+
+ /* GPIO_213 - GPIO */
+ PAD_CFG_TERM_GPO(GPIO_213, 0, UP_20K, DEEP),
+};
+
#endif /* CFG_GPIO_H */
diff --git a/src/mainboard/up/squared/romstage.c b/src/mainboard/up/squared/romstage.c
index 12e4135..f4ccdaf 100644
--- a/src/mainboard/up/squared/romstage.c
+++ b/src/mainboard/up/squared/romstage.c
@@ -103,6 +103,8 @@
FSP_M_CONFIG *config = &memupd->FspmConfig;
gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
+ if (CONFIG(MINI_PCIE_MODE_MSATA))
+ gpio_configure_pads(msata_mode_gpio_table, ARRAY_SIZE(msata_mode_gpio_table));
uint8_t memory_skuid = get_memory_skuid();
printk(BIOS_DEBUG, "MAINBOARD: Found memory SKU ID: 0x%02x\n", memory_skuid);
--
To view, visit https://review.coreboot.org/c/coreboot/+/80261?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ic2da1dd4252ebb5e373bc65418e321f566d4c10f
Gerrit-Change-Number: 80261
Gerrit-PatchSet: 4
Gerrit-Owner: Reto Buerki <reet(a)codelabs.ch>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-MessageType: merged