linux/arch/mips/boot
Paul Burton c11e3b48db MIPS: SEAD3: Probe UARTs using DT
Probe the UARTs on SEAD3 boards using device tree rather than platform
code, in order to reduce the amount of the latter. This requires that
CONFIG_SERIAL_OF_PLATFORM be enabled, so enable it in sead3_defconfig.
The SEAD3 DT shim code is extended to read bootloader environment
variables to determine the appropriate UART & mode for kernel console
output & set the stdout-path property of the chosen node accordingly.

In contrast to the old platform code, which appears to have only ever
set "console=ttyS0,38400n8r" with the code in console_config never
having an effect, this will honor the "yamontty" environment variable to
select between the 2 UARTs on the board and then check the "modetty0" or
"modetty1" variable as appropriate to determine the UART configuration.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14048/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-10-05 01:31:20 +02:00
..
compressed MIPS: ZBOOT: copy appended dtb to the end of the kernel 2016-08-02 14:00:16 +02:00
dts MIPS: SEAD3: Probe UARTs using DT 2016-10-05 01:31:20 +02:00
tools MIPS: tools: Fix relocs tool compiler warnings 2016-08-03 09:00:55 +02:00
.gitignore MIPS: Add support for building device-tree binaries 2014-09-22 13:35:49 +02:00
ecoff.h MIPS: remove duplicate define 2013-11-06 15:51:19 +01:00
elf2ecoff.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-02-21 19:41:38 -08:00
Makefile MIPS: boot: Provide more uImage options 2015-02-20 14:17:43 +01:00