From 8799fde76062b381721ad856fb382983b98c52a5 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 10 Jul 2015 15:27:02 -0700 Subject: [PATCH] arm64/a57: Move cortex_a57.h under include directory BUG=chrome-os-partner:41877 BRANCH=None TEST=Compiles successfully Change-Id: I8a94176a3faacb25ae5e9eaeaac4011ddf5af6a1 Signed-off-by: Patrick Georgi Original-Commit-Id: 802cba6f28a4e683256e8ce9fb6395acecdc9397 Original-Change-Id: I3a5983d4a40466bc0aa8ab3bd8430ab6cdd093cc Original-Signed-off-by: Furquan Shaikh Original-Reviewed-on: https://chromium-review.googlesource.com/284868 Original-Reviewed-by: Yen Lin Original-Reviewed-by: Aaron Durbin Original-Trybot-Ready: Furquan Shaikh Original-Tested-by: Furquan Shaikh Original-Commit-Queue: Furquan Shaikh Reviewed-on: http://review.coreboot.org/10898 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/arch/arm64/cpu/cortex_a57.S | 2 +- src/arch/arm64/{ => include}/cpu/cortex_a57.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename src/arch/arm64/{ => include}/cpu/cortex_a57.h (93%) diff --git a/src/arch/arm64/cpu/cortex_a57.S b/src/arch/arm64/cpu/cortex_a57.S index ce8534b0a7..4535d2bb5e 100644 --- a/src/arch/arm64/cpu/cortex_a57.S +++ b/src/arch/arm64/cpu/cortex_a57.S @@ -19,7 +19,7 @@ #include #include -#include "cortex_a57.h" +#include ENTRY(arm64_cpu_early_setup) mrs x0, CPUECTLR_EL1 diff --git a/src/arch/arm64/cpu/cortex_a57.h b/src/arch/arm64/include/cpu/cortex_a57.h similarity index 93% rename from src/arch/arm64/cpu/cortex_a57.h rename to src/arch/arm64/include/cpu/cortex_a57.h index 5bd6160d18..113a6ff946 100644 --- a/src/arch/arm64/cpu/cortex_a57.h +++ b/src/arch/arm64/include/cpu/cortex_a57.h @@ -20,6 +20,9 @@ #ifndef __ARCH_ARM64_CORTEX_A57_H__ #define __ARCH_ARM64_CORTEX_A57_H__ +#define CPUACTLR_EL1 s3_1_c15_c2_0 +#define BTB_INVALIDATE (1 << 0) + #define CPUECTLR_EL1 S3_1_c15_c2_1 #define SMPEN_SHIFT 6