Add support to run SMM handler in TSEG instead of ASEG
[coreboot.git] / src / include / fallback.h
index 4af826616a16515c335fa9e0744834128cf7c31d..ffcbafb6e1d39ff4bfb09fc3f7dc62a34e2f4731 100644 (file)
@@ -1,12 +1,12 @@
 #ifndef FALLBACK_H
 #define FALLBACK_H
 
-#ifndef ASSEMBLY
+#if !defined(__ASSEMBLER__) && !defined(__PRE_RAM__)
 
 void set_boot_successful(void);
 void boot_successful(void);
 
-#endif /* ASSEMBLY */
+#endif /* __ASSEMBLER__ */
 
 #define RTC_BOOT_BYTE  48