Commit 3d9e9dc4 authored by Marcelo Tosatti's avatar Marcelo Tosatti Committed by Paul Mackerras

[PATCH] ppc32 8xx: fix cpm_dpalloc() comment

Current comment on top of m8xx_cpm_dpinit is wrong.
Signed-off-by: default avatarMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 38dc1618
...@@ -388,9 +388,8 @@ void m8xx_cpm_dpinit(void) ...@@ -388,9 +388,8 @@ void m8xx_cpm_dpinit(void)
/* /*
* Allocate the requested size worth of DP memory. * Allocate the requested size worth of DP memory.
* This function used to return an index into the DPRAM area. * This function returns an offset into the DPRAM area.
* Now it returns the actuall physical address of that area. * Use cpm_dpram_addr() to get the virtual address of the area.
* use m8xx_cpm_dpram_offset() to get the index
*/ */
uint cpm_dpalloc(uint size, uint align) uint cpm_dpalloc(uint size, uint align)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment