From: Sophon Date: 星期四, 19 Aug 2021 06:43:51 +0000 (+0800) Subject: DeviceMemoryMap: modify EFI Memory Type of Framebuffer region X-Git-Tag: v1.0.1~2 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=ca02a963daaf9717223ab0ab2c898960240b0910;p=edk2-sdm845.git DeviceMemoryMap: modify EFI Memory Type of Framebuffer region I don't see any reason of using EfiMaxMemoryType. Signed-off-by: Sophon --- diff --git a/sdm845Pkg/Include/Configuration/DeviceMemoryMap.h b/sdm845Pkg/Include/Configuration/DeviceMemoryMap.h index 32d2f7c..46851ca 100644 --- a/sdm845Pkg/Include/Configuration/DeviceMemoryMap.h +++ b/sdm845Pkg/Include/Configuration/DeviceMemoryMap.h @@ -96,7 +96,7 @@ static ARM_MEMORY_REGION_DESCRIPTOR_EX gDeviceMemoryDescriptorEx[] = { /* FrameBuffer */ {0x9D400000, 0x02400000, EFI_RESOURCE_MEMORY_RESERVED, EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE, - ARM_MEMORY_REGION_ATTRIBUTE_WRITE_THROUGH, AddMem, EfiMaxMemoryType}, + ARM_MEMORY_REGION_ATTRIBUTE_WRITE_THROUGH, AddMem, EfiReservedMemoryType}, /* FV Region */ {0x9F800000, 0x00200000, EFI_RESOURCE_SYSTEM_MEMORY, SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES,