]> git.baikalelectronics.ru Git - kernel.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)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 22 Sep 2015 15:25:33 +0000 (17:25 +0200)
commit7f4a718af9322e40f483594c38aeaead0c935aa7
treebe0fae67da85ac608a7a02f3661f35e3dacd23e2
parentcc325c104bb229cd7ccd17c1f201de2fd8065948
MIPS: Fix console output for Fulong2e system

Commit 022ef6aeb9cb ("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: 022ef6aeb9cb ("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>
arch/mips/loongson64/common/env.c