diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-17 04:33:00 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-20 01:12:28 +0000 |
commit | a4e8fb2afd6ff92e84bd03c55668708e0c5d17df (patch) | |
tree | b2cf6a0211d6e18b675e63956a85b0c6572c462d /src/arch/arm/include | |
parent | 5c82c444fba6fd3cf506c777546a5481755808ff (diff) | |
download | coreboot-a4e8fb2afd6ff92e84bd03c55668708e0c5d17df.tar.xz |
arch/non-x86: Remove use of __PRE_RAM__
Change-Id: Id8918f40572497b068509b5d5a490de0435ad50b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34921
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/arch/arm/include')
-rw-r--r-- | src/arch/arm/include/armv7/arch/cpu.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/arch/arm/include/armv7/arch/cpu.h b/src/arch/arm/include/armv7/arch/cpu.h index 22b3fb443d..55ac5ea8b3 100644 --- a/src/arch/arm/include/armv7/arch/cpu.h +++ b/src/arch/arm/include/armv7/arch/cpu.h @@ -17,12 +17,10 @@ #define __ARCH_CPU_H__ #include <stdint.h> +#include <device/device.h> #define asmlinkage -#if !defined(__PRE_RAM__) -#include <device/device.h> - struct cpu_driver { struct device_operations *ops; const struct cpu_device_id *id_table; @@ -34,8 +32,6 @@ struct cpuinfo_arm { uint8_t arm_model; }; -#endif - /* Primitives for CPU and MP cores. */ /* read Main Id register (MIDR) */ |