Re: [PATCH 2/6] ARM: sunxi: Add debug uart used by sun9i (Allwinner A80)
From: Maxime Ripard
Date: Wed Sep 24 2014 - 02:40:35 EST
On Sun, Sep 21, 2014 at 10:58:09PM +0800, Chen-Yu Tsai wrote:
> The uarts on sun9i are still compatible with the dw_8250, but are
> located at different addresses.
> Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>
> arch/arm/Kconfig.debug | 10 ++++++++++
> 1 file changed, 10 insertions(+)
> diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
> index b11ad54..58b5218 100644
> --- a/arch/arm/Kconfig.debug
> +++ b/arch/arm/Kconfig.debug
> @@ -707,6 +707,14 @@ choice
> Say Y here if you want kernel low-level debugging support
> on SOCFPGA based platforms.
> + config DEBUG_SUN9I_UART0
> + bool "Kernel low-level debugging messages via sun9i UART0"
> + depends on ARCH_SUNXI && MACH_SUN9I
Depending on MACH_SUN9I should be enough. It already depends on ARCH_SUNXI.
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
Description: Digital signature