]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/ArmVExpressLibRTSM: Removed unused dead code
authorOlivier Martin <olivier.martin@arm.com>
Fri, 11 Apr 2014 15:58:13 +0000 (15:58 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 11 Apr 2014 15:58:13 +0000 (15:58 +0000)
This code is only specific to the ARM Versatile Express hardware board.
There is no concept of logic tile on the FVP model.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15460 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/RTSMMem.c

index 68efde7065d8c6f99383f84af7194b79f8a72ded..438947d3e5f3bb73a8c9e171d5760a9c53246163 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 *\r
-*  Copyright (c) 2011, ARM Limited. All rights reserved.\r
+*  Copyright (c) 2011-2014, ARM Limited. All rights reserved.\r
 *  \r
 *  This program and the accompanying materials                          \r
 *  are licensed and made available under the terms and conditions of the BSD License         \r
@@ -19,7 +19,7 @@
 #include <Library/MemoryAllocationLib.h>\r
 #include <ArmPlatform.h>\r
 \r
-// Number of Virtual Memory Map Descriptors without a Logic Tile\r
+// Number of Virtual Memory Map Descriptors\r
 #define MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS          5\r
 \r
 // DDR attributes\r
@@ -105,19 +105,6 @@ ArmPlatformGetVirtualMemoryMap (
   VirtualMemoryTable[Index].Length       = 2 * ARM_VE_SMB_PERIPH_SZ;\r
   VirtualMemoryTable[Index].Attributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE;\r
 \r
-//TODO:This should be enabled for final release. Right now, ARM VE RTSM crashes.\r
-//  // If a Logic Tile is connected to The ARM Versatile Express Motherboard\r
-//  if (MmioRead32(ARM_VE_SYS_PROCID1_REG) != 0) {\r
-//      VirtualMemoryTable[++Index].PhysicalBase = ARM_VE_EXT_AXI_BASE;\r
-//      VirtualMemoryTable[Index].VirtualBase  = ARM_VE_EXT_AXI_BASE;\r
-//      VirtualMemoryTable[Index].Length       = ARM_VE_EXT_AXI_SZ;\r
-//      VirtualMemoryTable[Index].Attributes   = ARM_MEMORY_REGION_ATTRIBUTE_DEVICE;\r
-//\r
-//      ASSERT((Index + 1) == (MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS + 1));\r
-//  } else {\r
-//    ASSERT((Index + 1) == MAX_VIRTUAL_MEMORY_MAP_DESCRIPTORS);\r
-//  }\r
-\r
   // End of Table\r
   VirtualMemoryTable[++Index].PhysicalBase = 0;\r
   VirtualMemoryTable[Index].VirtualBase  = 0;\r