ARM: sunxi: Add support for using R_UART as console
authorChen-Yu Tsai <wens@csie.org>
Wed, 22 Oct 2014 08:47:47 +0000 (16:47 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 24 Oct 2014 07:35:39 +0000 (09:35 +0200)
commitc757a50bd12b4f4f1c44a7cc42354918e8d60cd7
treef7041a6dc6cbb8bc45372c633bc978a54becdf68
parent472ed0641e73ea5c5b80f9bfa804bfe0f89eca69
ARM: sunxi: Add support for using R_UART as console

The A23 only has UART0 muxed with MMC0. Some of the boards we
encountered expose R_UART as a set of pads.

Add support for R_UART so we can have a console while using mmc.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/board.c
arch/arm/cpu/armv7/sunxi/clock_sun6i.c
arch/arm/include/asm/arch-sunxi/cpu.h
arch/arm/include/asm/arch-sunxi/gpio.h
include/configs/sunxi-common.h