diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-01-05 13:03:02 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-01-05 13:03:02 +0000 |
commit | a0c68f864e9095a94c684183deb41f706e0bd1c3 (patch) | |
tree | 3dc2dd84c9c18ee1891ce89f884ee2d0e4486f12 /src/mainboard/via | |
parent | 1f807fd42f4c4d175c2af1357979fdf235f0be9a (diff) | |
download | coreboot-a0c68f864e9095a94c684183deb41f706e0bd1c3.tar.xz |
* 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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4998 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via')
-rw-r--r-- | src/mainboard/via/epia-cn/auto.c | 1 | ||||
-rw-r--r-- | src/mainboard/via/epia-m/auto.c | 1 | ||||
-rw-r--r-- | src/mainboard/via/epia-m/failover.c | 1 | ||||
-rw-r--r-- | src/mainboard/via/epia-n/auto.c | 1 | ||||
-rw-r--r-- | src/mainboard/via/epia-n/failover.c | 1 | ||||
-rw-r--r-- | src/mainboard/via/epia/auto.c | 11 | ||||
-rw-r--r-- | src/mainboard/via/pc2500e/auto.c | 1 | ||||
-rw-r--r-- | src/mainboard/via/vt8454c/auto.c | 1 |
8 files changed, 13 insertions, 5 deletions
diff --git a/src/mainboard/via/epia-cn/auto.c b/src/mainboard/via/epia-cn/auto.c index 7657dc5a2d..4e60569f1d 100644 --- a/src/mainboard/via/epia-cn/auto.c +++ b/src/mainboard/via/epia-cn/auto.c @@ -20,6 +20,7 @@ */ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> diff --git a/src/mainboard/via/epia-m/auto.c b/src/mainboard/via/epia-m/auto.c index 3885fc6485..77cac78bd3 100644 --- a/src/mainboard/via/epia-m/auto.c +++ b/src/mainboard/via/epia-m/auto.c @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> diff --git a/src/mainboard/via/epia-m/failover.c b/src/mainboard/via/epia-m/failover.c index 35317fc7b2..1b6c6da9b1 100644 --- a/src/mainboard/via/epia-m/failover.c +++ b/src/mainboard/via/epia-m/failover.c @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h> diff --git a/src/mainboard/via/epia-n/auto.c b/src/mainboard/via/epia-n/auto.c index 9910eef031..8c871370c3 100644 --- a/src/mainboard/via/epia-n/auto.c +++ b/src/mainboard/via/epia-n/auto.c @@ -20,6 +20,7 @@ */ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> diff --git a/src/mainboard/via/epia-n/failover.c b/src/mainboard/via/epia-n/failover.c index 35317fc7b2..1b6c6da9b1 100644 --- a/src/mainboard/via/epia-n/failover.c +++ b/src/mainboard/via/epia-n/failover.c @@ -1,4 +1,5 @@ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> #include <device/pci_ids.h> diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c index f84bd23de6..a40a9b22f8 100644 --- a/src/mainboard/via/epia/auto.c +++ b/src/mainboard/via/epia/auto.c @@ -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 diff --git a/src/mainboard/via/pc2500e/auto.c b/src/mainboard/via/pc2500e/auto.c index 270a09db17..489730668c 100644 --- a/src/mainboard/via/pc2500e/auto.c +++ b/src/mainboard/via/pc2500e/auto.c @@ -19,6 +19,7 @@ */ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> diff --git a/src/mainboard/via/vt8454c/auto.c b/src/mainboard/via/vt8454c/auto.c index 645c5c514f..e2065095c1 100644 --- a/src/mainboard/via/vt8454c/auto.c +++ b/src/mainboard/via/vt8454c/auto.c @@ -20,6 +20,7 @@ */ #define ASSEMBLY 1 +#define __PRE_RAM__ #include <stdint.h> #include <device/pci_def.h> |