Commit 54f035b7 authored by Hari Kanigeri's avatar Hari Kanigeri

SYSLINK:proc-fix the map attributes for DMM.

This patch fixes the default element size for Ducati
virtual address mapping. It is changed from 16bit to
32bits. Also, temporary changed the start address of
Ducati VA to 0xa0000000 from 0x80000000
Signed-off-by: default avatarHari Kanigeri <h-kanigeri2@ti.com>
parent da767397
......@@ -413,8 +413,8 @@ int ducati_mem_unmap(u32 da, u32 num_bytes)
u32 pAddr;
u32 numof4Kpages = 0;
DPRINTK("> ducati_mem_unmap hDevContext %x, va %x, "
"NumBytes %x\n", hDevContext, da, num_bytes);
DPRINTK("> ducati_mem_unmap da 0x%x, "
"NumBytes 0x%x\n", da, num_bytes);
vaCurr = da;
rem_bytes = num_bytes;
rem_bytes_l2 = 0;
......@@ -636,7 +636,7 @@ int ducati_mem_map(u32 mpu_addr, u32 ul_virt_addr,
attrs = map_attr;
} else {
/* Assign default attributes */
attrs = DSP_MAPVIRTUALADDR | DSP_MAPELEMSIZE16;
attrs = DSP_MAPVIRTUALADDR | DSP_MAPELEMSIZE32;
}
/* Take mapping properties */
if (attrs & DSP_MAPBIGENDIAN)
......
......@@ -32,8 +32,8 @@
#include <syslink/multiproc.h>
#include <syslink/ducatienabler.h>
#define DUCATI_DMM_START_ADDR 0x80000000
#define DUCATI_DMM_POOL_SIZE 0x6000000
#define DUCATI_DMM_START_ADDR 0xa0000000
#define DUCATI_DMM_POOL_SIZE 0x6000000
/*OMAP4430 Module state object */
struct proc4430_module_object {
......
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