diff options
author | David Hendricks <dhendrix@chromium.org> | 2013-01-16 15:00:07 -0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-01-17 02:24:58 +0100 |
commit | e2851f2812ddf39b362e2abba76eeec0cd705dee (patch) | |
tree | 2f44d6e2f29a89cbe91ea640e55285c47bddb867 /src/arch/armv7/romstage.ld | |
parent | 88c4939c1b6cb2097a9877bb298d2ee6b8580f62 (diff) | |
download | coreboot-e2851f2812ddf39b362e2abba76eeec0cd705dee.tar.xz |
make main() in snow's romstage.c our romstage entry point
Our earlier attempt was jumping straight from asm to the old u-boot
board_init_f in lowlevel_init_c.c. We are getting ready to transition
to using a real bootblock for ARM, so add romstage.c to the files
compiled and we'll make main() our entry point.
This also updates romstage.ld to place main() (*(.text.startup)) at
the beginning of romstage.
Change-Id: Ifc77a6bfba27d915c4cad62c6c8040665294628a
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/2163
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch/armv7/romstage.ld')
-rw-r--r-- | src/arch/armv7/romstage.ld | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/armv7/romstage.ld b/src/arch/armv7/romstage.ld index b63a78e05e..61e3479cae 100644 --- a/src/arch/armv7/romstage.ld +++ b/src/arch/armv7/romstage.ld @@ -43,6 +43,8 @@ SECTIONS .romtext . : { _rom = .; + _start = .; + *(.text.startup); *(.text); } |