1
linux/drivers/serial/cpm_uart
Laurent Pinchart d464df2667 [POWERPC] cpm_uart: Allocate DPRAM memory for SMC ports on CPM2-based platforms.
This patch allocates parameter RAM for SMC serial ports without relying on
previous initialisation by a boot loader or a wrapper layer.

SMC parameter RAM on CPM2-based platforms can be allocated anywhere in the
general-purpose areas of the dual-port RAM. The current code relies on the
boot loader to allocate a section of general-purpose CPM RAM and gets the
section address from the device tree.

This patch modifies the device tree address usage to reference the SMC
parameter RAM base pointer instead of a pre-allocated RAM section and
allocates memory from the CPM dual-port RAM when initialising the SMC port.
CPM1-based platforms are not affected.

Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-17 01:01:36 -05:00
..
cpm_uart_core.c [POWERPC] cpm_uart: Allocate DPRAM memory for SMC ports on CPM2-based platforms. 2008-04-17 01:01:36 -05:00
cpm_uart_cpm1.c [POWERPC] cpm_uart: Allocate DPRAM memory for SMC ports on CPM2-based platforms. 2008-04-17 01:01:36 -05:00
cpm_uart_cpm1.h [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
cpm_uart_cpm2.c [POWERPC] cpm_uart: Allocate DPRAM memory for SMC ports on CPM2-based platforms. 2008-04-17 01:01:36 -05:00
cpm_uart_cpm2.h
cpm_uart.h [POWERPC] cpm_uart: Allocate DPRAM memory for SMC ports on CPM2-based platforms. 2008-04-17 01:01:36 -05:00
Makefile