From: Eric Miao Date: Fri, 19 Feb 2010 05:49:39 +0000 (+0800) Subject: [ARM] pxa: refactor uncompress.h for non-PXA uarts X-Git-Tag: v2.6.34-rc2~66^2~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95efee13303d9ff9e67f2600174f492039311ce;p=pandora-kernel.git [ARM] pxa: refactor uncompress.h for non-PXA uarts The original patch came from Marc Zyngier where support of 8250-compatible UART is required to show the uncompress information. Modified a little bit here, including changes below: 1. #include is actually not necessary 2. introduced uart_{read,write}() for different base and shift 3. introduced uart_is_enabled() and assumed enabled always for non-PXA uarts Signed-off-by: Eric Miao Acked-by: Marc Zyngier --- Reading git-diff-tree failed