]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: Do not add a stdout-path alias to dts on boards without a serial port
authorHans de Goede <hdegoede@redhat.com>
Sat, 1 Aug 2015 12:44:29 +0000 (14:44 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:39 +0000 (08:17 +0200)
commitb30768e29d3e47f1646525b8d36db855cb5859f6
treef90da5cc32cf763e23c9eaa4a55831d9a3006a66
parent2a47bcd3c3f0b9fda2189641ea6387b0d4f904b7
sunxi: Do not add a stdout-path alias to dts on boards without a serial port

Do not add a bogus (pointing to a non existing serial port) stdout-path
alias to dts on boards without a serial port.

Note that we still define CONS_INDEX as this is used by the SPL where we do
not use DM_SERIAL and thus CONFIG_REQUIRE_SERIAL_CONSOLE is not honored.

We are getting away with this because the sun5i die actually has
an uart0, which in the A13 package is not routed to the outside,
so we are simply sending SPL bootup messages to the tx pin at the
edge of the die, and they go no further from there...

And sofar we only have one A13 board which does not have a serial
port, all others do have a serial port. This kinda makes sense since
the A13 is a much lower pincount package compared to all the other
sunxi SoCs.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
include/configs/sunxi-common.h