From a4e8fb2afd6ff92e84bd03c55668708e0c5d17df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 17 Aug 2019 04:33:00 +0300 Subject: arch/non-x86: Remove use of __PRE_RAM__ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id8918f40572497b068509b5d5a490de0435ad50b Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/34921 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/arch/ppc64/include/arch/cpu.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/arch/ppc64/include') diff --git a/src/arch/ppc64/include/arch/cpu.h b/src/arch/ppc64/include/arch/cpu.h index 1e13528037..23bc9a17f5 100644 --- a/src/arch/ppc64/include/arch/cpu.h +++ b/src/arch/ppc64/include/arch/cpu.h @@ -16,11 +16,10 @@ #ifndef __ARCH_CPU_H__ #define __ARCH_CPU_H__ -#define asmlinkage - -#if !defined(__PRE_RAM__) #include +#define asmlinkage + struct cpu_driver { struct device_operations *ops; const struct cpu_device_id *id_table; @@ -42,7 +41,6 @@ struct cpuinfo_ppc64 { uint8_t ppc64_model; }; -#endif - struct cpu_info *cpu_info(void); + #endif /* __ARCH_CPU_H__ */ -- cgit v1.2.3