CPM_UART should allocate DPRAM for SMCx parameter RAM on MPC82xx

Dan Malek dan at embeddedalley.com
Thu Jun 8 02:34:27 EST 2006


On Jun 7, 2006, at 8:34 AM, Laurent Pinchart wrote:

> I'm not sure how to fix the problem

They way this _used_ to work is the DPRAM memory allocator
knew the SMCs had allocated the lower 128 bytes of DPRAM and
it never would allocate this space to anyone else (and it should not
free it either).  The constant #defined values for the SMC base
address would work just fine and could be assigned as part of
the SMC uart initialization.  Due to the alignment restrictions and
no reason to relocate this space anywhere else, this still seems
to be the most efficient method.


	-- Dan




More information about the Linuxppc-embedded mailing list