]> git.baikalelectronics.ru Git - uboot.git/commit
sunxi: support boot console on uart1 for sun8i
authorTobias Schramm <t.schramm@manjaro.org>
Sun, 14 Feb 2021 23:19:58 +0000 (00:19 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Fri, 19 Feb 2021 23:28:50 +0000 (23:28 +0000)
commitabce412ec82b847bf2915fbb932bbe7c3f901cb2
tree688d2c74d379f4a961db68c2ff8b3813dbb0e795
parentc6e5da66e217b13eedf3658f751b7e399c522b9a
sunxi: support boot console on uart1 for sun8i

The A23, A33, H3, H5, A83T, V3 and Sochip S3 sun8i SoCs can mux uart1 on
GPIOs PG6 and PG7. This patch adds support for using uart1 on those pins
as boot console.

Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/include/asm/arch-sunxi/gpio.h
arch/arm/mach-sunxi/board.c