serial: Fix SIFIVE debug serial dependency
authorMichal Simek <michal.simek@xilinx.com>
Fri, 10 Jul 2020 10:41:13 +0000 (12:41 +0200)
committerAndes <uboot@andestech.com>
Fri, 24 Jul 2020 06:56:04 +0000 (14:56 +0800)
The commit 4cc24aeaf420 ("serial: Add missing Kconfig dependencies for
debug consoles") has added incorrect dependency for SIFIVE debug uart which
should depend on SIFIVE driver instead of PL01x.

Fixes: 4cc24aeaf420 ("serial: Add missing Kconfig dependencies for debug consoles")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Leo Liang <ycliang@andestech.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/serial/Kconfig

index 14df2e9..e146ffc 100644 (file)
@@ -359,7 +359,7 @@ config DEBUG_UART_SANDBOX
 
 config DEBUG_UART_SIFIVE
        bool "SiFive UART"
-       depends on PL01X_SERIAL
+       depends on SIFIVE_SERIAL
        help
          Select this to enable a debug UART using the serial_sifive driver. You
          will need to provide parameters to make this work. The driver will