[coreboot-gerrit] Change in coreboot[master]: arch/x86: Make cpu_index() available for bootblock
Subrata Banik (Code Review)
gerrit at coreboot.org
Tue May 1 06:41:18 CEST 2018
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/25964
Change subject: arch/x86: Make cpu_index() available for bootblock
......................................................................
arch/x86: Make cpu_index() available for bootblock
This patch ensures cpu_index() is available for bootblock stage
as exception.c is now added in glk bootblock.
Change-Id: I02b2387eb601abe2d64ed20ebf8a98572befd26c
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/arch/x86/include/arch/cpu.h
1 file changed, 0 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/64/25964/1
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h
index 5d44aae..c59cf2b 100644
--- a/src/arch/x86/include/arch/cpu.h
+++ b/src/arch/x86/include/arch/cpu.h
@@ -167,8 +167,6 @@
void smm_lock(void);
void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
-#ifndef __SIMPLE_DEVICE__
-
struct device;
struct cpu_device_id {
@@ -218,7 +216,6 @@
ci = cpu_info();
return ci->index;
}
-#endif
#ifndef __ROMCC__ // romcc is segfaulting in some cases
struct cpuinfo_x86 {
--
To view, visit https://review.coreboot.org/25964
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I02b2387eb601abe2d64ed20ebf8a98572befd26c
Gerrit-Change-Number: 25964
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180501/386f9f2c/attachment.html>
More information about the coreboot-gerrit
mailing list