Revision: 15400
          http://sourceforge.net/p/edk2/code/15400
Author:   oliviermartin
Date:     2014-03-26 19:35:17 +0000 (Wed, 26 Mar 2014)
Log Message:
-----------
ArmPkg/ArmCpuLib: Added A57 Errata 806969

This rare errata only affects r0p0

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.c

Modified: trunk/edk2/ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.c
===================================================================
--- trunk/edk2/ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.c       
2014-03-26 19:34:32 UTC (rev 15399)
+++ trunk/edk2/ArmPkg/Drivers/ArmCpuLib/ArmCortexA5xLib/ArmCortexA5xLib.c       
2014-03-26 19:35:17 UTC (rev 15400)
@@ -40,6 +40,14 @@
     ArmSetCpuExCrBit (A5X_FEATURE_SMP);
   }
 
+  //
+  // If CPU is CortexA57 r0p0 apply Errata: 806969
+  //
+  if ((ArmReadMidr () & ((ARM_CPU_TYPE_MASK << 4) | ARM_CPU_REV_MASK)) ==
+                         ((ARM_CPU_TYPE_A57 << 4) | ARM_CPU_REV(0,0))) {
+    // DisableLoadStoreWB
+    ArmSetCpuActlrBit (1ULL << 49);
+  }
 }
 
 VOID

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to