summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/u-boot-x86.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-27 22:13:42 -0700
committerSimon Glass <sjg@chromium.org>2015-02-06 12:07:38 -0700
commit447f8b018e5e5bc5b6958ce6ed8f79e8c35c30af (patch)
tree8e75ccfa3d56a0b6e68a8c148fac401d9cd0d68b /arch/x86/include/asm/u-boot-x86.h
parent8ce24cd9919b9d7157a800e0fd1ec653730c937e (diff)
downloadtalos-obmc-uboot-447f8b018e5e5bc5b6958ce6ed8f79e8c35c30af.tar.gz
talos-obmc-uboot-447f8b018e5e5bc5b6958ce6ed8f79e8c35c30af.zip
x86: Allow a UART to be set up before the FSP is ready
Since the FSP is a black box it helps to have some sort of debugging available to check its inputs. If the debug UART is in use, set it up after CAR is available. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include/asm/u-boot-x86.h')
-rw-r--r--arch/x86/include/asm/u-boot-x86.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/u-boot-x86.h b/arch/x86/include/asm/u-boot-x86.h
index b98afa801d..5d7dff534d 100644
--- a/arch/x86/include/asm/u-boot-x86.h
+++ b/arch/x86/include/asm/u-boot-x86.h
@@ -45,6 +45,9 @@ ulong board_get_usable_ram_top(ulong total_size);
void dram_init_banksize(void);
int default_print_cpuinfo(void);
+/* Set up a UART which can be used with printch(), printhex8(), etc. */
+int setup_early_uart(void);
+
void setup_pcat_compatibility(void);
void isa_unmap_rom(u32 addr);
OpenPOWER on IntegriCloud