Commit graph

62,395 commits

Author SHA1 Message Date
Sean Rhodes
4ef7804bc4 mb/starlabs/starbook/mtl: Add rcomp configuration
Add rcomp configuration values taken from the AMI CRB. This fixes
failed memory training for certain memory modules.

Change-Id: If7a29bbd015d45eac178480ba6cae42912e25195
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86307
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-02-07 08:52:06 +00:00
Sean Rhodes
21f0df3c1a mb/starlabs/starbook/mtl: Correct DIMM Speed Size
The DDR5 modules have a speed size of 1024 bytes, not 512. Update
Kconfig to reflect this.

Change-Id: Ic7b691104ff8b0061a485f01709a2f53046cc94a
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86306
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-02-07 08:52:02 +00:00
Amanda Huang
e75cc637ce mb/google/fatcat/var/francka: Decrease trace length of USB-A phy to short
To resolve the issue of not being able to boot from USB on Francka, the USB PHY settings need to be modified.

BUG=b:394206896
TEST=Build and test Type-A port function works fine

Change-Id: I140b8a2047768d3aeb0d5919aad998bd9dcd099f
Signed-off-by: Amanda Huang <amanda_hwang@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86285
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Ian Feng <ian_feng@compal.corp-partner.google.com>
2025-02-07 08:34:57 +00:00
Bora Guvendik
d0f895a548 mb/google/fatcat: Set frequency and gears for SaGv work points
Update sagv gears and frequency values as per recommendation
from power and performance team.

BUG=none
TEST=Boot to OS.

Signed-off-by: Bora Guvendik <bora.guvendik@intel.com>
Change-Id: I315fcac387680df9312880120b7e6d33bded38e0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86274
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
2025-02-07 04:39:09 +00:00
Bora Guvendik
d5ad4ce36c soc/intel/pantherlake: Add ability to set SaGv work points
Hook up SaGv work point UPDs.

BUG=none
TEST=Boot to OS.

Signed-off-by: Bora Guvendik <bora.guvendik@intel.com>
Change-Id: Ie38d007edc293727066f2bc9f67037e6fbe77aa5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86277
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
2025-02-07 04:39:04 +00:00
Matt DeVillier
4526bc68df drivers/intel/gma: Drop unused MAILBOXES_DESKTOP
MAILBOXES_DESKTOP is unused, and the IGD opregion spec makes no
distinction in the mailboxes supported between desktop and mobile
platforms. Rename MAILBOXES_MOBILE to IGD_MAILBOXES for consistency
with other mailbox variables and clean up the comment.

Change-Id: Ia06fe75702887aa6953bf17bd4bc14af4038bec5
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86279
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-06 09:18:25 +00:00
Matt DeVillier
857a92ef4b drivers/intel/gma: Don't advertise support for opregion mailbox #2
IGD mailbox #2, Software SCI Interface, is not supported by coreboot
currently, as it requires supporting the Get BIOS Data (GBDA) and
System BIOS Callbacks (SBCB) interfaces. Since coreboot doesn't
support these, don't advertise mailbox #2 support.

This eliminates an error with the Linux display drivers:
"SWSCI request timed out"

TEST=build/boot Linux 6.9, Win11 on starlabs/starlite_adl

Change-Id: I8efcf9c5d384b6e0ce159d65cb1497c2e2e47f42
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86276
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
2025-02-06 09:18:19 +00:00
Matt DeVillier
f56b8b49e8 drivers/intel/gma: Fix alignment of extended VBT in opregion
Intel's reference implementation in Slimbootloader pads the area
allocated for the extended VBT to the nearest 512-byte boundary, which
strongly suggests that the Windows driver expects the same.

TEST=build/boot Linux 6.9, Win11 on starlabs/starlite_adl, verify
VBT read properly by OS.

Change-Id: Ib3784eea6eb929ffec9672fc123b833c11c057e8
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86275
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-06 09:18:12 +00:00
Sean Rhodes
fa3fd6871a mb/starlabs/starbook/adl: Change soft strap GPIO to DEEP reset
This has no noticable affect apart from being more consistant with
other boards.

