diff options
author | Simon Glass <sjg@chromium.org> | 2011-12-19 15:47:12 -0800 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2011-12-21 13:16:26 -0800 |
commit | 416b0a008f27eb6ff99fa6824532b131b783e32d (patch) | |
tree | bc284616d7f10312727df0caf1088a07b9344927 /README | |
parent | 5e601c69d07857ebfbd709acba7c448fd0189f5f (diff) |
Add CONFIG_DELAY_CONSOLE to delay console init
This option delays console initialization until after relocation. This
can save time if this init is relatively expensive, since after
relocation the CPU is often running much faster.
This option should be used in conjunction with CONFIG_PRE_CONSOLE_BUFFER
to ensure that all console output is buffered until the console is
ready for it.
This saves about 30ms boot time.
BUG=chromium-os:22938
TEST=build and boot on Kaen
Change-Id: I3a774b418d45e7be9338f9942df445c2c2baa528
Reviewed-on: https://gerrit.chromium.org/gerrit/13207
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Commit-Ready: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'README')
-rw-r--r-- | README | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -556,6 +556,11 @@ The following options need to be configured: the "silent" environment variable. See doc/README.silent for more information. + When CONFIG_DELAY_CONSOLE is defined, the console init is + delayed until after relocation. To use this feature, the + board architecture code must call console_ready() after + relocation once everything is ready. + - Console Baudrate: CONFIG_BAUDRATE - in bps Select one of the baudrates listed in |