After switching from Corporate to Consumer CSME, the ME binary shrunk.
This allows to reclaim some free space in the FMAP by shrinking the
region.
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Update to latest CSME 18.1.18.2724_v5 for Meteor Lake H/U
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
get_smbios_data is unconditionally present in struct device_operations,
so a preprocessor guard is not needed. Replace #if CONFIG() / #endif
with if (CONFIG()) so the compiler checks both branches.
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
$(wildcard ...) already returns an empty string when the path does not
exist, so the $(if $(wildcard ...),x,) wrapper is redundant. Replace
both payload-swid-ready-dep and ipxe-swid-ready-dep assignments with
a plain $(wildcard ...) call.
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
GCC 13 promotes -Wflex-array-member-not-at-end to an error. The
bpm_ibbs and bpm_ibbs_bottom structs contain hash_struct members with
flexible arrays that are not at the end of their containing struct.
Their layout is fixed by the CBnT hardware specification and cannot
be reordered.
Suppress the diagnostic with a pragma guard around the affected struct
definitions. These hash_struct fields are deprecated since CBnT BWG
v1.2.0 and are always written with size=0 (no payload bytes).
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Move the mountpoint to /tmp, where permissions should not be a an issue.
Upstream-Status: Inappropriate [Dasharo CI]
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
The GH runners have UID 1001, while user coreboot in SDK has id 1000.
This creates a mismatch of IDs and causes permission problems when
mounting coreboot git repository under /home/coreboot/coreboot in the
container, because the /home/coreboot is a HOME directory of different
user.
To fix the problem, move the mountpoint to a "neutral" place, where
permissions should not be a an issue. The /build directory is chosen
so that it does not collide with any HOME directory or system directory.
Upstream-Status: Inappropriate [Dasharo CI]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Required to build with SBOM support, otherwise go is missing
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Move mainboard_configure_gpios() from bootblock_mainboard_early_init()
to mainboard_init() in ramstage. GPIO configuration does not need to
run before DRAM is available and the full device tree context is
present.
Disable USE_LEGACY_8254_TIMER (required for s0ix/modern standby
compatibility) and normalize SIO printk messages to a consistent
"SIO: <action> (LDNx)" format. Inline the half_populated constant
in the memcfg_init() call.
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Improve performance by lowering the EPP value from the power-on default
of 0xb3 (70%) to 0x73 (45%). Lower value = higher performance.
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Enable debug SMI, which works around issue Dasharo/dasharo-issues#1664.
This is a workaround and should be removed once a proper solution to the
issue is found.
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Because UEFI DBX keeps growing in size, and we have a lot of UEFI
variables, we've run into an issue where there's not enough free space
to update the DBX. Increase the SMMSTORE region to 512K to mitigate this
issue.
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Fixes the TPM2 recognition in Windows by ensuring consistent
ACPI device path reconstruction
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
Fixes the build-time dependencies to elliminate race conditions
preparing SBOM in a parallel build. SBOM is generated only when all
components are in place, and doesn't trigger any cloning/rebuilds.
Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
New FD blobs have changed SPA setting such that:
- SATA is disabled
- Lane reversal is enabled
- 2x2 or 1x2 + 2x1 bifurcation is configured
This way, the SSD always lands on root port 1 and gets 2 lanes, and
subsequent devices on lanes 2,3 of SPA get allocated either an x1 or x2
link depending on board.
Upstream-Status: Pending
Change-Id: Ibd007334d09872baf7781ad2887212f4f847fc9b
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>