diff options
-rw-r--r-- | src/cpu/intel/car/romstage.c | 7 | ||||
-rw-r--r-- | src/include/cpu/intel/romstage.h | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/cpu/intel/car/romstage.c b/src/cpu/intel/car/romstage.c new file mode 100644 index 0000000000..c6df446c6a --- /dev/null +++ b/src/cpu/intel/car/romstage.c @@ -0,0 +1,7 @@ +#include <cpu/intel/romstage.h> + +void * asmlinkage romstage_main(unsigned long bist) +{ + mainboard_romstage_entry(bist); + return (void*)CONFIG_RAMTOP; +} diff --git a/src/include/cpu/intel/romstage.h b/src/include/cpu/intel/romstage.h index 0ebb91266b..c294c2edc0 100644 --- a/src/include/cpu/intel/romstage.h +++ b/src/include/cpu/intel/romstage.h @@ -1,7 +1,12 @@ #ifndef _CPU_INTEL_ROMSTAGE_H #define _CPU_INTEL_ROMSTAGE_H +#include <arch/cpu.h> + /* std signature of entry-point to romstage.c */ void main(unsigned long bist); +void mainboard_romstage_entry(unsigned long bist); +void * asmlinkage romstage_main(unsigned long bist); + #endif /* _CPU_INTEL_ROMSTAGE_H */ |