diff --git a/src/soc/qualcomm/ipq806x/Makefile.inc b/src/soc/qualcomm/ipq806x/Makefile.inc
index b3484238ff..84eae0be51 100644
--- a/src/soc/qualcomm/ipq806x/Makefile.inc
+++ b/src/soc/qualcomm/ipq806x/Makefile.inc
@@ -32,7 +32,7 @@ libverstage-y += i2c.c
 libverstage-y += qup.c
 libverstage-y += spi.c
 verstage-y += timer.c
-verstage-$(CONFIG_CONSOLE_SERIAL_IPQ806X) += uart.c
+verstage-$(CONFIG_DRIVERS_UART) += uart.c
 
 romstage-y += clock.c
 romstage-y += blobs_init.c