summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2015-09-10 21:55:17 +0100
committerTom Rini <trini@konsulko.com>2015-09-28 10:48:22 -0400
commit9c71bcdc81b5d5a7acafb4e2b860e3ce68db6108 (patch)
treec116e91e39a2ec7e33372e51f34af1ae08cf23a7 /arch
parentefd7b60a81fe7a8ecffa585691d835456d5d551a (diff)
downloadtalos-obmc-uboot-9c71bcdc81b5d5a7acafb4e2b860e3ce68db6108.tar.gz
talos-obmc-uboot-9c71bcdc81b5d5a7acafb4e2b860e3ce68db6108.zip
ARM: hikey: hi6220: Migrate over to DM_SERIAL and use UART3 by default.
Use DM for the pl01x serial driver on hikey. Also allow UART0 or UART3 to be chosen via Kconfig. By default we now output to UART3 as the latest version of ATF outputs to this UART. Also UART3 comes out on the LS connector, as opposed to UART0 which goes to a unpopulated header. As part of this change we also enable CONFIG_BOARD_EARLY_INIT_F and call the pinmux configuration code for the UART. Before we were relying on ATF having already configured the pin configuration. NB: Upstream Linux kernel doesn't yet support UART3, so serial console will still be output on UART0 when booting a upstream kernel. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5a8d4b2052..0b07e08db6 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -604,6 +604,7 @@ config TARGET_HIKEY
select ARM64
select DM
select DM_GPIO
+ select DM_SERIAL
help
Support for HiKey 96boards platform. It features a HI6220
SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
@@ -612,7 +613,6 @@ config TARGET_LS1021AQDS
bool "Support ls1021aqds"
select CPU_V7
select SUPPORT_SPL
-
config TARGET_LS1021ATWR
bool "Support ls1021atwr"
select CPU_V7
OpenPOWER on IntegriCloud