diff options
author | Hung-Te Lin <hungte@chromium.org> | 2013-02-04 14:38:03 +0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-02-07 06:10:09 +0100 |
commit | 5f83f6cb7a3f179482db54aaff38f23795dc1acf (patch) | |
tree | bd94e259d2ae6fab8e4b993d04215b0964d8bf5f /src/console | |
parent | c720d8d5d419d8e9128392cd7ab90e3a3fca1d4b (diff) |
armv7: Clean up arm/snow bootblock build process.
Remove duplicated / testing code and share more driver for bootblock, romstage
and ramstage.
The __PRE_RAM__ is now also defined in bootblock build stage, since bootblock is
executed before RAM is initialized.
Change-Id: I4f5469b1545631eee1cf9f2f5df93cbe3a58268b
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2282
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/Makefile.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc index 3c4777fbef..dd826d6e13 100644 --- a/src/console/Makefile.inc +++ b/src/console/Makefile.inc @@ -14,6 +14,11 @@ romstage-$(CONFIG_EARLY_SERIAL_CONSOLE) += console.c romstage-y += post.c romstage-y += die.c +# TODO Add vtxprintf.c only when early console is required. +bootblock-y += vtxprintf.c +bootblock-$(CONFIG_EARLY_SERIAL_CONSOLE) += console.c +bootblock-y += die.c + ramstage-$(CONFIG_CONSOLE_SERIAL8250) += uart8250_console.c ramstage-$(CONFIG_CONSOLE_SERIAL8250MEM) += uart8250mem_console.c ramstage-$(CONFIG_USBDEBUG) += usbdebug_console.c |