2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/arch/powerpc/platforms/embedded6xx
Stephen Chivers 13ae40370f powerpc/legacy_serial: Support MVME5100 UARTS with shifted registers
This patch adds support to legacy serial for
UARTS with shifted registers.

The MVME5100 Single Board Computer is a PowerPC platform
that has 16550 style UARTS with register addresses that are
16 bytes apart (shifted by 4).

Commit 	309257484c
"powerpc: Cleanup udbg_16550 and add support for LPC PIO-only UARTs"
added support to udbg_16550 for shifted registers by adding a "stride"
parameter to the initialisation operations for Programmed IO and
Memory Mapped IO.

As a consequence it is now possible to use the services of legacy serial
to provide early serial console messages for the MVME5100.

An added benefit of this is that the serial console will always be
"ttyS0" irrespective of whether the computer is fitted with extra
PCI 8250 interface boards or not.

I have tested this patch using the four PowerPC platforms available to me:

	MVME5100 - shifted registers,
	SAM440EP - unshifted registers,
	MPC8349 - unshifted registers,
	MVME4100 - unshifted registers.

Signed-off-by: Stephen Chivers <schivers@csc.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-04-28 17:36:25 +10:00
..
c2k.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
flipper-pic.c powerpc: add explicit OF includes 2013-10-09 20:04:11 -05:00
flipper-pic.h powerpc: gamecube/wii: flipper interrupt controller support 2009-12-12 22:24:28 -07:00
gamecube.c powerpc/kexec: Remove empty ppc_md.machine_kexec_prepare 2011-01-21 14:08:36 +11:00
hlwd-pic.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
hlwd-pic.h powerpc: wii: hollywood interrupt controller support 2009-12-12 22:24:30 -07:00
holly.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
Kconfig powerpc/legacy_serial: Support MVME5100 UARTS with shifted registers 2014-04-28 17:36:25 +10:00
linkstation.c powerpc/mpic: Remove duplicate MPIC_WANTS_RESET flag 2012-02-23 10:50:00 +11:00
ls_uart.c [POWERPC] 82xx and embedded6xx: Use machine_*_initcall() hooks in platform code 2008-01-28 08:30:41 -06:00
Makefile powerpc: Delete old PrPMC 280/2800 support 2014-03-07 15:54:48 +11:00
mpc10x.h powerpc/pci: Support per-aperture memory offset 2013-05-06 13:40:40 +10:00
mpc7448_hpc2.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
mvme5100.c powerpc/embedded6xx: Add support for Motorola/Emerson MVME5100 2014-01-09 17:52:20 -06:00
storcenter.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
usbgecko_udbg.c powerpc/gamecube/wii: Fix off-by-one error in ugecon/usbgecko_udbg 2009-12-18 15:13:57 +11:00
usbgecko_udbg.h powerpc: gamecube/wii: early debugging using usbgecko 2009-12-12 22:24:31 -07:00
wii.c memblock: s/memblock_analyze()/memblock_allow_resize()/ and update users 2011-12-08 10:22:08 -08:00