mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
13ae40370f
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>
119 lines
2.8 KiB
Plaintext
119 lines
2.8 KiB
Plaintext
config EMBEDDED6xx
|
|
bool "Embedded 6xx/7xx/7xxx-based boards"
|
|
depends on 6xx && BROKEN_ON_SMP
|
|
|
|
config LINKSTATION
|
|
bool "Linkstation / Kurobox(HG) from Buffalo"
|
|
depends on EMBEDDED6xx
|
|
select MPIC
|
|
select FSL_SOC
|
|
select PPC_UDBG_16550 if SERIAL_8250
|
|
select DEFAULT_UIMAGE
|
|
select MPC10X_BRIDGE
|
|
help
|
|
Select LINKSTATION if configuring for one of PPC- (MPC8241)
|
|
based NAS systems from Buffalo Technology. So far only
|
|
KuroboxHG has been tested. In the future classical Kurobox,
|
|
Linkstation-I HD-HLAN and HD-HGLAN versions, and PPC-based
|
|
Terastation systems should be supported too.
|
|
|
|
config STORCENTER
|
|
bool "IOMEGA StorCenter"
|
|
depends on EMBEDDED6xx
|
|
select MPIC
|
|
select FSL_SOC
|
|
select PPC_UDBG_16550 if SERIAL_8250
|
|
select MPC10X_BRIDGE
|
|
help
|
|
Select STORCENTER if configuring for the iomega StorCenter
|
|
with an 8241 CPU in it.
|
|
|
|
config MPC7448HPC2
|
|
bool "Freescale MPC7448HPC2(Taiga)"
|
|
depends on EMBEDDED6xx
|
|
select TSI108_BRIDGE
|
|
select DEFAULT_UIMAGE
|
|
select PPC_UDBG_16550
|
|
help
|
|
Select MPC7448HPC2 if configuring for Freescale MPC7448HPC2 (Taiga)
|
|
platform
|
|
|
|
config PPC_HOLLY
|
|
bool "PPC750GX/CL with TSI10x bridge (Hickory/Holly)"
|
|
depends on EMBEDDED6xx
|
|
select TSI108_BRIDGE
|
|
select PPC_UDBG_16550
|
|
help
|
|
Select PPC_HOLLY if configuring for an IBM 750GX/CL Eval
|
|
Board with TSI108/9 bridge (Hickory/Holly)
|
|
|
|
config PPC_C2K
|
|
bool "SBS/GEFanuc C2K board"
|
|
depends on EMBEDDED6xx
|
|
select MV64X60
|
|
select NOT_COHERENT_CACHE
|
|
select MTD_CFI_I4
|
|
help
|
|
This option enables support for the GE Fanuc C2K board (formerly
|
|
an SBS board).
|
|
|
|
config MVME5100
|
|
bool "Motorola/Emerson MVME5100"
|
|
depends on EMBEDDED6xx
|
|
select MPIC
|
|
select PCI
|
|
select PPC_INDIRECT_PCI
|
|
select PPC_I8259
|
|
select PPC_NATIVE
|
|
select PPC_UDBG_16550
|
|
help
|
|
This option enables support for the Motorola (now Emerson) MVME5100
|
|
board.
|
|
|
|
config TSI108_BRIDGE
|
|
bool
|
|
select PCI
|
|
select MPIC
|
|
select MPIC_WEIRD
|
|
|
|
config MPC10X_BRIDGE
|
|
bool
|
|
select PPC_INDIRECT_PCI
|
|
|
|
config MV64X60
|
|
bool
|
|
select PPC_INDIRECT_PCI
|
|
select CHECK_CACHE_COHERENCY
|
|
|
|
config GAMECUBE_COMMON
|
|
bool
|
|
|
|
config USBGECKO_UDBG
|
|
bool "USB Gecko udbg console for the Nintendo GameCube/Wii"
|
|
depends on GAMECUBE_COMMON
|
|
help
|
|
If you say yes to this option, support will be included for the
|
|
USB Gecko adapter as an udbg console.
|
|
The USB Gecko is a EXI to USB Serial converter that can be plugged
|
|
into a memcard slot in the Nintendo GameCube/Wii.
|
|
|
|
This driver bypasses the EXI layer completely.
|
|
|
|
If in doubt, say N here.
|
|
|
|
config GAMECUBE
|
|
bool "Nintendo-GameCube"
|
|
depends on EMBEDDED6xx
|
|
select GAMECUBE_COMMON
|
|
help
|
|
Select GAMECUBE if configuring for the Nintendo GameCube.
|
|
More information at: <http://gc-linux.sourceforge.net/>
|
|
|
|
config WII
|
|
bool "Nintendo-Wii"
|
|
depends on EMBEDDED6xx
|
|
select GAMECUBE_COMMON
|
|
help
|
|
Select WII if configuring for the Nintendo Wii.
|
|
More information at: <http://gc-linux.sourceforge.net/>
|