Patchwork cleanup __PRE_RAM__

login
register
about
Submitter Stefan Reinauer
Date 2010-01-03 16:30:55
Message ID <4B40C63F.6000603@coresystems.de>
Download mbox | patch
Permalink /patch/726/
State Accepted
Headers show

Comments

Stefan Reinauer - 2010-01-03 16:30:55
See patch
* Explicitly add __PRE_RAM__ where it should be added.
* Don't implicitly add __PRE_RAM__ in romcc. 

Fixes intel/xe7501devkit

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
ron minnich - 2010-01-03 21:24:21
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Patrick Georgi - 2010-01-04 18:03:57
Am 03.01.2010 17:30, schrieb Stefan Reinauer:
> See patch
>
>   
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>

Patch

Index: src/mainboard/axus/tc320/auto.c
===================================================================
--- src/mainboard/axus/tc320/auto.c	(revision 4994)
+++ src/mainboard/axus/tc320/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/bcom/winnetp680/auto.c
===================================================================
--- src/mainboard/bcom/winnetp680/auto.c	(revision 4994)
+++ src/mainboard/bcom/winnetp680/auto.c	(working copy)
@@ -20,6 +20,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/bcom/winnet100/auto.c
===================================================================
--- src/mainboard/bcom/winnet100/auto.c	(revision 4994)
+++ src/mainboard/bcom/winnet100/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/televideo/tc7020/auto.c
===================================================================
--- src/mainboard/televideo/tc7020/auto.c	(revision 4994)
+++ src/mainboard/televideo/tc7020/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/thomson/ip1000/auto.c
===================================================================
--- src/mainboard/thomson/ip1000/auto.c	(revision 4994)
+++ src/mainboard/thomson/ip1000/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
Index: src/mainboard/supermicro/x6dai_g/failover.c
===================================================================
--- src/mainboard/supermicro/x6dai_g/failover.c	(revision 4994)
+++ src/mainboard/supermicro/x6dai_g/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/supermicro/x6dai_g/auto.c
===================================================================
--- src/mainboard/supermicro/x6dai_g/auto.c	(revision 4994)
+++ src/mainboard/supermicro/x6dai_g/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
Index: src/mainboard/supermicro/x6dhe_g/failover.c
===================================================================
--- src/mainboard/supermicro/x6dhe_g/failover.c	(revision 4994)
+++ src/mainboard/supermicro/x6dhe_g/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/supermicro/x6dhe_g/auto.c
===================================================================
--- src/mainboard/supermicro/x6dhe_g/auto.c	(revision 4994)
+++ src/mainboard/supermicro/x6dhe_g/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
Index: src/mainboard/supermicro/x6dhe_g2/failover.c
===================================================================
--- src/mainboard/supermicro/x6dhe_g2/failover.c	(revision 4994)
+++ src/mainboard/supermicro/x6dhe_g2/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/supermicro/x6dhe_g2/auto.c
===================================================================
--- src/mainboard/supermicro/x6dhe_g2/auto.c	(revision 4994)
+++ src/mainboard/supermicro/x6dhe_g2/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
Index: src/mainboard/supermicro/x6dhr_ig/failover.c
===================================================================
--- src/mainboard/supermicro/x6dhr_ig/failover.c	(revision 4994)
+++ src/mainboard/supermicro/x6dhr_ig/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/supermicro/x6dhr_ig/auto.c
===================================================================
--- src/mainboard/supermicro/x6dhr_ig/auto.c	(revision 4994)
+++ src/mainboard/supermicro/x6dhr_ig/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
Index: src/mainboard/supermicro/x6dhr_ig2/failover.c
===================================================================
--- src/mainboard/supermicro/x6dhr_ig2/failover.c	(revision 4994)
+++ src/mainboard/supermicro/x6dhr_ig2/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/supermicro/x6dhr_ig2/auto.c
===================================================================
--- src/mainboard/supermicro/x6dhr_ig2/auto.c	(revision 4994)
+++ src/mainboard/supermicro/x6dhr_ig2/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
Index: src/mainboard/soyo/sy-6ba-plus-iii/auto.c
===================================================================
--- src/mainboard/soyo/sy-6ba-plus-iii/auto.c	(revision 4994)
+++ src/mainboard/soyo/sy-6ba-plus-iii/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/a-trend/atc-6240/auto.c
===================================================================
--- src/mainboard/a-trend/atc-6240/auto.c	(revision 4994)
+++ src/mainboard/a-trend/atc-6240/auto.c	(working copy)
@@ -18,6 +18,7 @@ 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#define __PRE_RAM__
 #define ASSEMBLY 1
 
 #include <stdint.h>
