From 3c0dc405dca460dff830f3d9f1913dfd65dc8ceb Mon Sep 17 00:00:00 2001 From: gaspar-ilom Date: Thu, 27 Mar 2025 09:20:49 +0100 Subject: [PATCH] T440p/W541: enable USB_DEBUG with FT2232H Signed-off-by: gaspar-ilom --- config/coreboot-t440p.config | 11 ++++++++++- config/coreboot-w541.config | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/config/coreboot-t440p.config b/config/coreboot-t440p.config index a4a3e1ca..2fc021a8 100644 --- a/config/coreboot-t440p.config +++ b/config/coreboot-t440p.config @@ -496,7 +496,15 @@ CONFIG_NO_UART_ON_SUPERIO=y # CONFIG_DRIVERS_UART_OXPCIE is not set CONFIG_HAVE_USBDEBUG=y CONFIG_HAVE_USBDEBUG_OPTIONS=y -# CONFIG_USBDEBUG is not set +CONFIG_USBDEBUG=y +CONFIG_USBDEBUG_IN_PRE_RAM=y +CONFIG_USBDEBUG_DEFAULT_PORT=0 +# CONFIG_USBDEBUG_DONGLE_STD is not set +# CONFIG_USBDEBUG_DONGLE_BEAGLEBONE is not set +CONFIG_USBDEBUG_DONGLE_FTDI_FT232H=y +# CONFIG_USBDEBUG_DONGLE_WCH_CH347 is not set +CONFIG_USBDEBUG_DONGLE_FTDI_FT232H_BAUD=115200 +CONFIG_USBDEBUG_OPTIONAL_HUB_PORT=0 # CONFIG_VPD is not set # CONFIG_DRIVERS_GENERIC_CBFS_SERIAL is not set # CONFIG_DRIVERS_GENERIC_CBFS_UUID is not set @@ -601,6 +609,7 @@ CONFIG_BOOTBLOCK_CONSOLE=y CONFIG_POSTCAR_CONSOLE=y CONFIG_SQUELCH_EARLY_SMP=y # CONFIG_SPKMODEM is not set +CONFIG_CONSOLE_USB=y # CONFIG_CONSOLE_NE2K is not set CONFIG_CONSOLE_CBMEM=y # CONFIG_CONSOLE_CBMEM_DUMP_TO_UART is not set diff --git a/config/coreboot-w541.config b/config/coreboot-w541.config index aac258dd..5c7bdef5 100644 --- a/config/coreboot-w541.config +++ b/config/coreboot-w541.config @@ -496,7 +496,15 @@ CONFIG_NO_UART_ON_SUPERIO=y # CONFIG_DRIVERS_UART_OXPCIE is not set CONFIG_HAVE_USBDEBUG=y CONFIG_HAVE_USBDEBUG_OPTIONS=y -# CONFIG_USBDEBUG is not set +CONFIG_USBDEBUG=y +CONFIG_USBDEBUG_IN_PRE_RAM=y +CONFIG_USBDEBUG_DEFAULT_PORT=1 +# CONFIG_USBDEBUG_DONGLE_STD is not set +# CONFIG_USBDEBUG_DONGLE_BEAGLEBONE is not set +CONFIG_USBDEBUG_DONGLE_FTDI_FT232H=y +# CONFIG_USBDEBUG_DONGLE_WCH_CH347 is not set +CONFIG_USBDEBUG_DONGLE_FTDI_FT232H_BAUD=115200 +CONFIG_USBDEBUG_OPTIONAL_HUB_PORT=0 # CONFIG_VPD is not set # CONFIG_DRIVERS_GENERIC_CBFS_SERIAL is not set # CONFIG_DRIVERS_GENERIC_CBFS_UUID is not set @@ -600,6 +608,7 @@ CONFIG_BOOTBLOCK_CONSOLE=y CONFIG_POSTCAR_CONSOLE=y CONFIG_SQUELCH_EARLY_SMP=y # CONFIG_SPKMODEM is not set +CONFIG_CONSOLE_USB=y # CONFIG_CONSOLE_NE2K is not set CONFIG_CONSOLE_CBMEM=y # CONFIG_CONSOLE_CBMEM_DUMP_TO_UART is not set