Skip to content

configs/config.protectli_vp2410_no_emmc: create config variant#906

Open
wiktormowinski wants to merge 1 commit into
dasharofrom
eMMC_toggle_protectli
Open

configs/config.protectli_vp2410_no_emmc: create config variant#906
wiktormowinski wants to merge 1 commit into
dasharofrom
eMMC_toggle_protectli

Conversation

@wiktormowinski
Copy link
Copy Markdown
Contributor

Adds ENABLE_EMMC option (default y) to allow building firmware for VP2410e a hardware variant without eMMC. When disabled, the product name reported via SMBIOS changes to "VP2410e".

eMMCEnabled is set by parse_devicetree() at the start of platform_fsp_silicon_init_params_cb(), before mainboard_silicon_init_params() is called. Overriding it directly in FSP UPD at the end of that function is sufficient to prevent FSP from initializing the controller.

pcidev_path_on_root(PCH_DEVFN_EMMC)->enabled is also cleared so the device does not appear in ACPI tables.

Upstream-Status: Inappropriate [Dasharo downstream]

Adds ENABLE_EMMC option (default y) to allow building firmware for
VP2410e — a hardware variant without eMMC. When disabled, the product
name reported via SMBIOS changes to "VP2410e".

`eMMCEnabled` is set by `parse_devicetree()` at the start of
`platform_fsp_silicon_init_params_cb()`, before `mainboard_silicon_init_params()`
is called. Overriding it directly in FSP UPD at the end of that function
is sufficient to prevent FSP from initializing the controller.

`pcidev_path_on_root(PCH_DEVFN_EMMC)->enabled` is also cleared so the
device does not appear in ACPI tables.

Upstream-Status: Inappropriate [Dasharo downstream]

Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant