Ver código fonte

[ARM] pxa/zeus: Allow usage of 8250-compatible UART in uncompress

Zeus console port is wired to a 8250-compatible device (pxa UARTs are
reserved to other uses). This patch allows such a configuration in the
uncompress sequence.

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Marc Zyngier 15 anos atrás
pai
commit
662b0836a6
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      arch/arm/mach-pxa/include/mach/uncompress.h

+ 6 - 0
arch/arm/mach-pxa/include/mach/uncompress.h

@@ -60,6 +60,12 @@ static inline void arch_decomp_setup(void)
 	    || machine_is_csb726() || machine_is_stargate2()
 	    || machine_is_cm_x300() || machine_is_balloon3())
 		uart_base = STUART_BASE;
+
+	if (machine_is_arcom_zeus()) {
+		uart_base = 0x10000000;	/* nCS4 */
+		uart_shift = 1;
+		uart_is_pxa = 0;
+	}
 }
 
 /*