summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-03-19 21:59:14 -0700
committerWolfgang Denk <wd@denx.de>2012-03-23 21:27:32 +0100
commit3fa4977a9ec7a2e1c7f8c098cbd857dec13936d1 (patch)
tree9580fc69fc33278d739e5422eb2fce3963355b06 /README
parent9692fd0f70258709e880ce9b75ef1b2dab55e75a (diff)
downloadu-boot-imx-3fa4977a9ec7a2e1c7f8c098cbd857dec13936d1.zip
u-boot-imx-3fa4977a9ec7a2e1c7f8c098cbd857dec13936d1.tar.gz
u-boot-imx-3fa4977a9ec7a2e1c7f8c098cbd857dec13936d1.tar.bz2
Revert "Add board_pre_console_putc to deal with early console output"
This reverts commit 295d3942b806552503243f5cfb36aec6f1b5a9bf. It turns that this really doesn't work very nicely. Instead we should have a pre-console panic function so that we know that further execution is impossible and we don't need to worry about trampling on UARTs, etc. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'README')
-rw-r--r--README17
1 files changed, 0 insertions, 17 deletions
diff --git a/README b/README
index 1f8bd20..b69a3b6 100644
--- a/README
+++ b/README
@@ -644,23 +644,6 @@ The following options need to be configured:
'Sane' compilers will generate smaller code if
CONFIG_PRE_CON_BUF_SZ is a power of 2
-- Pre-console putc():
- Prior to the console being initialised, console output is
- normally silently discarded. This can be annoying if a
- panic() happens in this time.
-
- If the CONFIG_PRE_CONSOLE_PUTC option is defined, then
- U-Boot will call board_pre_console_putc() for each output
- character in this case, This function should try to output
- the character if possible, perhaps on all available UARTs
- (it will need to do this directly, since the console code
- is not functional yet). Note that if the panic happens
- early enough, then it is possible that board_init_f()
- (or even arch_cpu_init() on ARM) has not been called yet.
- You should init all clocks, GPIOs, etc. that are needed
- to get the character out. Baud rates will need to default
- to something sensible.
-
- Safe printf() functions
Define CONFIG_SYS_VSNPRINTF to compile in safe versions of
the printf() functions. These are defined in