summaryrefslogtreecommitdiffstats
path: root/src/mainboard/via
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-29 22:08:01 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-29 22:08:01 +0000
commit798ef2893c44ce3194c539c8c5db33d11e8edbac (patch)
tree405318f804b41070e16ca6b907d65a1e27cc5071 /src/mainboard/via
parent72bdfeb6987f9578ac7fee3f21140ab5853d6179 (diff)
downloadcoreboot-798ef2893c44ce3194c539c8c5db33d11e8edbac.tar.gz
coreboot-798ef2893c44ce3194c539c8c5db33d11e8edbac.tar.bz2
coreboot-798ef2893c44ce3194c539c8c5db33d11e8edbac.zip
This drops the ASSEMBLY define from romstage.c, too
(since it's not assembly code, this was a dirty hack anyways) Also run awk 1 RS= ORS="\n\n" < $FILE > $FILE.nonewlines mv $FILE.nonewlines $FILE on romstage.c because my perl -pi -e 's,#define ASSEMBLY 1,,g' */*/romstage.c cut some holes into the source. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5320 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via')
-rw-r--r--src/mainboard/via/epia-cn/romstage.c4
-rw-r--r--src/mainboard/via/epia-m/romstage.c4
-rw-r--r--src/mainboard/via/epia-m700/romstage.c3
-rw-r--r--src/mainboard/via/epia-n/romstage.c6
-rw-r--r--src/mainboard/via/epia/romstage.c4
-rw-r--r--src/mainboard/via/pc2500e/romstage.c4
-rw-r--r--src/mainboard/via/vt8454c/romstage.c4
7 files changed, 7 insertions, 22 deletions
diff --git a/src/mainboard/via/epia-cn/romstage.c b/src/mainboard/via/epia-cn/romstage.c
index 57bc0dec189f..1c4969c32263 100644
--- a/src/mainboard/via/epia-cn/romstage.c
+++ b/src/mainboard/via/epia-cn/romstage.c
@@ -19,9 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define ASSEMBLY 1
-
-
#include <stdint.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
@@ -123,3 +120,4 @@ static void main(unsigned long bist)
print_spew("Leaving romstage.c:main()\r\n");
}
+
diff --git a/src/mainboard/via/epia-m/romstage.c b/src/mainboard/via/epia-m/romstage.c
index 10d665fda6cb..9dcb4a8939f2 100644
--- a/src/mainboard/via/epia-m/romstage.c
+++ b/src/mainboard/via/epia-m/romstage.c
@@ -1,6 +1,3 @@
-#define ASSEMBLY 1
-
-
#include <stdint.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
@@ -152,3 +149,4 @@ static void main(unsigned long bist)
print_spew("Leaving romstage.c:main()\r\n");
}
+
diff --git a/src/mainboard/via/epia-m700/romstage.c b/src/mainboard/via/epia-m700/romstage.c
index f182c73cc562..451a7ba7e1c8 100644
--- a/src/mainboard/via/epia-m700/romstage.c
+++ b/src/mainboard/via/epia-m700/romstage.c
@@ -22,8 +22,6 @@
* and acpi_is_wakeup_early_via_VX800() is part of Rudolf's S3 patch.
*/
-#define ASSEMBLY 1
-
#define RAMINIT_SYSINFO 1
#define CACHE_AS_RAM_ADDRESS_DEBUG 0
@@ -814,3 +812,4 @@ cpu_reset_x:
print_debug("should not be here -\r\n");
}
+
diff --git a/src/mainboard/via/epia-n/romstage.c b/src/mainboard/via/epia-n/romstage.c
index c98a663c6117..5f3ebc3210e9 100644
--- a/src/mainboard/via/epia-n/romstage.c
+++ b/src/mainboard/via/epia-n/romstage.c
@@ -19,9 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define ASSEMBLY 1
-
-
#include <stdint.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
@@ -57,7 +54,6 @@ static const struct mem_controller ctrl = {
.channel0 = { 0x50 },
};
-
static void memreset_setup(void)
{
}
@@ -146,7 +142,6 @@ static void main(unsigned long bist)
print_debug("Setup CPU Interface\r\n");
c3_cpu_setup(ctrl.d0f2);
-
ddr_ram_setup();
if (bist == 0) {
@@ -158,3 +153,4 @@ static void main(unsigned long bist)
print_spew("Leaving romstage.c:main()\r\n");
}
+
diff --git a/src/mainboard/via/epia/romstage.c b/src/mainboard/via/epia/romstage.c
index 8d3978415f87..1b5e9e21b863 100644
--- a/src/mainboard/via/epia/romstage.c
+++ b/src/mainboard/via/epia/romstage.c
@@ -1,6 +1,3 @@
-#define ASSEMBLY 1
-
-
#include <stdint.h>
#include <device/pci_def.h>
#include <arch/io.h>
@@ -126,3 +123,4 @@ static void main(unsigned long bist)
}
#endif
}
+
diff --git a/src/mainboard/via/pc2500e/romstage.c b/src/mainboard/via/pc2500e/romstage.c
index 0b2425950220..9bfaefffc4dc 100644
--- a/src/mainboard/via/pc2500e/romstage.c
+++ b/src/mainboard/via/pc2500e/romstage.c
@@ -18,9 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define ASSEMBLY 1
-
-
#include <stdint.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
@@ -83,3 +80,4 @@ static void main(unsigned long bist)
/* ram_check(0, 640 * 1024); */
}
+
diff --git a/src/mainboard/via/vt8454c/romstage.c b/src/mainboard/via/vt8454c/romstage.c
index 52b93fdc224c..168e496f22a5 100644
--- a/src/mainboard/via/vt8454c/romstage.c
+++ b/src/mainboard/via/vt8454c/romstage.c
@@ -19,9 +19,6 @@
* MA 02110-1301 USA
*/
-#define ASSEMBLY 1
-
-
#include <stdint.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
@@ -132,3 +129,4 @@ static void main(unsigned long bist)
void amd64_main(unsigned long bist) {
main(bist);
}
+