From ca02a963daaf9717223ab0ab2c898960240b0910 Mon Sep 17 00:00:00 2001 From: Sophon Date: Thu, 19 Aug 2021 14:43:51 +0800 Subject: [PATCH] DeviceMemoryMap: modify EFI Memory Type of Framebuffer region I don't see any reason of using EfiMaxMemoryType. Signed-off-by: Sophon --- sdm845Pkg/Include/Configuration/DeviceMemoryMap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.45.2