MIPS: ath79: Add zboot debug serial support
authorAlban Bedel <albeu@free.fr>
Tue, 26 Jan 2016 08:38:29 +0000 (09:38 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:37 +0000 (14:01 +0200)
commitb3f0a250d6eda645cee719cc11ea70e28f62145c
treecdc2a6534cca5803796f890490b580fd40280035
parentea3a7085bfa85ad52118822df73123b7e7056dab
MIPS: ath79: Add zboot debug serial support

Reuse the early printk code to support the serial in zboot. We copy
early_printk.c instead of referencing it because we need to build a
different object file for the normal kernel and zboot.

Signed-off-by: Alban Bedel <albeu@free.fr>
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: Alex Smith <alex.smith@imgtec.com>
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12234/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/boot/compressed/Makefile