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
..
2007-10-17 08:42:52 -07:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-02-08 09:22:25 -08:00
2008-02-04 13:14:06 +00:00
2007-10-19 11:53:42 -07:00
2006-12-08 08:28:57 -08:00
2007-11-14 18:45:46 -08:00
2008-02-07 08:42:24 -08:00
2008-02-03 14:47:38 +02:00
2007-11-29 09:24:53 -08:00
2008-02-08 09:22:37 -08:00
2008-02-03 17:29:25 +02:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2007-02-14 08:09:52 -08:00
2006-12-08 08:28:57 -08:00
2007-09-11 17:21:19 -07:00
2008-02-14 14:22:12 +09:00
2006-12-08 08:28:57 -08:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:38:22 -07:00