* Explicitly add __PRE_RAM__ where it should be added.
authorStefan Reinauer <stepan@coresystems.de>
Tue, 5 Jan 2010 13:03:02 +0000 (13:03 +0000)
committerStefan Reinauer <stepan@openbios.org>
Tue, 5 Jan 2010 13:03:02 +0000 (13:03 +0000)
* 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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4998 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

76 files changed:
src/arch/i386/init/bootblock.c
src/arch/i386/lib/failover.c
src/mainboard/a-trend/atc-6220/auto.c
src/mainboard/a-trend/atc-6240/auto.c
src/mainboard/abit/be6-ii_v2_0/auto.c
src/mainboard/advantech/pcm-5820/auto.c
src/mainboard/amd/rumba/auto.c
src/mainboard/asi/mb_5blgp/auto.c
src/mainboard/asi/mb_5blmp/auto.c
src/mainboard/asus/mew-am/auto.c
src/mainboard/asus/mew-vm/auto.c
src/mainboard/asus/p2b-d/auto.c
src/mainboard/asus/p2b-ds/auto.c
src/mainboard/asus/p2b-f/auto.c
src/mainboard/asus/p2b/auto.c
src/mainboard/asus/p3b-f/auto.c
src/mainboard/axus/tc320/auto.c
src/mainboard/azza/pt-6ibd/auto.c
src/mainboard/bcom/winnet100/auto.c
src/mainboard/bcom/winnetp680/auto.c
src/mainboard/biostar/m6tba/auto.c
src/mainboard/compaq/deskpro_en_sff_p600/auto.c
src/mainboard/dell/s1850/auto.c
src/mainboard/dell/s1850/failover.c
src/mainboard/digitallogic/adl855pc/auto.c
src/mainboard/digitallogic/msm586seg/auto.c
src/mainboard/digitallogic/msm800sev/auto.c
src/mainboard/eaglelion/5bcm/auto.c
src/mainboard/emulation/qemu-x86/auto.c
src/mainboard/emulation/qemu-x86/failover.c
src/mainboard/gigabyte/ga-6bxc/auto.c
src/mainboard/hp/e_vectra_p2706t/auto.c
src/mainboard/iei/juki-511p/auto.c
src/mainboard/iei/nova4899r/auto.c
src/mainboard/intel/jarrell/auto.c
src/mainboard/intel/jarrell/failover.c
src/mainboard/intel/mtarvon/auto.c
src/mainboard/intel/truxton/auto.c
src/mainboard/intel/xe7501devkit/failover.c
src/mainboard/jetway/j7f24/auto.c
src/mainboard/lippert/frontrunner/auto.c
src/mainboard/mitac/6513wu/auto.c
src/mainboard/msi/ms6119/auto.c
src/mainboard/msi/ms6147/auto.c
src/mainboard/msi/ms6156/auto.c
src/mainboard/msi/ms6178/auto.c
src/mainboard/nec/powermate2000/auto.c
src/mainboard/olpc/btest/auto.c
src/mainboard/olpc/btest/failover.c
src/mainboard/olpc/rev_a/auto.c
src/mainboard/olpc/rev_a/failover.c
src/mainboard/rca/rm4100/auto.c
src/mainboard/soyo/sy-6ba-plus-iii/auto.c
src/mainboard/supermicro/x6dai_g/auto.c
src/mainboard/supermicro/x6dai_g/failover.c
src/mainboard/supermicro/x6dhe_g/auto.c
src/mainboard/supermicro/x6dhe_g/failover.c
src/mainboard/supermicro/x6dhe_g2/auto.c
src/mainboard/supermicro/x6dhe_g2/failover.c
src/mainboard/supermicro/x6dhr_ig/auto.c
src/mainboard/supermicro/x6dhr_ig/failover.c
src/mainboard/supermicro/x6dhr_ig2/auto.c
src/mainboard/supermicro/x6dhr_ig2/failover.c
src/mainboard/technologic/ts5300/auto.c
src/mainboard/televideo/tc7020/auto.c
src/mainboard/thomson/ip1000/auto.c
src/mainboard/tyan/s1846/auto.c
src/mainboard/via/epia-cn/auto.c
src/mainboard/via/epia-m/auto.c
src/mainboard/via/epia-m/failover.c
src/mainboard/via/epia-n/auto.c
src/mainboard/via/epia-n/failover.c
src/mainboard/via/epia/auto.c
src/mainboard/via/pc2500e/auto.c
src/mainboard/via/vt8454c/auto.c
util/romcc/romcc.c

