diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2015-11-06 17:19:56 +0000 |
---|---|---|
committer | leiflindholm <leiflindholm@Edk2> | 2015-11-06 17:19:56 +0000 |
commit | 3535213aaec279d84bae7da40a4b982ab9fdf89b (patch) | |
tree | d3f67cecb6ef6f66f35b422fcc0b86157fcb89e0 /ArmPkg/Drivers | |
parent | 3666990b0fb7f099acac658b471ae7280168f3c8 (diff) | |
download | edk2-platforms-3535213aaec279d84bae7da40a4b982ab9fdf89b.tar.xz |
ArmPkg: Purge unused/unneeded CPU-specific header files
In ArmPkg/Include/Chipset, several CPU-specific header files reside.
Most of these provide no actual, or very little, use.
ARM1176JZ-S.h is not used at all (and unusable since SVN r18237).
ArmAemV8.h simply includes AArch64.h.
ArmCortexA15.h defines one processor-specific configuration bit and
then includes ArmV7.h.
Delete these include files, and update their sole users to function
without them.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18736 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Drivers')
-rw-r--r-- | ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.c | 4 | ||||
-rw-r--r-- | ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.c b/ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.c index a1678febc4..e05e8abf39 100644 --- a/ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.c +++ b/ArmPkg/Drivers/ArmCpuLib/ArmCortexA15Lib/ArmCortexA15Lib.c @@ -19,7 +19,9 @@ #include <Library/DebugLib.h>
#include <Library/PcdLib.h>
-#include <Chipset/ArmCortexA15.h>
+#include <Chipset/ArmV7.h>
+
+#define A15_FEATURE_SMP (1<<6)
VOID
ArmCpuSetup (
diff --git a/ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.c b/ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.c index 9b1815f8f2..ee2c057fe0 100644 --- a/ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.c +++ b/ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.c @@ -17,7 +17,7 @@ #include <Library/ArmGenericTimerCounterLib.h>
#include <Library/PcdLib.h>
-#include <Chipset/ArmAemV8.h>
+#include <Chipset/AArch64.h>
VOID
ArmCpuSetup (
|