Index: src/mainboard/a-trend/atc-6220/auto.c
===================================================================
--- src/mainboard/a-trend/atc-6220/auto.c	(revision 4994)
+++ src/mainboard/a-trend/atc-6220/auto.c	(working copy)
@@ -18,6 +18,7 @@ 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#define __PRE_RAM__
 #define ASSEMBLY 1
 
 #include <stdint.h>
Index: src/mainboard/gigabyte/ga-6bxc/auto.c
===================================================================
--- src/mainboard/gigabyte/ga-6bxc/auto.c	(revision 4994)
+++ src/mainboard/gigabyte/ga-6bxc/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/digitallogic/msm800sev/auto.c
===================================================================
--- src/mainboard/digitallogic/msm800sev/auto.c	(revision 4994)
+++ src/mainboard/digitallogic/msm800sev/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/digitallogic/adl855pc/auto.c
===================================================================
--- src/mainboard/digitallogic/adl855pc/auto.c	(revision 4994)
+++ src/mainboard/digitallogic/adl855pc/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #define ASM_CONSOLE_LOGLEVEL 8
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/digitallogic/msm586seg/auto.c
===================================================================
--- src/mainboard/digitallogic/msm586seg/auto.c	(revision 4994)
+++ src/mainboard/digitallogic/msm586seg/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #define ASM_CONSOLE_LOGLEVEL 8
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/emulation/qemu-x86/failover.c
===================================================================
--- src/mainboard/emulation/qemu-x86/failover.c	(revision 4994)
+++ src/mainboard/emulation/qemu-x86/failover.c	(working copy)
@@ -1,3 +1,4 @@ 
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/emulation/qemu-x86/auto.c
===================================================================
--- src/mainboard/emulation/qemu-x86/auto.c	(revision 4994)
+++ src/mainboard/emulation/qemu-x86/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/mitac/6513wu/auto.c
===================================================================
--- src/mainboard/mitac/6513wu/auto.c	(revision 4994)
+++ src/mainboard/mitac/6513wu/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
Index: src/mainboard/olpc/btest/failover.c
===================================================================
--- src/mainboard/olpc/btest/failover.c	(revision 4994)
+++ src/mainboard/olpc/btest/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/olpc/btest/auto.c
===================================================================
--- src/mainboard/olpc/btest/auto.c	(revision 4994)
+++ src/mainboard/olpc/btest/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/olpc/rev_a/failover.c
===================================================================
--- src/mainboard/olpc/rev_a/failover.c	(revision 4994)
+++ src/mainboard/olpc/rev_a/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/olpc/rev_a/auto.c
===================================================================
--- src/mainboard/olpc/rev_a/auto.c	(revision 4994)
+++ src/mainboard/olpc/rev_a/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/technologic/ts5300/auto.c
===================================================================
--- src/mainboard/technologic/ts5300/auto.c	(revision 4994)
+++ src/mainboard/technologic/ts5300/auto.c	(working copy)
@@ -5,6 +5,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #define ASM_CONSOLE_LOGLEVEL 6
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/amd/rumba/auto.c
===================================================================
--- src/mainboard/amd/rumba/auto.c	(revision 4994)
+++ src/mainboard/amd/rumba/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/biostar/m6tba/auto.c
===================================================================
--- src/mainboard/biostar/m6tba/auto.c	(revision 4994)
+++ src/mainboard/biostar/m6tba/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/rca/rm4100/auto.c
===================================================================
--- src/mainboard/rca/rm4100/auto.c	(revision 4994)
+++ src/mainboard/rca/rm4100/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
Index: src/mainboard/nec/powermate2000/auto.c
===================================================================
--- src/mainboard/nec/powermate2000/auto.c	(revision 4994)
+++ src/mainboard/nec/powermate2000/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/azza/pt-6ibd/auto.c
===================================================================
--- src/mainboard/azza/pt-6ibd/auto.c	(revision 4994)
+++ src/mainboard/azza/pt-6ibd/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/iei/nova4899r/auto.c
===================================================================
--- src/mainboard/iei/nova4899r/auto.c	(revision 4994)
+++ src/mainboard/iei/nova4899r/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/iei/juki-511p/auto.c
===================================================================
--- src/mainboard/iei/juki-511p/auto.c	(revision 4994)
+++ src/mainboard/iei/juki-511p/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/hp/e_vectra_p2706t/auto.c
===================================================================
--- src/mainboard/hp/e_vectra_p2706t/auto.c	(revision 4994)
+++ src/mainboard/hp/e_vectra_p2706t/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/tyan/s1846/auto.c
===================================================================
--- src/mainboard/tyan/s1846/auto.c	(revision 4994)
+++ src/mainboard/tyan/s1846/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/asi/mb_5blgp/auto.c
===================================================================
--- src/mainboard/asi/mb_5blgp/auto.c	(revision 4994)
+++ src/mainboard/asi/mb_5blgp/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <arch/io.h>
Index: src/mainboard/asi/mb_5blmp/auto.c
===================================================================
--- src/mainboard/asi/mb_5blmp/auto.c	(revision 4994)
+++ src/mainboard/asi/mb_5blmp/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/abit/be6-ii_v2_0/auto.c
===================================================================
--- src/mainboard/abit/be6-ii_v2_0/auto.c	(revision 4994)
+++ src/mainboard/abit/be6-ii_v2_0/auto.c	(working copy)
@@ -18,6 +18,7 @@ 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#define __PRE_RAM__
 #define ASSEMBLY 1
 
 #include <stdint.h>
