galp5
This commit is contained in:
@@ -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
|
||||
|
@@ -34,7 +34,7 @@ do
|
||||
parts+=("$part")
|
||||
done
|
||||
parts[1]="$(printf '0x%08x' "$((${parts[1]} & 0xfffffffd))")"
|
||||
parts[2]="$(printf '0x%04x' "$((${parts[2]} & 0xffffff00))")"
|
||||
parts[2]="$(printf '0x%04x' "$((${parts[2]} & 0x00003c00))")"
|
||||
|
||||
case "${parts[1]}" in
|
||||
0x0???????)
|
||||
|
Reference in New Issue
Block a user