Change-Id: Ia2d9284a7dfd29f47356860d6085c7aa5b94adb4
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86289
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-06 09:06:56 +00:00
Sean Rhodes
78c9f0e96d mb/starlabs/starbook/adl: Remove OverCurrent config
The schematics show that these are not connected, so disconnect
the GPIOs and set the ports to OC_SKIP.

Change-Id: I9e2b087b348fbae12edaf085fb61776277514c93
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86288
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-02-06 09:06:52 +00:00
Sean Rhodes
66d7d922e1 mb/starlabs/starbook/adl: Change the HPD to DEEP reset
DEEP proves more reliable on Linux with USB-C displays.

Change-Id: I04e243c6409af64fef0996b474aa448ce32b2da9
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86287
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-06 09:06:48 +00:00
Sean Rhodes
73c741bbf9 mb/starlabs/starbook/adl: Disconnect the WLAN Sleep GPIO
The schematics show this pin isn't connected, so disconnect it.

Change-Id: Ib21048fa0972231410b7e8f7829a9eeac1d065c7
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86286
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-02-06 09:06:44 +00:00
Vladimir Serbinenko
4985079b16 acpi: Zero-out MADT before filling it
Otherwise flags field is pre-filled with random garbage.

Change-Id: Ie5dc0720183b8ba07561341003f28a86ffce911e
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86246
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
2025-02-05 18:11:26 +00:00
Matt DeVillier
224ec03fdf soc/intel/{adl,tgl}: Set IOM ACPI device to hidden/on
This prevents Windows from displaying the IOM device in Device Manager
as an unknown device with no driver available, and brings Alderlake
and Tigerlake in line with Meteorlake and Pantherlake.

TEST=build/boot Win11 on starlabs/starlite_adl, verify IOM device
not shown as unknown device in Device Manager.

Change-Id: Ib31018173126737b36a6e0d822eba2ebc9c42306
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86257
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-05 18:10:34 +00:00
Matt DeVillier
1f0d3db4f4 soc/intel/{adl,tgl}: Set PMC ACPI device to hidden/on
This prevents Windows from displaying the PMC device in Device Manager
as an unknown device with no driver available, and brings Alderlake
and Tigerlake in line with Meteorlake and Pantherlake.

TEST=build/boot Win11 on starlabs/starlite_adl, verify PMC device
not shown as unknown device in Device Manager.

Change-Id: I4bd62d113455fab7fcb272d85f70e6a185e53b74
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86256
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
2025-02-05 18:10:29 +00:00
Gavin Liu
2fdfa50437 soc/mediatek/mt8196: Specify MTKLIB_PATH for building BL31
Add BL31 static library path to BL31 build argument.

BRANCH=rauru
BUG=b:317009620
TEST=Build pass with and without static library. boot ok.

Change-Id: I858686ede3730fb70f71565ca3593e7eb4c460d2
Signed-off-by: Gavin Liu <gavin.liu@mediatek.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86252
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
2025-02-05 09:10:30 +00:00
Sean Rhodes
0e66daffac mb/starlabs/starbook/mtl: Disconnect WAKE_N GPIO
This is not connected, so update the configuration to
reflect that.

Change-Id: I2922988758e0fa73b4d29ac13380f20f4606cd8e
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86269
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-02-05 08:22:35 +00:00
Sean Rhodes
5120f6ac73 mb/starlabs/starbook/mtl: Disable DQS interleaving
This causes FSP-M to fail memory training, so disable it.

Change-Id: I4a3544a153d6d4da95c4d679665d9c92bd04ed87
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86268
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-05 08:22:29 +00:00
Sean Rhodes
1b652f3179 mb/starlabs/starbook/mtl: Disconnect CNVi GPIOs
This board does not use CNVi, so disconnect the unused GPIOs.

Change-Id: I93457ed65e11c9f6f3bff052bb0d82a0389b67c9
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86267
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-02-05 08:22:27 +00:00
Luca Lai
55f92fdfda mb/google/nissa/var/pujjoga and pujjogatwin: Modify WWAN EM060 power on sequence
Modify GPP_F12 gpio pin to fit em060 power sequence spec.