Index: src/mainboard/lippert/frontrunner/auto.c
===================================================================
--- src/mainboard/lippert/frontrunner/auto.c	(revision 4994)
+++ src/mainboard/lippert/frontrunner/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/via/vt8454c/auto.c
===================================================================
--- src/mainboard/via/vt8454c/auto.c	(revision 4994)
+++ src/mainboard/via/vt8454c/auto.c	(working copy)
@@ -20,6 +20,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/via/epia-m/failover.c
===================================================================
--- src/mainboard/via/epia-m/failover.c	(revision 4994)
+++ src/mainboard/via/epia-m/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/via/epia-m/auto.c
===================================================================
--- src/mainboard/via/epia-m/auto.c	(revision 4994)
+++ src/mainboard/via/epia-m/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/via/epia-n/failover.c
===================================================================
--- src/mainboard/via/epia-n/failover.c	(revision 4994)
+++ src/mainboard/via/epia-n/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/via/epia-n/auto.c
===================================================================
--- src/mainboard/via/epia-n/auto.c	(revision 4994)
+++ src/mainboard/via/epia-n/auto.c	(working copy)
@@ -20,6 +20,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/via/epia-cn/auto.c
===================================================================
--- src/mainboard/via/epia-cn/auto.c	(revision 4994)
+++ src/mainboard/via/epia-cn/auto.c	(working copy)
@@ -20,6 +20,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/via/epia/auto.c
===================================================================
--- src/mainboard/via/epia/auto.c	(revision 4994)
+++ src/mainboard/via/epia/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
@@ -45,11 +46,11 @@ 
 	pci_write_config8(dev, 0x51, 0xff);
 #if 0
 	// This early setup switches IDE into compatibility mode before PCI gets 
