From 0313a0961b685973f7833017479a277e3a4c05a4 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Wed, 4 Dec 2024 14:40:59 +0000
Subject: [PATCH] fixup! serial: tty: Add a driver for the RPi firmware UART

Make SERIAL_RPI_FW depend on RASPBERRYPI_FIRMWARE.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1580,7 +1580,7 @@ config SERIAL_NUVOTON_MA35D1_CONSOLE
 
 config SERIAL_RPI_FW
 	tristate "Raspberry Pi Firmware software UART support"
-	depends on ARM_AMBA || COMPILE_TEST
+	depends on RASPBERRYPI_FIRMWARE || COMPILE_TEST
 	select SERIAL_CORE
 	help
 	  This selects the Raspberry Pi firmware UART. This is a bit-bashed
