Commit 806a4497 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman

serial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED

The Aspeed Virtual UART is only present on Aspeed BMC platforms.  Hence
add a dependency on ARCH_ASPEED, to prevent asking the user about this
driver when configuring a kernel without Aspeed BMC support.
Reviewed-by: default avatarJeremy Kerr <jk@ozlabs.org>
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/259138c372d433005b4871789ef9ee8d15320307.1657528861.git.geert+renesas@glider.beSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ef5a03a2
...@@ -254,6 +254,7 @@ config SERIAL_8250_ASPEED_VUART ...@@ -254,6 +254,7 @@ config SERIAL_8250_ASPEED_VUART
depends on SERIAL_8250 depends on SERIAL_8250
depends on OF depends on OF
depends on REGMAP && MFD_SYSCON depends on REGMAP && MFD_SYSCON
depends on ARCH_ASPEED || COMPILE_TEST
help help
If you want to use the virtual UART (VUART) device on Aspeed If you want to use the virtual UART (VUART) device on Aspeed
BMC platforms, enable this option. This enables the 16550A- BMC platforms, enable this option. This enables the 16550A-
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment