DeviceMemoryMap: modify EFI Memory Type of Framebuffer region
authorSophon <strongtz@yeah.net>
星期四, 19 Aug 2021 06:43:51 +0000 (14:43 +0800)
committerSophon <strongtz@yeah.net>
星期四, 19 Aug 2021 06:43:51 +0000 (14:43 +0800)
I don't see any reason of using EfiMaxMemoryType.

Signed-off-by: Sophon <strongtz@yeah.net>
sdm845Pkg/Include/Configuration/DeviceMemoryMap.h

index 32d2f7c3652cd3ac0f8db7e839cbbcd3667ecf1c..46851ca2981210220483e0b4616e8bb922749f5f 100644 (file)
@@ -96,7 +96,7 @@ static ARM_MEMORY_REGION_DESCRIPTOR_EX gDeviceMemoryDescriptorEx[] = {
     /* FrameBuffer */\r
     {0x9D400000, 0x02400000, EFI_RESOURCE_MEMORY_RESERVED,\r
      EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE,\r
-     ARM_MEMORY_REGION_ATTRIBUTE_WRITE_THROUGH, AddMem, EfiMaxMemoryType},\r
+     ARM_MEMORY_REGION_ATTRIBUTE_WRITE_THROUGH, AddMem, EfiReservedMemoryType},\r
     /* FV Region */\r
     {0x9F800000, 0x00200000, EFI_RESOURCE_SYSTEM_MEMORY,\r
      SYSTEM_MEMORY_RESOURCE_ATTR_CAPABILITIES,\r