BUG=b:391066038
TEST=Build and check WWAN EM060 power on sequence.

Change-Id: Ic4e7acf41da004d990529f9ddb0fc5a32ba03b3b
Signed-off-by: Luca Lai <luca.lai@lcfc.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86249
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
2025-02-05 03:20:12 +00:00
Yu-Ping Wu
0201e6b5ec arch/arm64: Drop DISABLE_PEDANTIC=1 for BL31
The upstream arm-trusted-firmware has removed the DISABLE_PEDANTIC
option in Commit 79eb1aff7850 ("Remove DISABLE_PEDANTIC build option").
Therefore, drop the option for BL31.

Change-Id: Iaca07ce190c566fe79814fd8bbd8821d3ea76955
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86263
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2025-02-05 00:00:03 +00:00
John Su
3dabaf8868 mb/google/trulo/var/uldrenite: Add fw_config probe for touchscreen
Use fw_config to probe touchscreen.

BUG=b:392040004
BRANCH=firmware-trulo-15217.771.B
TEST=emerge-nissa coreboot chromeos-bootimage

Change-Id: I63512e85052bce974ffb0b738164bea440bd413c
Signed-off-by: John Su <john_su@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86144
Reviewed-by: Jayvik Desai <jayvik@google.com>
Reviewed-by: Ian Feng <ian_feng@compal.corp-partner.google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
2025-02-04 13:35:16 +00:00
alokagarwal
d5f9d83746 vc/intel/fsp: Update PTL FSP headers from 2431.00 to 2454.00
Update generated FSP headers for PantherLake  from 2431.00 to 2454.00

Changes include:
- Update in FspmUpd.h : Adjusted offsets and updated comments.
- Update in FspsUpd.h : Removed C1e and updates offset of the fields

BUG=b:381169612
TEST=Able to build google/fatcat

Change-Id: I788a0d2373593bc7bd447dd37150ec4fda6d6bb4
Signed-off-by: Alok Agarwal <alok.agarwal@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85750
Reviewed-by: Jayvik Desai <jayvik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: <srinivas.kulkarni@intel.com>
2025-02-04 13:00:11 +00:00
Jamie Ryu
e6785d037d mb/google/fatcat: Enable s0ix
BUG=b:392235839
TEST=Build fatcat and boot to OS. Run suspend_stress_test to ensure
s0ix entry and exit working.

Change-Id: I80c65782830a2a22a9e8bb39615717a11183d30f
Signed-off-by: Jamie Ryu <jamie.m.ryu@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84923
Reviewed-by: Jayvik Desai <jayvik@google.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-04 08:41:04 +00:00
Elyes Haouas
e9718ff79d tree: Use boolean for PchHdaDspEnable
Change-Id: I47852c9b023cc4839000019b8a932b6e471fa839
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86190
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
2025-02-03 21:55:56 +00:00
Elyes Haouas
4b1ad5fc61 tree: Use true, false for DspEnable
DspEnable is a boolean, so use true false instead of 0 1.

Change-Id: I5bab9db3632848f92732160bb821dda8cdb14281
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86189
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-03 21:55:42 +00:00
Ana Carolina Cabral
a23020c43e mb/amd/birman_plus: Update PCIe Slot configurations
Rectify board configuration flags based on the schematics Doc.
105-D99700-00C and User Guide #58168 (NDA).

Change-Id: Ia310ea616006479b9a052afb99d08df6a11431f4
Signed-off-by: Ana Carolina Cabral <ana.cpmelo95@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85493
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-03 21:36:00 +00:00
Raul E Rangel
9e4b75cf34 toolchain: Print CC command and output when CC invocation fails
We are gobbling up the `$(CC_$(arch))` stderr when testing the
toolchain. This change makes it so we print the command we tried to
invoke and the output from the command.