index 3cafef58f352b1816a6fef899e4ee11685a147e0..112a1953e3ff337025bec37ec178b94a61d67b6f 100644 (file)
@@ -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 f7d183610e7a137f8c1a7f7364fb966a2853e3cf..7beee8af4e09f7289eedcb724a68f922ef92b21e 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <arch/io.h>
 #include "arch/romcc_io.h"
index 85e5f47cc78c57d094da4606070c6ecea3dc7471..5fe11bc1973c85b79803409ef5430c6448b41fd3 100644 (file)
@@ -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 cd0799880761790859b8e18c47bbf6e236de0810..752f1a19d034611a3c60935c0a72636a1fa4ece4 100644 (file)
@@ -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 7d323821ff34808d0fb4704183e96c2001caea16..bdd0ffee2fd7ec9e3a7fa7a84bbb1b53704cd2da 100644 (file)
@@ -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 6b09dddcf8122c73a979a77d186f2a4bd54865e8..6c9abe2903efd8e40abc44f22f86cf58e63763ac 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <arch/io.h>
index e8f590d5665c7185f332d9637226eeeb559bd2bf..1dce42548e36f07a7bc85db244a49fadeb821f21 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 7f2d086de6a33ff6bf492142aa757893a47d319c..b4b82fc65a59224cc1b4417cd2af502fa98e90b6 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <arch/io.h>
index b4356c3bbc7cf01ebfed74c7838c2e50ec2d86d1..96e91c0fe26f6e1c4426e64dae4f60df2d9c8285 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 71d4046c8d4bd7e861a1fa8d9f8f526a9bf574d9..a7f74c42f4098c528f75acb8d0be54c0ef3f6d12 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
index 674b73ffe51f0c46936936d988872f6ee7eeacf4..d9473a5880bfe0bab986ab9df85933fb72c6b55c 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 7371ba787056acedf85989e49f266b346aada22b..0d928fe7ecbf9112ba70eb87fc52dc9fadf93bb3 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 810d7e352bf5b5855e0f42b28ac6ae0d83e16949..f011824727376ea015ae40298b64d29d3d5673f6 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 76d14ae15de60d689ea043be23c1174741a8bdde..e9cede41f1ee8926b4ec007f74937117a97256d4 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 2dfdb2432f04b728924c0bae53c96e9eb1df5e14..62ac87381d1791337196f722a4c0884dc3b9cc4d 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index fb3169f8adb73291f8a5c292dec36322541da1f6..306b03f5bc657ac6f30637a838a90d7e2e9715bc 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 6d5843dd24efce0ba5f399578e8b293b86158126..9cbd13c4b3d42a01ccfdf7a66f0697e0947f34f0 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index b2b323b30f03a9dcc2f8afb871fa3a0607b6a04e..6f0b0581a9969da6baa71209600c5edb7b0e385b 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 190e71ddceeb0a7de19aba83500d7d35cc2fb5fc..5c4bbe2d37a9a489a18a7b5255d8f4b932e992fb 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 6b415491848f94969bf3bd1e6bed015371902343..254b16845699c0f9911409bd7b7da6fe72a1d814 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index b956d3cb99bffa6c529a300ad31932eef94dc003..8234df136fd7d2df5ed2b506997429b26f6f3608 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index dee0ad418f7566378b741238f6c754bdb11fd1d5..c465c16781c7d20c35618db2c20b1589ecdfdba1 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index a7b2b925cbcc2c4455c909c7ae300857791a5f28..5f62ce80a8450514db26717b85c44902abd45022 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
index d41bbe5eb27b9cfa175e392035ae6ff462a2794a..1e03b08af89ae69f32a9ab49e37aee06509b8d4a 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index 069aba077adaaa0dda2998068d0b6a87cd7cc84e..cbd8bb04884375d57f738ef4471ce60e5ef01860 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #define ASM_CONSOLE_LOGLEVEL 8
 #include <stdint.h>
 #include <device/pci_def.h>
