configs/config.protectli_vp2410_no_emmc: create config variant#906
Open
wiktormowinski wants to merge 1 commit into
Open
configs/config.protectli_vp2410_no_emmc: create config variant#906wiktormowinski wants to merge 1 commit into
wiktormowinski wants to merge 1 commit into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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".
eMMCEnabledis set byparse_devicetree()at the start ofplatform_fsp_silicon_init_params_cb(), beforemainboard_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)->enabledis also cleared so the device does not appear in ACPI tables.Upstream-Status: Inappropriate [Dasharo downstream]