]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg/ArmVirtQemu: gate FDT config table install with build option
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 31 Mar 2016 11:15:05 +0000 (13:15 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 31 Mar 2016 14:37:33 +0000 (16:37 +0200)
commitb359fb9115b2bf1b8809d0258cd5bc69846efc84
treef11e488d4bc13d7071aee4830c267ffb502ec77c
parent7a63d29151ae9fec47e409298999cd9a1ee4b5c1
ArmVirtPkg/ArmVirtQemu: gate FDT config table install with build option

This introduces the .DSC define 'PURE_ACPI_BOOT_ENABLE', defaulting to
FALSE, which controls the value of the feature PCD 'PcdPureAcpiBoot'.

This allows an ArmVirtQemu image to be built that restricts the OS to
booting in ACPI mode.

This feature is only added to ArmVirtQemu, and not to ArmVirtQemuKernel,
the reason being that the latter is mostly intended for development work,
where the burden of adding 'acpi=force' if you need it is much more
tolerable than when trying to boot an installer on a production KVM guest
instance.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/ArmVirtQemu.dsc