diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-29 22:08:01 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-29 22:08:01 +0000 |
commit | 798ef2893c44ce3194c539c8c5db33d11e8edbac (patch) | |
tree | 405318f804b41070e16ca6b907d65a1e27cc5071 /src/mainboard/olpc | |
parent | 72bdfeb6987f9578ac7fee3f21140ab5853d6179 (diff) | |
download | coreboot-798ef2893c44ce3194c539c8c5db33d11e8edbac.tar.xz |
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/olpc')
-rw-r--r-- | src/mainboard/olpc/btest/romstage.c | 7 | ||||
-rw-r--r-- | src/mainboard/olpc/rev_a/romstage.c | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/src/mainboard/olpc/btest/romstage.c b/src/mainboard/olpc/btest/romstage.c index 12ff739a4e..c47ed79594 100644 --- a/src/mainboard/olpc/btest/romstage.c +++ b/src/mainboard/olpc/btest/romstage.c @@ -1,6 +1,3 @@ -#define ASSEMBLY 1 - - #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h> @@ -38,9 +35,6 @@ static inline unsigned int fls(unsigned int x) return r; } - - - /* sdram parameters for OLPC: row address = 13 col address = 9 @@ -192,3 +186,4 @@ static void main(unsigned long bist) /* Check all of memory */ //ram_check(0x00000000, 640*1024); } + diff --git a/src/mainboard/olpc/rev_a/romstage.c b/src/mainboard/olpc/rev_a/romstage.c index 12ff739a4e..c47ed79594 100644 --- a/src/mainboard/olpc/rev_a/romstage.c +++ b/src/mainboard/olpc/rev_a/romstage.c @@ -1,6 +1,3 @@ -#define ASSEMBLY 1 - - #include <stdint.h> #include <device/pci_def.h> #include <arch/io.h> @@ -38,9 +35,6 @@ static inline unsigned int fls(unsigned int x) return r; } - - - /* sdram parameters for OLPC: row address = 13 col address = 9 @@ -192,3 +186,4 @@ static void main(unsigned long bist) /* Check all of memory */ //ram_check(0x00000000, 640*1024); } + |