index 4e3fc890ddbf33b0f8983722cf3b09a8745c4ba7..8f1756b999932094790520461ed45e183a183339 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #define ASM_CONSOLE_LOGLEVEL 8
 #include <stdint.h>
 #include <device/pci_def.h>
index b5082596ebc8e80a7965a23474a70a5da5852f16..29a5661d85b90967b355cdf6d586f1b2b1800e23 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 8ab87ac823eebefcad2d26282a9aa0c9a7a5fc8d..22e73462769df93676b30a0b6f685930bf68b87e 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index fb92ac946be82aeb1e56728f3827626495ebd9f4..273f6b9d019fba81d6b0a7bab7495eaa1e72ebdb 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 07c6d1bc270cba08561fd01f6480c9df8fc2d463..6caba226983aa24824a5e4cb60bbc7ac6e5f36a1 100644 (file)
@@ -1,3 +1,4 @@
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index e12daacd9e227a07ef4f030dd0d643072636a934..1b440a759e8b992e403043fb9ce2ef12df5d3dbf 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 1276e675bd4396a8b4179df54605ab6255c0e8ea..50d8c447b460813e3e376dbf5ec6098bbcd17752 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index d7cd1acbfd2dc24cc82b894fb899697adda74413..655959fac4912cf0d148202744b20000fb03024e 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 1ad2dec664f5378d2fd10116e0f1473ec25244e6..0b15c3f40bba3d1df0c52c1b85ffb30f202c679e 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 84a5c60ce38d535433665176b2b92dd153cc8718..462bd8e25d8f50202c59b5e3cca1fabd0b015ce9 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
index c5f3f8089dbd00188da351517db96655424c3a22..ac78182199f7c7bd96a5cdd9604714b4c69af29f 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index 193df3418833972cdcfdfcc60c115c76bddb957b..6524ea217ca9f7f99a69301d52ca1966215ed9fc 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <stdlib.h>
 #include <device/pci_def.h>
index 8067a421ceeaf15ee2fd460474b6894244cdbd2b..834c53e53bedf2191357a041afd34f614c9e8e0d 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <stdlib.h>
 #include <device/pci_def.h>
