OSDN Git Service

ARM: mxs: Change duart device to use amba-pl011
authorShawn Guo <shawn.guo@freescale.com>
Tue, 4 Jan 2011 06:20:52 +0000 (14:20 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 12 Jan 2011 13:47:15 +0000 (14:47 +0100)
commitdbc4245bb520580fc1b01105727fde7d7cbe452d
tree993aa43d0831ddb9a981640a9bf48bb92e8e78bf
parent48f76ed1cc034c682666c43815fd0ef27c2a7215
ARM: mxs: Change duart device to use amba-pl011

The mxs duart is actually an amba-pl011 device. This commit changes
the duart device code to dynamically allocate amba-pl011 device,
so that drivers/serial/amba-pl011.c can be used on mxs.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mxs/Kconfig
arch/arm/mach-mxs/clock-mx23.c
arch/arm/mach-mxs/clock-mx28.c
arch/arm/mach-mxs/devices-mx23.h
arch/arm/mach-mxs/devices-mx28.h
arch/arm/mach-mxs/devices.c
arch/arm/mach-mxs/devices/Kconfig
arch/arm/mach-mxs/devices/Makefile
arch/arm/mach-mxs/devices/amba-duart.c [new file with mode: 0644]
arch/arm/mach-mxs/devices/platform-duart.c [deleted file]
arch/arm/mach-mxs/include/mach/devices-common.h