]> www.infradead.org Git - users/jedix/linux-maple.git/commit
MIPS: Fix console output for Fulong2e system
authorGuenter Roeck <linux@roeck-us.net>
Mon, 31 Aug 2015 04:19:58 +0000 (21:19 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Oct 2015 21:43:27 +0000 (14:43 -0700)
commita8ef8d4e5bbc5035a1e9789592ca7e8db09c2ea8
treec49244c2ef833aa8310fc0bd818b5280efa38c6d
parente3f916d20c2dc6169a14cb8266bbdb88a97bbbae
MIPS: Fix console output for Fulong2e system

commit fc2ca674470bbfe11d72a20a3f19fd3dc43bfca0 upstream.

Commit 3adeb2566b9b ("MIPS: Loongson: Improve LEFI firmware interface")
made the number of UARTs dynamic if LEFI_FIRMWARE_INTERFACE is configured.
Unfortunately, it did not initialize the number of UARTs if
LEFI_FIRMWARE_INTERFACE is not configured. As a result, the Fulong2e
system has no console.

Fixes: 3adeb2566b9b ("MIPS: Loongson: Improve LEFI firmware interface")
Acked-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11076/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/mips/loongson/common/env.c