index 5ec12d67cd272c6ae5e851fa6dec6f7a40567ca6..7aa9e405ed554c958113fccf370ebb9bbc4395e8 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index 4f7d6e55f5fcec0407ff620818fa3516ec4d177d..050b40e9ccca8153703f9f80d6a6a0f7d01d548e 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 3c267bbc0728f92af1ce3e423773dd25e3e691e4..b0ffcc9d63d70153fed03c131ab33a2ec525d0fb 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 3b6deaf263375cde77a4c622ca1e8437bc0d40c1..6222ea87210eb7c740a8500fa6401d1be3f33ec0 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
index 5d8cdd13ad451901cf6514966a6dc0368c6ba34a..942fdfb6d666cd0972dd43cafc5de928a9801fc7 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
index a9616c4f4ec8d09808188e441750cbec8d8a939e..5aec34a96d3f77bbb4cf859cd518e27e05968407 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
index 1c1d02987c3b99d952aa9645c144e29ee0adc537..78d133b5bf2fd5e3cdd61ce36750eeb39e3235ca 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
index ed5ec59ec442e44efd768c070c92c094e1952950..a320dde7633d1be411d218faf1c1c4e7883a1e5e 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 89247e3f12ada6e89badf857775f1c3618dd5a39..701e312967b671cf962f8150ed2fe56c888eb13e 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index ba0e4187ed5475a0611ed69440a2092c06a43e2b..21363b719933ed7e1656391b933c172d593178f2 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 35317fc7b22ee50079bb126af3491422d308dd0d..1b6c6da9b168acdaf669ba62a88371ade6986c7b 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index ba0e4187ed5475a0611ed69440a2092c06a43e2b..21363b719933ed7e1656391b933c172d593178f2 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 35317fc7b22ee50079bb126af3491422d308dd0d..1b6c6da9b168acdaf669ba62a88371ade6986c7b 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index 994096c184607b4ba4b45e58be71afe86317372b..1b8e625107687417747f97b570378aafddb656f0 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
index 72c5f588319ca5359662640c1f85ea36889ff854..48d18f666709ae696bfb25affe57afef0997396b 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 50984e5536c9e51c7f965c1a16f1f05d4a30b021..c9289d96da244baf0f7626448b1c786cc211c8a7 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
index 29b7eeda5f7444270f810fbe172ec6d9a575ad10..94befc5270c4fb9043d5e7067b43b9c1e5a5e057 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index c5725d751fc4558758ff2577cebdcdc853745aa6..086dd52b908ba72797208f27b5684f7e7f848322 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
index c5f3f8089dbd00188da351517db96655424c3a22..ac78182199f7c7bd96a5cdd9604714b4c69af29f 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index d03d29ed91a324df2d4e3d004baec09719c62610..4e9c1e270b7092771509ca4e3a7cda871efc10b5 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
index c5f3f8089dbd00188da351517db96655424c3a22..ac78182199f7c7bd96a5cdd9604714b4c69af29f 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index 1c152ae624d1a5ec25ff4ee425cefc6b503cc2d4..314cc703250274dca518bd864788c3d6ab48d274 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
index c5f3f8089dbd00188da351517db96655424c3a22..ac78182199f7c7bd96a5cdd9604714b4c69af29f 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index 652c9f518d896b5618f075ff9af15f65027c83df..3cb41ad037460cedf5efdcf8db9bf0e55b85cd8f 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <arch/io.h>
index c5f3f8089dbd00188da351517db96655424c3a22..ac78182199f7c7bd96a5cdd9604714b4c69af29f 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index ff57d0a0627b77b3641af92164aa7f35973bb7dc..31a75183d70be55bbb2366c8f6fb7353c15e60f7 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #define ASM_CONSOLE_LOGLEVEL 6
 #include <stdint.h>
 #include <device/pci_def.h>
index 190e71ddceeb0a7de19aba83500d7d35cc2fb5fc..5c4bbe2d37a9a489a18a7b5255d8f4b932e992fb 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 622fb4a4cc6cad90aedcd0acc04122b74edad0e0..328b95203de6ecba52da53bfb9bd20fb6ee4eba0 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <stdlib.h>
index 64af6923492413db7a2367f696a74ba897afe069..be6e43b0e65f376bf1ce02c9a7566a75fe341996 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 7657dc5a2d96f5f9064e58305758da01c9e8a832..4e60569f1d0f9ae23261e952a7b6a344095ea502 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 3885fc648522a79bd70640d72c85505c2e8abcde..77cac78bd3983e7164242e58707833b6b80717b9 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 35317fc7b22ee50079bb126af3491422d308dd0d..1b6c6da9b168acdaf669ba62a88371ade6986c7b 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index 9910eef031acef1933ad9c229447c6fe9d4277e9..8c871370c3ba776efdeb724d965dc78b98f643e1 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 35317fc7b22ee50079bb126af3491422d308dd0d..1b6c6da9b168acdaf669ba62a88371ade6986c7b 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 #include <stdint.h>
 #include <device/pci_def.h>
 #include <device/pci_ids.h>
index f84bd23de6e9334bc67a6906a440a09c6711e4d7..a40a9b22f888ec3af0344af972cc9ff566dc568b 100644 (file)
@@ -1,4 +1,5 @@
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
@@ -45,11 +46,11 @@ static void enable_mainboard_devices(void)
        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 270a09db172543d76bdd2cfef1939146c63078f2..489730668cb40bd33642e199d0286e4a703e4988 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 645c5c514f05fbc34c58ec27f89fee8456563087..e2065095c1c0ab432f2d2d6fc9da3c36eb13428a 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #define ASSEMBLY 1
+#define __PRE_RAM__
 
 #include <stdint.h>
 #include <device/pci_def.h>
index 5712f34040d2b98fc96c04bc49db95d54c5a90e8..35bd35a55198f0342a0ea52d151c1de5fc7bfab6 100644 (file)
@@ -3616,7 +3616,6 @@ static void register_builtin_macros(struct compile_state *state)
        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");