]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoard.c
ArmPlatformPkg: remove ArmPlatformInitializeSystemMemory
[mirror_edk2.git] / BeagleBoardPkg / Library / BeagleBoardLib / BeagleBoard.c
old mode 100755 (executable)
new mode 100644 (file)
index 4e58f36..d8eec72
@@ -1,14 +1,14 @@
 /** @file\r
 *\r
 *  Copyright (c) 2011-2012, 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
-*  which accompanies this distribution.  The full text of the license may be found at        \r
-*  http://opensource.org/licenses/bsd-license.php                                            \r
 *\r
-*  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-*  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+*  This program and the accompanying materials\r
+*  are licensed and made available under the terms and conditions of the BSD License\r
+*  which accompanies this distribution.  The full text of the license may be found at\r
+*  http://opensource.org/licenses/bsd-license.php\r
+*\r
+*  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+*  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 *\r
 **/\r
 \r
@@ -47,10 +47,10 @@ BeagleBoardGetRevision (
   OldPinDir = MmioRead32 (GPIO6_BASE + GPIO_OE);\r
   MmioWrite32(GPIO6_BASE + GPIO_OE, (OldPinDir | BIT11 | BIT12 | BIT13));\r
   Revision = MmioRead32 (GPIO6_BASE + GPIO_DATAIN);\r
-  \r
+\r
   // Restore I/O settings\r
   MmioWrite32 (GPIO6_BASE + GPIO_OE, OldPinDir);\r
-  \r
+\r
   return (BEAGLEBOARD_REVISION)((Revision >> 11) & 0x7);\r
 }\r
 \r
@@ -92,29 +92,15 @@ ArmPlatformInitialize (
 \r
   // Turn off the functional clock for Timer 3\r
   MmioAnd32 (CM_FCLKEN_PER, 0xFFFFFFFF ^ CM_ICLKEN_PER_EN_GPT3_ENABLE );\r
-  ArmDataSyncronizationBarrier ();\r
+  ArmDataSynchronizationBarrier ();\r
 \r
   // Clear IRQs\r
   MmioWrite32 (INTCPS_CONTROL, INTCPS_CONTROL_NEWIRQAGR);\r
-  ArmDataSyncronizationBarrier ();\r
+  ArmDataSynchronizationBarrier ();\r
 \r
   return RETURN_SUCCESS;\r
 }\r
 \r
-/**\r
-  Initialize the system (or sometimes called permanent) memory\r
-\r
-  This memory is generally represented by the DRAM.\r
-\r
-**/\r
-VOID\r
-ArmPlatformInitializeSystemMemory (\r
-  VOID\r
-  )\r
-{\r
-  // We do not need to initialize the System Memory on RTSM\r
-}\r
-\r
 VOID\r
 ArmPlatformGetPlatformPpiList (\r
   OUT UINTN                   *PpiListSize,\r