[PATCH] serial: add missing depends on ARCH_ZYNQ
Steffen Trumtrar
s.trumtrar at pengutronix.de
Fri Dec 6 04:07:32 EST 2013
Hi!
On Thu, Dec 05, 2013 at 12:28:11AM +0100, Alexander Aring wrote:
> The cadence serial driver is some ARCH_ZYNQ specific driver.
> Add a depends on ARCH_ZYNQ for this driver.
>
> Signed-off-by: Alexander Aring <alex.aring at gmail.com>
> ---
> drivers/serial/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
> index 11fc155..d520dda 100644
> --- a/drivers/serial/Kconfig
> +++ b/drivers/serial/Kconfig
> @@ -119,6 +119,7 @@ config DRIVER_SERIAL_OMAP4_USBBOOT
>
> config DRIVER_SERIAL_CADENCE
> bool "Cadence UART driver"
> + depends on ARCH_ZYNQ
> help
> Say Y here if you have a Cadence serial IP core.
>
> --
> 1.8.4.2
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
Does is not compile with other archs?
This is intended to be a generic driver; Zynq just happens to be the only user.
-> It should not depend on ARCH_ZYNQ.
Regards,
Steffen
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list