Author: stepan Date: 2010-01-05 14:03:02 +0100 (Tue, 05 Jan 2010) New Revision: 4998
Modified: trunk/src/arch/i386/init/bootblock.c trunk/src/arch/i386/lib/failover.c trunk/src/mainboard/a-trend/atc-6220/auto.c trunk/src/mainboard/a-trend/atc-6240/auto.c trunk/src/mainboard/abit/be6-ii_v2_0/auto.c trunk/src/mainboard/advantech/pcm-5820/auto.c trunk/src/mainboard/amd/rumba/auto.c trunk/src/mainboard/asi/mb_5blgp/auto.c trunk/src/mainboard/asi/mb_5blmp/auto.c trunk/src/mainboard/asus/mew-am/auto.c trunk/src/mainboard/asus/mew-vm/auto.c trunk/src/mainboard/asus/p2b-d/auto.c trunk/src/mainboard/asus/p2b-ds/auto.c trunk/src/mainboard/asus/p2b-f/auto.c trunk/src/mainboard/asus/p2b/auto.c trunk/src/mainboard/asus/p3b-f/auto.c trunk/src/mainboard/axus/tc320/auto.c trunk/src/mainboard/azza/pt-6ibd/auto.c trunk/src/mainboard/bcom/winnet100/auto.c trunk/src/mainboard/bcom/winnetp680/auto.c trunk/src/mainboard/biostar/m6tba/auto.c trunk/src/mainboard/compaq/deskpro_en_sff_p600/auto.c trunk/src/mainboard/dell/s1850/auto.c trunk/src/mainboard/dell/s1850/failover.c trunk/src/mainboard/digitallogic/adl855pc/auto.c trunk/src/mainboard/digitallogic/msm586seg/auto.c trunk/src/mainboard/digitallogic/msm800sev/auto.c trunk/src/mainboard/eaglelion/5bcm/auto.c trunk/src/mainboard/emulation/qemu-x86/auto.c trunk/src/mainboard/emulation/qemu-x86/failover.c trunk/src/mainboard/gigabyte/ga-6bxc/auto.c trunk/src/mainboard/hp/e_vectra_p2706t/auto.c trunk/src/mainboard/iei/juki-511p/auto.c trunk/src/mainboard/iei/nova4899r/auto.c trunk/src/mainboard/intel/jarrell/auto.c trunk/src/mainboard/intel/jarrell/failover.c trunk/src/mainboard/intel/mtarvon/auto.c trunk/src/mainboard/intel/truxton/auto.c trunk/src/mainboard/intel/xe7501devkit/failover.c trunk/src/mainboard/jetway/j7f24/auto.c trunk/src/mainboard/lippert/frontrunner/auto.c trunk/src/mainboard/mitac/6513wu/auto.c trunk/src/mainboard/msi/ms6119/auto.c trunk/src/mainboard/msi/ms6147/auto.c trunk/src/mainboard/msi/ms6156/auto.c trunk/src/mainboard/msi/ms6178/auto.c trunk/src/mainboard/nec/powermate2000/auto.c trunk/src/mainboard/olpc/btest/auto.c trunk/src/mainboard/olpc/btest/failover.c trunk/src/mainboard/olpc/rev_a/auto.c trunk/src/mainboard/olpc/rev_a/failover.c trunk/src/mainboard/rca/rm4100/auto.c trunk/src/mainboard/soyo/sy-6ba-plus-iii/auto.c trunk/src/mainboard/supermicro/x6dai_g/auto.c trunk/src/mainboard/supermicro/x6dai_g/failover.c trunk/src/mainboard/supermicro/x6dhe_g/auto.c trunk/src/mainboard/supermicro/x6dhe_g/failover.c trunk/src/mainboard/supermicro/x6dhe_g2/auto.c trunk/src/mainboard/supermicro/x6dhe_g2/failover.c trunk/src/mainboard/supermicro/x6dhr_ig/auto.c trunk/src/mainboard/supermicro/x6dhr_ig/failover.c trunk/src/mainboard/supermicro/x6dhr_ig2/auto.c trunk/src/mainboard/supermicro/x6dhr_ig2/failover.c trunk/src/mainboard/technologic/ts5300/auto.c trunk/src/mainboard/televideo/tc7020/auto.c trunk/src/mainboard/thomson/ip1000/auto.c trunk/src/mainboard/tyan/s1846/auto.c trunk/src/mainboard/via/epia-cn/auto.c trunk/src/mainboard/via/epia-m/auto.c trunk/src/mainboard/via/epia-m/failover.c trunk/src/mainboard/via/epia-n/auto.c trunk/src/mainboard/via/epia-n/failover.c trunk/src/mainboard/via/epia/auto.c trunk/src/mainboard/via/pc2500e/auto.c trunk/src/mainboard/via/vt8454c/auto.c trunk/util/romcc/romcc.c Log:
* 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 Acked-by: Ronald G. Minnich rminnich@gmail.com Acked-by: Patrick Georgi patrick.georgi@coresystems.de
Modified: trunk/src/arch/i386/init/bootblock.c =================================================================== --- trunk/src/arch/i386/init/bootblock.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/arch/i386/init/bootblock.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -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>
Modified: trunk/src/arch/i386/lib/failover.c =================================================================== --- trunk/src/arch/i386/lib/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/arch/i386/lib/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <arch/io.h> #include "arch/romcc_io.h"
Modified: trunk/src/mainboard/a-trend/atc-6220/auto.c =================================================================== --- trunk/src/mainboard/a-trend/atc-6220/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/a-trend/atc-6220/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -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>
Modified: trunk/src/mainboard/a-trend/atc-6240/auto.c =================================================================== --- trunk/src/mainboard/a-trend/atc-6240/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/a-trend/atc-6240/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -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>
Modified: trunk/src/mainboard/abit/be6-ii_v2_0/auto.c =================================================================== --- trunk/src/mainboard/abit/be6-ii_v2_0/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/abit/be6-ii_v2_0/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -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>
Modified: trunk/src/mainboard/advantech/pcm-5820/auto.c =================================================================== --- trunk/src/mainboard/advantech/pcm-5820/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/advantech/pcm-5820/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <arch/io.h>
Modified: trunk/src/mainboard/amd/rumba/auto.c =================================================================== --- trunk/src/mainboard/amd/rumba/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/amd/rumba/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/asi/mb_5blgp/auto.c =================================================================== --- trunk/src/mainboard/asi/mb_5blgp/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/asi/mb_5blgp/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <arch/io.h>
Modified: trunk/src/mainboard/asi/mb_5blmp/auto.c =================================================================== --- trunk/src/mainboard/asi/mb_5blmp/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/asi/mb_5blmp/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/asus/mew-am/auto.c =================================================================== --- trunk/src/mainboard/asus/mew-am/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/asus/mew-am/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <stdlib.h>
Modified: trunk/src/mainboard/asus/mew-vm/auto.c =================================================================== --- trunk/src/mainboard/asus/mew-vm/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/asus/mew-vm/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/asus/p2b/auto.c =================================================================== --- trunk/src/mainboard/asus/p2b/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/asus/p2b/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/asus/p2b-d/auto.c =================================================================== --- trunk/src/mainboard/asus/p2b-d/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/asus/p2b-d/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/asus/p2b-ds/auto.c =================================================================== --- trunk/src/mainboard/asus/p2b-ds/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/asus/p2b-ds/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/asus/p2b-f/auto.c =================================================================== --- trunk/src/mainboard/asus/p2b-f/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/asus/p2b-f/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/asus/p3b-f/auto.c =================================================================== --- trunk/src/mainboard/asus/p3b-f/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/asus/p3b-f/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/axus/tc320/auto.c =================================================================== --- trunk/src/mainboard/axus/tc320/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/axus/tc320/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/azza/pt-6ibd/auto.c =================================================================== --- trunk/src/mainboard/azza/pt-6ibd/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/azza/pt-6ibd/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/bcom/winnet100/auto.c =================================================================== --- trunk/src/mainboard/bcom/winnet100/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/bcom/winnet100/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/bcom/winnetp680/auto.c =================================================================== --- trunk/src/mainboard/bcom/winnetp680/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/bcom/winnetp680/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -20,6 +20,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/biostar/m6tba/auto.c =================================================================== --- trunk/src/mainboard/biostar/m6tba/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/biostar/m6tba/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/compaq/deskpro_en_sff_p600/auto.c =================================================================== --- trunk/src/mainboard/compaq/deskpro_en_sff_p600/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/compaq/deskpro_en_sff_p600/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/dell/s1850/auto.c =================================================================== --- trunk/src/mainboard/dell/s1850/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/dell/s1850/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h>
Modified: trunk/src/mainboard/dell/s1850/failover.c =================================================================== --- trunk/src/mainboard/dell/s1850/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/dell/s1850/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/digitallogic/adl855pc/auto.c =================================================================== --- trunk/src/mainboard/digitallogic/adl855pc/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/digitallogic/adl855pc/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #define ASM_CONSOLE_LOGLEVEL 8 #include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/digitallogic/msm586seg/auto.c =================================================================== --- trunk/src/mainboard/digitallogic/msm586seg/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/digitallogic/msm586seg/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #define ASM_CONSOLE_LOGLEVEL 8 #include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/digitallogic/msm800sev/auto.c =================================================================== --- trunk/src/mainboard/digitallogic/msm800sev/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/digitallogic/msm800sev/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/eaglelion/5bcm/auto.c =================================================================== --- trunk/src/mainboard/eaglelion/5bcm/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/eaglelion/5bcm/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/emulation/qemu-x86/auto.c =================================================================== --- trunk/src/mainboard/emulation/qemu-x86/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/emulation/qemu-x86/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/emulation/qemu-x86/failover.c =================================================================== --- trunk/src/mainboard/emulation/qemu-x86/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/emulation/qemu-x86/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,3 +1,4 @@ +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/gigabyte/ga-6bxc/auto.c =================================================================== --- trunk/src/mainboard/gigabyte/ga-6bxc/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/gigabyte/ga-6bxc/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/hp/e_vectra_p2706t/auto.c =================================================================== --- trunk/src/mainboard/hp/e_vectra_p2706t/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/hp/e_vectra_p2706t/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/iei/juki-511p/auto.c =================================================================== --- trunk/src/mainboard/iei/juki-511p/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/iei/juki-511p/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/iei/nova4899r/auto.c =================================================================== --- trunk/src/mainboard/iei/nova4899r/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/iei/nova4899r/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/intel/jarrell/auto.c =================================================================== --- trunk/src/mainboard/intel/jarrell/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/intel/jarrell/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h>
Modified: trunk/src/mainboard/intel/jarrell/failover.c =================================================================== --- trunk/src/mainboard/intel/jarrell/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/intel/jarrell/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/intel/mtarvon/auto.c =================================================================== --- trunk/src/mainboard/intel/mtarvon/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/intel/mtarvon/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <stdlib.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/intel/truxton/auto.c =================================================================== --- trunk/src/mainboard/intel/truxton/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/intel/truxton/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <stdlib.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/intel/xe7501devkit/failover.c =================================================================== --- trunk/src/mainboard/intel/xe7501devkit/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/intel/xe7501devkit/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/jetway/j7f24/auto.c =================================================================== --- trunk/src/mainboard/jetway/j7f24/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/jetway/j7f24/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -20,6 +20,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/lippert/frontrunner/auto.c =================================================================== --- trunk/src/mainboard/lippert/frontrunner/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/lippert/frontrunner/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/mitac/6513wu/auto.c =================================================================== --- trunk/src/mainboard/mitac/6513wu/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/mitac/6513wu/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <stdlib.h>
Modified: trunk/src/mainboard/msi/ms6119/auto.c =================================================================== --- trunk/src/mainboard/msi/ms6119/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/msi/ms6119/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <stdlib.h>
Modified: trunk/src/mainboard/msi/ms6147/auto.c =================================================================== --- trunk/src/mainboard/msi/ms6147/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/msi/ms6147/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <stdlib.h>
Modified: trunk/src/mainboard/msi/ms6156/auto.c =================================================================== --- trunk/src/mainboard/msi/ms6156/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/msi/ms6156/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <stdlib.h>
Modified: trunk/src/mainboard/msi/ms6178/auto.c =================================================================== --- trunk/src/mainboard/msi/ms6178/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/msi/ms6178/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/nec/powermate2000/auto.c =================================================================== --- trunk/src/mainboard/nec/powermate2000/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/nec/powermate2000/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/olpc/btest/auto.c =================================================================== --- trunk/src/mainboard/olpc/btest/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/olpc/btest/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/olpc/btest/failover.c =================================================================== --- trunk/src/mainboard/olpc/btest/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/olpc/btest/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/olpc/rev_a/auto.c =================================================================== --- trunk/src/mainboard/olpc/rev_a/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/olpc/rev_a/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/olpc/rev_a/failover.c =================================================================== --- trunk/src/mainboard/olpc/rev_a/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/olpc/rev_a/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/rca/rm4100/auto.c =================================================================== --- trunk/src/mainboard/rca/rm4100/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/rca/rm4100/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <stdlib.h>
Modified: trunk/src/mainboard/soyo/sy-6ba-plus-iii/auto.c =================================================================== --- trunk/src/mainboard/soyo/sy-6ba-plus-iii/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/soyo/sy-6ba-plus-iii/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/supermicro/x6dai_g/auto.c =================================================================== --- trunk/src/mainboard/supermicro/x6dai_g/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dai_g/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h>
Modified: trunk/src/mainboard/supermicro/x6dai_g/failover.c =================================================================== --- trunk/src/mainboard/supermicro/x6dai_g/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dai_g/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/supermicro/x6dhe_g/auto.c =================================================================== --- trunk/src/mainboard/supermicro/x6dhe_g/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dhe_g/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h>
Modified: trunk/src/mainboard/supermicro/x6dhe_g/failover.c =================================================================== --- trunk/src/mainboard/supermicro/x6dhe_g/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dhe_g/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/supermicro/x6dhe_g2/auto.c =================================================================== --- trunk/src/mainboard/supermicro/x6dhe_g2/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dhe_g2/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h>
Modified: trunk/src/mainboard/supermicro/x6dhe_g2/failover.c =================================================================== --- trunk/src/mainboard/supermicro/x6dhe_g2/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dhe_g2/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/supermicro/x6dhr_ig/auto.c =================================================================== --- trunk/src/mainboard/supermicro/x6dhr_ig/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dhr_ig/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h>
Modified: trunk/src/mainboard/supermicro/x6dhr_ig/failover.c =================================================================== --- trunk/src/mainboard/supermicro/x6dhr_ig/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dhr_ig/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/supermicro/x6dhr_ig2/auto.c =================================================================== --- trunk/src/mainboard/supermicro/x6dhr_ig2/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dhr_ig2/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h>
Modified: trunk/src/mainboard/supermicro/x6dhr_ig2/failover.c =================================================================== --- trunk/src/mainboard/supermicro/x6dhr_ig2/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/supermicro/x6dhr_ig2/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/technologic/ts5300/auto.c =================================================================== --- trunk/src/mainboard/technologic/ts5300/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/technologic/ts5300/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -5,6 +5,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__ #define ASM_CONSOLE_LOGLEVEL 6 #include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/televideo/tc7020/auto.c =================================================================== --- trunk/src/mainboard/televideo/tc7020/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/televideo/tc7020/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/thomson/ip1000/auto.c =================================================================== --- trunk/src/mainboard/thomson/ip1000/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/thomson/ip1000/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <stdlib.h>
Modified: trunk/src/mainboard/tyan/s1846/auto.c =================================================================== --- trunk/src/mainboard/tyan/s1846/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/tyan/s1846/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/via/epia/auto.c =================================================================== --- trunk/src/mainboard/via/epia/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/via/epia/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -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
Modified: trunk/src/mainboard/via/epia-cn/auto.c =================================================================== --- trunk/src/mainboard/via/epia-cn/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/via/epia-cn/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -20,6 +20,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/via/epia-m/auto.c =================================================================== --- trunk/src/mainboard/via/epia-m/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/via/epia-m/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/via/epia-m/failover.c =================================================================== --- trunk/src/mainboard/via/epia-m/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/via/epia-m/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/via/epia-n/auto.c =================================================================== --- trunk/src/mainboard/via/epia-n/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/via/epia-n/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -20,6 +20,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/via/epia-n/failover.c =================================================================== --- trunk/src/mainboard/via/epia-n/failover.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/via/epia-n/failover.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h>
Modified: trunk/src/mainboard/via/pc2500e/auto.c =================================================================== --- trunk/src/mainboard/via/pc2500e/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/via/pc2500e/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -19,6 +19,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/src/mainboard/via/vt8454c/auto.c =================================================================== --- trunk/src/mainboard/via/vt8454c/auto.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/src/mainboard/via/vt8454c/auto.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -20,6 +20,7 @@ */
#define ASSEMBLY 1 +#define __PRE_RAM__
#include <stdint.h> #include <device/pci_def.h>
Modified: trunk/util/romcc/romcc.c =================================================================== --- trunk/util/romcc/romcc.c 2010-01-04 20:09:27 UTC (rev 4997) +++ trunk/util/romcc/romcc.c 2010-01-05 13:03:02 UTC (rev 4998) @@ -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");