ArmPlatformPkg/ArmRealViewEbPkg: Introduce 'ArmRealViewEb.dsc.inc' to avoid duplication of library and PCD defintions around ARM RealView Emulation Boards
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12427 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -37,3 +37,7 @@
|
||||
|
||||
[FeaturePcd]
|
||||
gEmbeddedTokenSpaceGuid.PcdCacheEnable
|
||||
|
||||
[FixedPcd]
|
||||
gArmTokenSpaceGuid.PcdSystemMemoryBase
|
||||
gArmTokenSpaceGuid.PcdSystemMemorySize
|
||||
|
@@ -68,9 +68,9 @@ ArmPlatformGetVirtualMemoryMap (
|
||||
VirtualMemoryTable[Index].Attributes = (ARM_MEMORY_REGION_ATTRIBUTES)CacheAttributes;
|
||||
|
||||
// DDR
|
||||
VirtualMemoryTable[++Index].PhysicalBase = ARM_EB_DRAM_BASE;
|
||||
VirtualMemoryTable[Index].VirtualBase = ARM_EB_DRAM_BASE;
|
||||
VirtualMemoryTable[Index].Length = ARM_EB_DRAM_SZ;
|
||||
VirtualMemoryTable[++Index].PhysicalBase = PcdGet32 (PcdSystemMemoryBase);
|
||||
VirtualMemoryTable[Index].VirtualBase = PcdGet32 (PcdSystemMemoryBase);
|
||||
VirtualMemoryTable[Index].Length = PcdGet32 (PcdSystemMemorySize);
|
||||
VirtualMemoryTable[Index].Attributes = (ARM_MEMORY_REGION_ATTRIBUTES)CacheAttributes;
|
||||
|
||||
// SMC CS7
|
||||
|
@@ -34,8 +34,7 @@ ArmPlatformTrustzoneInit (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
//ASSERT(FALSE);
|
||||
DEBUG((EFI_D_ERROR,"Initialize Trustzone Hardware\n"));
|
||||
ASSERT(FALSE);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -48,7 +47,8 @@ ArmPlatformTrustzoneInit (
|
||||
VOID
|
||||
ArmPlatformSecInitialize (
|
||||
VOID
|
||||
) {
|
||||
)
|
||||
{
|
||||
// Do nothing yet
|
||||
}
|
||||
|
||||
|
@@ -23,7 +23,6 @@
|
||||
|
||||
#include <Library/DebugAgentTimerLib.h>
|
||||
|
||||
#include <ArmEb/ArmEb.h>
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -32,10 +32,3 @@
|
||||
BaseLib
|
||||
DebugLib
|
||||
IoLib
|
||||
|
||||
[Guids]
|
||||
|
||||
[Protocols]
|
||||
|
||||
[Pcd]
|
||||
|
||||
|
Reference in New Issue
Block a user