Commit 05f85d98 authored by Hari Kanigeri's avatar Hari Kanigeri

updated dmm start and size information for DUCATI

This patch updates the DMM start address and size
information for DUCATI. The start address is provided
as 0x80000000 and the size as 0x6000000
Signed-off-by: default avatarHari Kanigeri <h-kanigeri2@ti.com>
parent 44620a65
...@@ -65,9 +65,6 @@ ...@@ -65,9 +65,6 @@
i = (((a) - dyn_mem_map_begin) / PAGE_SIZE); \ i = (((a) - dyn_mem_map_begin) / PAGE_SIZE); \
} while (0) } while (0)
#define DMMPOOLSIZE 0x4000000
struct map_page { struct map_page {
u32 region_size:31; u32 region_size:31;
u32 b_reserved:1; u32 b_reserved:1;
......
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
#include <syslink/multiproc.h> #include <syslink/multiproc.h>
#include <syslink/ducatienabler.h> #include <syslink/ducatienabler.h>
#define DUCATI_DMM_START_ADDR 0x80000000
#define DUCATI_DMM_POOL_SIZE 0x6000000
/*OMAP4430 Module state object */ /*OMAP4430 Module state object */
struct proc4430_module_object { struct proc4430_module_object {
u32 config_size; u32 config_size;
...@@ -122,7 +125,7 @@ int proc4430_setup(struct proc4430_config *cfg) ...@@ -122,7 +125,7 @@ int proc4430_setup(struct proc4430_config *cfg)
proc4430_get_config(&tmp_cfg); proc4430_get_config(&tmp_cfg);
cfg = &tmp_cfg; cfg = &tmp_cfg;
} }
dmm_create_tables(DUCATI_DMM_START_ADDR, DUCATI_DMM_POOL_SIZE);
if (cfg->gate_handle != NULL) { if (cfg->gate_handle != NULL) {
proc4430_state.gate_handle = cfg->gate_handle; proc4430_state.gate_handle = cfg->gate_handle;
} else { } else {
...@@ -521,3 +524,4 @@ error_exit: ...@@ -521,3 +524,4 @@ error_exit:
printk(KERN_WARNING "proc4430_unmap failed !!!!\n"); printk(KERN_WARNING "proc4430_unmap failed !!!!\n");
return ret_val; return ret_val;
} }
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