-	// // a chance to assign I/Os
-	//         movl    $CONFIG_ADDR(0, 0x89, 0x42), %eax
-	//         //      movb    $0x09, %dl
-	//                 movb    $0x00, %dl
-	//                         PCI_WRITE_CONFIG_BYTE
+	// a chance to assign I/Os
+	//   movl    $CONFIG_ADDR(0, 0x89, 0x42), %eax
+	//   movb    $0x09, %dl
+	//   movb    $0x00, %dl
+	//   PCI_WRITE_CONFIG_BYTE
 	//
 #endif
 	/* we do this here as in V2, we can not yet do raw operations 
Index: src/mainboard/via/pc2500e/auto.c
===================================================================
--- src/mainboard/via/pc2500e/auto.c	(revision 4994)
+++ src/mainboard/via/pc2500e/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/dell/s1850/failover.c
===================================================================
--- src/mainboard/dell/s1850/failover.c	(revision 4994)
+++ src/mainboard/dell/s1850/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/dell/s1850/auto.c
===================================================================
--- src/mainboard/dell/s1850/auto.c	(revision 4994)
+++ src/mainboard/dell/s1850/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
Index: src/mainboard/compaq/deskpro_en_sff_p600/auto.c
===================================================================
--- src/mainboard/compaq/deskpro_en_sff_p600/auto.c	(revision 4994)
+++ src/mainboard/compaq/deskpro_en_sff_p600/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/msi/ms6119/auto.c
===================================================================
--- src/mainboard/msi/ms6119/auto.c	(revision 4994)
+++ src/mainboard/msi/ms6119/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
Index: src/mainboard/msi/ms6147/auto.c
===================================================================
--- src/mainboard/msi/ms6147/auto.c	(revision 4994)
+++ src/mainboard/msi/ms6147/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
Index: src/mainboard/msi/ms6156/auto.c
===================================================================
--- src/mainboard/msi/ms6156/auto.c	(revision 4994)
+++ src/mainboard/msi/ms6156/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
Index: src/mainboard/msi/ms6178/auto.c
===================================================================
--- src/mainboard/msi/ms6178/auto.c	(revision 4994)
+++ src/mainboard/msi/ms6178/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/advantech/pcm-5820/auto.c
===================================================================
--- src/mainboard/advantech/pcm-5820/auto.c	(revision 4994)
+++ src/mainboard/advantech/pcm-5820/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <arch/io.h>
Index: src/mainboard/eaglelion/5bcm/auto.c
===================================================================
--- src/mainboard/eaglelion/5bcm/auto.c	(revision 4994)
+++ src/mainboard/eaglelion/5bcm/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/jetway/j7f24/auto.c
===================================================================
--- src/mainboard/jetway/j7f24/auto.c	(revision 4994)
+++ src/mainboard/jetway/j7f24/auto.c	(working copy)
@@ -20,6 +20,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/intel/xe7501devkit/failover.c
===================================================================
--- src/mainboard/intel/xe7501devkit/failover.c	(revision 4994)
+++ src/mainboard/intel/xe7501devkit/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/intel/truxton/auto.c
===================================================================
--- src/mainboard/intel/truxton/auto.c	(revision 4994)
+++ src/mainboard/intel/truxton/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <stdlib.h>
 #include <device/pci_def.h>
Index: src/mainboard/intel/mtarvon/auto.c
===================================================================
--- src/mainboard/intel/mtarvon/auto.c	(revision 4994)
+++ src/mainboard/intel/mtarvon/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <stdlib.h>
 #include <device/pci_def.h>
Index: src/mainboard/intel/jarrell/failover.c
===================================================================
--- src/mainboard/intel/jarrell/failover.c	(revision 4994)
+++ src/mainboard/intel/jarrell/failover.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
Index: src/mainboard/intel/jarrell/auto.c
===================================================================
--- src/mainboard/intel/jarrell/auto.c	(revision 4994)
+++ src/mainboard/intel/jarrell/auto.c	(working copy)
@@ -1,4 +1,5 @@ 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
Index: src/mainboard/asus/mew-am/auto.c
===================================================================
--- src/mainboard/asus/mew-am/auto.c	(revision 4994)
+++ src/mainboard/asus/mew-am/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
Index: src/mainboard/asus/p2b/auto.c
===================================================================
--- src/mainboard/asus/p2b/auto.c	(revision 4994)
+++ src/mainboard/asus/p2b/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/asus/p2b-d/auto.c
===================================================================
--- src/mainboard/asus/p2b-d/auto.c	(revision 4994)
+++ src/mainboard/asus/p2b-d/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/asus/p2b-f/auto.c
===================================================================
--- src/mainboard/asus/p2b-f/auto.c	(revision 4994)
+++ src/mainboard/asus/p2b-f/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/asus/p2b-ds/auto.c
===================================================================
--- src/mainboard/asus/p2b-ds/auto.c	(revision 4994)
+++ src/mainboard/asus/p2b-ds/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/asus/p3b-f/auto.c
===================================================================
--- src/mainboard/asus/p3b-f/auto.c	(revision 4994)
+++ src/mainboard/asus/p3b-f/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/mainboard/asus/mew-vm/auto.c
===================================================================
--- src/mainboard/asus/mew-vm/auto.c	(revision 4994)
+++ src/mainboard/asus/mew-vm/auto.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
Index: src/arch/i386/init/bootblock.c
===================================================================
--- src/arch/i386/init/bootblock.c	(revision 4994)
+++ src/arch/i386/init/bootblock.c	(working copy)
@@ -1,3 +1,4 @@ 
+#define __PRE_RAM__
 #if CONFIG_LOGICAL_CPUS && \
  (defined(CONFIG_BOOTBLOCK_NORTHBRIDGE_INIT) || defined(CONFIG_BOOTBLOCK_SOUTHBRIDGE_INIT))
 #include <cpu/x86/lapic/boot_cpu.c>
Index: src/arch/i386/lib/failover.c
===================================================================
--- src/arch/i386/lib/failover.c	(revision 4994)
+++ src/arch/i386/lib/failover.c	(working copy)
@@ -19,6 +19,7 @@ 
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <arch/io.h>
 #include "arch/romcc_io.h"
Index: util/romcc/romcc.c
===================================================================
--- util/romcc/romcc.c	(revision 4994)
+++ util/romcc/romcc.c	(working copy)
@@ -3616,7 +3616,6 @@ 
 	tm = localtime(&now);
 
 	register_builtin_macro(state, "__ROMCC__", VERSION_MAJOR);
-	register_builtin_macro(state, "__PRE_RAM__", VERSION_MAJOR);
 	register_builtin_macro(state, "__ROMCC_MINOR__", VERSION_MINOR);
 	register_builtin_macro(state, "__FILE__", "\"This should be the filename\"");
 	register_builtin_macro(state, "__LINE__", "54321");