[coreboot-gerrit] New patch to review for coreboot: 4420676 cpu/cpu.h: Allow compiling with __SIMPLE_DEVICE__
Vladimir Serbinenko (phcoder@gmail.com)
gerrit at coreboot.org
Thu Jan 2 10:15:38 CET 2014
Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4602
-gerrit
commit 4420676503d52fd3a91017a93d6211f012961ac4
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date: Thu Jan 2 10:08:19 2014 +0100
cpu/cpu.h: Allow compiling with __SIMPLE_DEVICE__
Change-Id: I14a2ac47198be6359b4f10b38f1cf86c9917d67e
Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
src/include/cpu/cpu.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index bed77de..47521d4 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -16,10 +16,12 @@ void smm_setup_structures(void *gnvs, void *tcg, void *smi1);
#endif
#define __cpu_driver __attribute__ ((used,__section__(".rodata.cpu_driver")))
+#ifndef __SIMPLE_DEVICE__
/** start of compile time generated pci driver array */
extern struct cpu_driver cpu_drivers[];
/** end of compile time generated pci driver array */
extern struct cpu_driver ecpu_drivers[];
+#endif
#endif /* !__PRE_RAM__ && !__SMM__ */
#endif /* CPU_CPU_H */
More information about the coreboot-gerrit
mailing list