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>
This commit is contained in:
parent
5c82c444fb
commit
a4e8fb2afd
21 changed files with 7 additions and 60 deletions
|
|
@ -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) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue