diff options
Diffstat (limited to 'arch/ppc/8xx_io/commproc.c')
-rw-r--r-- | arch/ppc/8xx_io/commproc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/ppc/8xx_io/commproc.c b/arch/ppc/8xx_io/commproc.c index b42789f8eb76..579cd40258b9 100644 --- a/arch/ppc/8xx_io/commproc.c +++ b/arch/ppc/8xx_io/commproc.c | |||
@@ -388,9 +388,8 @@ void m8xx_cpm_dpinit(void) | |||
388 | 388 | ||
389 | /* | 389 | /* |
390 | * Allocate the requested size worth of DP memory. | 390 | * Allocate the requested size worth of DP memory. |
391 | * This function used to return an index into the DPRAM area. | 391 | * This function returns an offset into the DPRAM area. |
392 | * Now it returns the actuall physical address of that area. | 392 | * Use cpm_dpram_addr() to get the virtual address of the area. |
393 | * use m8xx_cpm_dpram_offset() to get the index | ||
394 | */ | 393 | */ |
395 | uint cpm_dpalloc(uint size, uint align) | 394 | uint cpm_dpalloc(uint size, uint align) |
396 | { | 395 | { |