]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
console: Remove vprintf() optimisation for sandbox
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:55:06 +0000 (06:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:07:24 +0000 (14:07 +0100)
commit7793ac96c6094e0a0291e19a5bcf3000c6388250
treea6aaa3a75633cc9504a33d4c5e09bc8df1594ea2
parentd97143a67c696101b68eaaa3deb57ab36e288b77
console: Remove vprintf() optimisation for sandbox

If the console is not present, we try to reduce overhead by stopping any
output in vprintf(), before it gets to putc(). This is of dubious merit
in general, but in the case of sandbox it is incorrect since we have a
fallback console which reports errors very early in U-Boot. If this is
defeated U-Boot can hang or exit with no indication of what is wrong.

Remove the optimisation for sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/console.c