```
toolchain.mk:183: The coreboot toolchain for 'x86_32' architecture was not found.
toolchain.mk:183: /build/guybrush/tmp/portage/sys-boot/coreboot-9999/files/reclient/ccache /build/guybrush/tmp/portage/sys-boot/coreboot-9999/work/coreboot-sdk/bin/i386-elf-gcc -v
I AM STDERR
toolchain.mk:183: I AM STDOUT
toolchain.mk:219:
toolchain.mk:220: Path to your toolchain is currently set to '/build/guybrush/tmp/portage/sys-boot/coreboot-9999/work/coreboot-sdk/bin'
toolchain.mk:222:
toolchain.mk:223: To build the entire coreboot toolchain: run 'make crossgcc'

```

BUG=b:392874252, b:389737339
TEST=USE_REMOTEEXEC=true BOARD=brya bazel run @portage//internal/packages/stage2/target/board/chromiumos/sys-boot/coreboot:9999_debug

Change-Id: I7c7352c7254c21deb3e4a03106b841ec9f111ba4
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86220
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jon Murphy <jpmurphy@google.com>
2025-02-03 19:01:38 +00:00
Keith Hui
89ec6abbe0 mb/asus/p8z77-m: Hide peg11 to squelch warning
All 16 IVB PCIe lanes go to one x16 slot without bifurcation.
There is no use for peg11.

Hide it to squelch the leftover devices warning.

Change-Id: I75402d338e64f477f40682f796477e8fcb94a4e8
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82633
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-02-03 19:00:52 +00:00
Keith Hui
d78b5274d9 mb/asus/p8x7x-series: Hide nonexistent IVB devices
Hide peg12, dev4, and peg60 devices to squelch leftover devices
warning seen with p8z77-m, p8z77-v and p8z77-v_le_plus:

[WARN ]  PCI: Leftover static devices:
[WARN ]  PCI: 00:00:01.1
[WARN ]  PCI: 00:00:01.2
[WARN ]  PCI: 00:00:04.0
[WARN ]  PCI: 00:00:06.0
[WARN ]  PCI: Check your devicetree.cb.

No board in this family can do the 8/4/4 PCIe lane split to
require the peg12 bridge, or implemented dev4 at all.

Only p8c_ws wired up the 4 extra Xeon PCIe lanes peg60 is supposed
to cover, and its overridetree already enables it.

Therefore, be proactive and hide these from the rest of the family.

Change-Id: I24234e6b77a9effc577c8e22c77bb9896b983b7f
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86185
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
2025-02-03 19:00:34 +00:00
Mate Kukri
65e6e34cd5 mb/bostentech/gbyt4: Increase default CBFS size to cover BIOS region
There is no reason to default to a 1MB CBFS when the descriptor gives us
5MB to work with.

Signed-off-by: Mate Kukri <km@mkukri.xyz>
Change-Id: I65a8b161c522a2da58420397aae6c7ff2b5cf30d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86219
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
2025-02-03 19:00:06 +00:00
Mate Kukri
915ae8c642 mb/bostentech/gbyt4: Add VBT
This is useful when booted with the (not yet mainline) libgfxinit for
Bay Trail.

Signed-off-by: Mate Kukri <km@mkukri.xyz>
Change-Id: I73d54c73a12430074f4f3880caf842b3491b5170
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86218
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
2025-02-03 18:59:51 +00:00
Mate Kukri
135b3ecac9 soc/intel/baytrail: Add microcode for '06-37-08' SOCs
Previously only the '06-37-03' and '06-37-09' microcode files were provided
but '06-37-08' was missing.

Linux on my '06-37-08' SOC was segfaulting in various unpredictable ways without
this patch.

Signed-off-by: Mate Kukri <km@mkukri.xyz>
Change-Id: I1a66a8ba980f4fd43f5f54d446edbcd5029e33a0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86217
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
2025-02-03 18:59:45 +00:00
Ana Carolina Cabral
24b1f190b5 mb/amd/birman_plus: Update phoenix port descriptors
Update dxio descriptors based on PI source code 1.2.0.0a.

