Split the two usages of __ROMCC__:
[coreboot.git] / src / arch / i386 / include / arch / cpu.h
index f49b7cb50a81acb9092430fa11604762f2cc759b..d43c847cefcaf82891f4364ecb030db0b19ce02e 100644 (file)
@@ -104,7 +104,7 @@ static inline unsigned int cpuid_edx(unsigned int op)
 #define X86_VENDOR_SIS       10 
 #define X86_VENDOR_UNKNOWN 0xff
 
-#if !defined( __ROMCC__ ) && defined( __GNUC__)
+#if !defined( __ROMCC__ ) && !defined(__PRE_RAM__) && defined( __GNUC__)
 #include <device/device.h>