x86: Init the debug UART if enabled
authorSimon Glass <sjg@chromium.org>
Mon, 19 Oct 2015 01:51:26 +0000 (19:51 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:50 +0000 (07:46 -0600)
commit60994a02a56fd7dc408b0a36ad5dead1b85959b4
tree82b9a630e970308afe22ed04bb476494cd302351
parentc7fefcb9125bbd183dc095996c6747273043d988
x86: Init the debug UART if enabled

If the debug UART is enabled, get it ready for use at the earliest possible
opportunity. This is not actually very early, but until we have a stack it
is difficult to make it work.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/start.S