arm64: add support for 8250/16550 earlyprintk
authorAnup Patel <anup.patel@linaro.org>
Fri, 1 Mar 2013 08:41:47 +0000 (08:41 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 20 Mar 2013 16:46:42 +0000 (16:46 +0000)
commite53f2f4b570d85c7208dfc97de54db1296b88207
tree290aecfb7ef4dad6cf30bcc8c3f920c448e81c98
parent0492f72508184d451101564e235b0c32edf9acd3
arm64: add support for 8250/16550 earlyprintk

This patch adds support for using earlyprintk with 8250/16550 UART
ports. The 8250/16550 UART can either have 8-bit or 32-bit aligned
registers which is HW vendor dependent.

Kernel args for 8-bit aligned regs: earlyprintk=uart8250-8bit,<phys_address>

Kernel args for 32-bit aligned regs: earlyprintk=uart8250-32bit,<phys_address>

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/early_printk.c