]> Git Repo - linux.git/blobdiff - arch/x86/kernel/setup.c
x86/earlyprintk: Add support for earlyprintk via USB3 debug port
[linux.git] / arch / x86 / kernel / setup.c
index e70204e13e48c24158582ccd2781603b0af28538..2600b1d0043b22b218339c24f7779f037b13edb0 100644 (file)
@@ -70,6 +70,7 @@
 #include <linux/tboot.h>
 #include <linux/jiffies.h>
 
+#include <linux/usb/xhci-dbgp.h>
 #include <video/edid.h>
 
 #include <asm/mtrr.h>
@@ -1144,6 +1145,9 @@ void __init setup_arch(char **cmdline_p)
        memblock_set_current_limit(ISA_END_ADDRESS);
        memblock_x86_fill();
 
+       if (!early_xdbc_setup_hardware())
+               early_xdbc_register_console();
+
        reserve_bios_regions();
 
        if (efi_enabled(EFI_MEMMAP)) {
This page took 0.033755 seconds and 4 git commands to generate.