Change-Id: I54d35060c34043f9d97658ab84b9b1bb2e62ba60
Signed-off-by: Ana Carolina Cabral <ana.cpmelo95@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86232
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2025-02-03 18:58:58 +00:00
Jeremy Compostella
9d366e83d7 vc/google/chromeos: Refactor Makefile to use a macro for CBFS logo
This commit introduces a new macro, cbfs_add_bmp_file, to the ChromeOS
vendor code Makefile. The macro simplifies the process of adding BMP
files to the CBFS (coreboot Filesystem) by encapsulating the
repetitive tasks of specifying file attributes such as file path,
type, and compression flag.

TEST:Both 'cb_logo.bmp' and 'cb_plus_logo.bmp' files are included with
     the same properties, within the coreboot firmware image.

Change-Id: I827451da79931c09768965c3ad071ecdd918d367
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86237
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
2025-02-03 16:44:59 +00:00
Sean Rhodes
210ca19650 mb/starlabs/byte_adl: Disconnect unused GPIOs
Change-Id: Ie4c2c32c0740e2ad763881f3f4d5920387f49c79
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86134
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-03 15:51:10 +00:00
Elyes Haouas
594dba56ec tree: Use true false for PcieRpLtrEnable[]
PcieRpLtrEnable[] is a boolean, so use true false.

Change-Id: I4b557683b7897487dedfef0bf77e60b0dab9cbcf
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86193
Reviewed-by: Erik van den Bogaert <ebogaert@eltan.com>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-03 06:15:03 +00:00
Elyes Haouas
7073567051 tree: Use true false for PcieRpEnable[]
PcieRpEnable[] is a boolean, so use true false instead of 0 1.

Change-Id: I8e67a33f82b7dfa1864016ccd5cd1b7ec119c528
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86192
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-by: Erik van den Bogaert <ebogaert@eltan.com>
2025-02-03 06:14:54 +00:00
Bora Guvendik
4d5587b21e drivers/soc/cse: Fix overflow in CSE telemetry calculation
MSEC_TO_USEC(cse_perf_data.timestamp[i]) does overflow.
Here is an example, if cse_perf_data.timestamp[i] value is
4304903 milliseconds. When multiplied by 1000 to convert to
microseconds, the value becomes 0x979B58 instead of 0x100979B58.

TEST=Boot to OS

Change-Id: I09cc00aa595a821a57a34c38a4435e433e935ad3
Signed-off-by: Bora Guvendik <bora.guvendik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86215
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
2025-02-03 02:16:25 +00:00
Matt DeVillier
5f77be4cfc mb/google/brya/var/craaskov: Add/select VBT
Add VBT data file for craaskov, and enable its use by selecting
INTEL_GMA_HAVE_VBT.

VBT extracted from stock firmware image Google_Craaskov.15217.616.0;
it has BDB version 2.51, which matches the current FSP binaries.

TEST=build/boot craaskov with edk2 payload

Change-Id: I5854f658b7c8ff421d32b70d43ba8cad94d85b5b
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86214
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
2025-02-02 22:46:32 +00:00
Felix Singer
59bb31056d 3rdparty/fsp: Update submodule to upstream master
Updating from commit id 909cf43ad6cc:
2024-12-09 14:08:48 +0800 - (IoT ADL-N IPU25.1 (5354_00))

to commit id 15c0f7b3f723:
2025-01-21 12:24:27 +0800 - (ECG ARL-S PV (4400_43) FSP)

This brings in 9 new commits:
15c0f7b3f723 ECG ARL-S PV (4400_43) FSP
e542b00a36e7 ECG ARL-S PV (4400_43) FSP
055303ae55d9 Create MemInfoHob.txt
5662d38d8834 ECG ARL-S PV (4400_43) FSP
5cc0b60a8a49 NEX ADL-PS IPU 2025.1 (5401_01) FSP
087dc181a47a IoT ADL-N MR6 (5481_00)
fa3362bf4896 Merge branch 'master' of https://github.com/intel/FSP
0a9eafc9737b IoT ADL-N MR6 (5481_00)
e276be95bac3 NEX MTL-UH_MTL-PS MR2 (4122_56) FSP

