This commit is contained in:
Jeremy Soller
2020-10-12 21:11:58 -06:00
parent 3df8580f37
commit 22ffb6ef4a
53 changed files with 11703 additions and 477 deletions

View File

@@ -36,6 +36,10 @@ EDK2_ARGS=(
-D SOURCE_DEBUG_ENABLE=FALSE
)
# Set edk2 PCIE_BASE to coreboot MMCONF_BASE_ADDRESS
PCIE_BASE="$(grep '^CONFIG_MMCONF_BASE_ADDRESS=' "${MODEL_DIR}/coreboot.config" | cut -d '=' -f 2)"
EDK2_ARGS+=(-D PCIE_BASE="${PCIE_BASE}")
# Rebuild firmware-setup (used by edk2)
touch apps/firmware-setup/Cargo.toml
make -C apps/firmware-setup