diff options
| author | Laurent Pinchart <[email protected]> | 2008-04-10 17:01:27 +0200 |
|---|---|---|
| committer | Kumar Gala <[email protected]> | 2008-04-17 01:01:36 -0500 |
| commit | d464df2667cf181419604e656773f80996cf0470 (patch) | |
| tree | fedca2185763550331f0a73450c1d82f0c146ad6 /include/linux/timerqueue.h | |
| parent | 1028d4f162796a99b87565b6b40b5fec79c242d0 (diff) | |
[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 <[email protected]>
Acked-by: Scott Wood <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions