diff options
author | Benjamin You <benjamin.you@intel.com> | 2017-11-14 16:41:13 +0800 |
---|---|---|
committer | Benjamin You <benjamin.you@intel.com> | 2017-11-16 10:52:00 +0800 |
commit | e2ef8b9a684fcee4bb52c706020bfa5fca796665 (patch) | |
tree | a3a686e43b3f13742415c71ee4d5d4076ab2c840 /CorebootModulePkg | |
parent | 996bd353d28f6bf48ea6047c71f95c59ac378e61 (diff) | |
download | edk2-e2ef8b9a684fcee4bb52c706020bfa5fca796665.tar.gz |
CorebootModulePkg/CbSupportDxe: Remove duplicated IO Space addition
Since UefiCpuPkg's CpuDxe Driver already adds Local Apic's MMIO space to
GCD, CorebootModulePkg's CbSupportDxe should not do this again. Doing this
again causes error return status from GCD service, and ASSERT (FALSE) with
debug build, so the duplicated addition is removed.
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Benjamin You <benjamin.you@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
Diffstat (limited to 'CorebootModulePkg')
-rwxr-xr-x | CorebootModulePkg/CbSupportDxe/CbSupportDxe.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c b/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c index 24bacf815c..c526c9e871 100755 --- a/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c +++ b/CorebootModulePkg/CbSupportDxe/CbSupportDxe.c @@ -140,9 +140,6 @@ CbDxeEntryPoint ( //
// Report MMIO/IO Resources
//
- Status = CbReserveResourceInGcd (TRUE, EfiGcdMemoryTypeMemoryMappedIo, 0xFEE00000, SIZE_1MB, 0, SystemTable); // LAPIC
- ASSERT_EFI_ERROR (Status);
-
Status = CbReserveResourceInGcd (TRUE, EfiGcdMemoryTypeMemoryMappedIo, 0xFEC00000, SIZE_4KB, 0, SystemTable); // IOAPIC
ASSERT_EFI_ERROR (Status);
|