Browse Source

mem: uefi mem region move to 0x41000000.

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
minda.chen 1 year ago
parent
commit
5e944aa9ef
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/MemDetect.c

+ 2 - 2
Platform/RISC-V/PlatformPkg/Universal/Pei/PlatformPei/MemDetect.c

@@ -49,7 +49,7 @@ PublishPeiMemory (
   // TODO: This value should come from platform
   // configuration or the memory sizing code.
   //
-  MemoryBase = 0x80000000UL + 0x1000000UL;
+  MemoryBase = 0x40000000UL + 0x1000000UL;
   MemorySize = 0x40000000UL - 0x1000000UL; // 1GB - 16MB
 
   DEBUG ((DEBUG_INFO, "%a: MemoryBase:0x%x MemorySize:%x\n", __FUNCTION__, MemoryBase, MemorySize));
@@ -76,5 +76,5 @@ InitializeRamRegions (
   // TODO: This value should come from platform
   // configuration or the memory sizing code.
   //
-  AddMemoryRangeHob (0x81000000UL, 0x81000000UL + 0x3F000000UL);
+  AddMemoryRangeHob (0x41000000UL, 0x41000000UL + 0x3F000000UL);
 }