Change-Id: I2d04308773ccc99983275355c928cd01b034da26
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85851
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
2025-02-02 19:54:16 +00:00
Sean Rhodes
c8fa130a1a mb/starlabs/starbook/mtl: Show ASPM related options in CFR
Meteor Lake uses the same helper functon as Alder Lake, so
it can be configured via the opton API.

Change-Id: I6d1dc802e672431aa643e318a7cb045f7d6eaa06
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86239
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-02-02 19:06:43 +00:00
Sean Rhodes
0e841e82cf mb/starlabs/starlite_adl: Allow controlling the power LED brightness
Add an option to selected a reduced brightness for the power LED. The
EC code will use this option to write to the relavant offset
accordingly.

Change-Id: I4796e0572a48bca5f9c59e96466416e975cfe8ca
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86240
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-02-02 19:06:38 +00:00
Elyes Haouas
3c5dd6b6a5 soc/intel/denverton_ns: Remove unused memcpy_s function
Remove the memcpy_s function as it is not used.
Additionally, the function did not return the expected values:
	0: If the memory copy is successful.
	EINVAL: If dest or src is a null pointer, or if count is greater
		than RSIZE_MAX.
 	ERANGE: If count is greater than destsz.

Change-Id: I0d32c838e94ae760907efe55ed00bab3faaaa8c5
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86233
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2025-02-01 06:00:27 +00:00
Sean Rhodes
258a759fdd mb/starlabs/starbook/mtl: Correct USB Port Configuration
These were initially configured incorrectly; adjust them to match
the schematic:
* Front USB-C: USB2-1 / TCP0
* Back USB-C: USB2-2 / TCP1
* Left USB-A:  USB2-3 / USB3-1
* Right USB-A: USB2-7 / USB3-2
* SD Card: USB2-4
* Webcam: USB2-5
* Bluetooth: USB2-10

TEST=boot starbook/mtl, check USB-C and USB-A function, enter/exit
S3.

Change-Id: I882d70a1d7db0af7ff8e344a3c42a2a9e62df4e8
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86238
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-01-31 19:21:39 +00:00
Sean Rhodes
dbd4206da4 mb/starlabs/starlite_adl: Disconnect PEDET GPIO
This GPIO is only used for SATA SSDs so set it as not
connected.

Change-Id: I42c0ec36eee81a849f744a2d03862797f2463921
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86235
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-01-31 19:21:31 +00:00
Sean Rhodes
8a614cf293 mb/starlabs/starlite_adl: Disconnect WiFi Sleep GPIO
The schematic shows that this GPIO is not connected, so
set it as not connected.

Change-Id: Ia62b76055f839c48fc112ca46d8654db5b331cd9
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86236
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-01-31 19:19:23 +00:00
Sean Rhodes
85bca015cf Revert "mb/starlabs/byte_adl: Correct MODEM_CLKREQ configuration"
This reverts commit 64b8f2130c.

MODEM_CLKREQ is NF2.

Change-Id: I3da0d9873535e9287494f32563bc42ca4d4f9579
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86222
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-01-31 19:19:06 +00:00
Sean Rhodes
eedd915831 Revert "mb/starlabs/starlite_adl: Correct MODEM_CLKREQ configuration"
This reverts commit 5deea4ca73.

MODEM_CLKREQ is NF2.

Change-Id: Iaab736bf3dd859b00b0681d9dbcc6273d8000d63
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86221
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2025-01-31 19:19:01 +00:00
Uday M Bhat
a7c3129f3f mb/google/fatcat/variants/fatcat: Enable BT audio offload
vGPIO configs are configured to enable SSP2 for BT audio offload.

BUG=b:391771159
Test=Verified BT offload with I2S and soundwire configuration

Change-Id: Id68667d674386cf9e6abc066a4637ee055a967f3
Signed-off-by: Uday M Bhat <uday.m.bhat@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86121
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jamie Ryu <jamie.m.ryu@intel.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Pranava Y N <pranavayn@google.com>
2025-01-31 08:43:02 +00:00