ducatiplatform.xs: update to match the glp1.4 memory layout
[gstreamer-omap:ndecs-libdce.git] / ducati / build / ducatiplatform.xs
1 var memory = [];
2
3
4 //0.984275MB  memory for sysM3 code in I/D bus cached region
5 memory[0] = ["MEM_CODE_SYSM3",
6 {
7         name: "MEM_CODE_SYSM3",
8         base: 0x4000,
9         len:  0x000FC000,
10         space: "code"
11 }];
12
13 //4MB memory for appM3 code section in I/D bus cached region
14 memory[1] = ["MEM_CODE_APPM3",
15 {
16         name: "MEM_CODE_APPM3",
17         base: 0x00100000,
18         len:  0x00400000,
19         space: "code"
20 }];
21
22 //11MB memory section for appM3 heap in I/D bus cached region
23 memory[2] = ["MEM_HEAP1_APPM3",
24 {
25         name: "MEM_HEAP1_APPM3",
26         base: 0x00500000,
27         len:  0x00B00000,
28         space: "data"
29 }];
30
31
32 //0.25MB memory for sysM3 const section in S bus cached region
33 memory[3] = ["MEM_CONST_SYSM3",
34 {
35         name: "MEM_CONST_SYSM3",
36         base: 0x80000000,
37         len:  0x00040000,
38         space: "data"
39 }];
40
41 //0.75MB memory section for sysM3 heap in S bus cached region
42 memory[4] = ["MEM_HEAP_SYSM3",
43 {
44         name: "MEM_HEAP_SYSM3",
45         base: 0x80040000,
46         len:  0x000C0000,
47         space: "data"
48 }];
49
50 //3.5MB memory for appM3 const section in S bus cached region
51 //out of 3.5 MB, now 1KB is taken out hence total = 3.44MB.
52 //1KB is used for runtime trace control+MMS trace dump+codec Trace
53 memory[5] = ["MEM_CONST_APPM3",
54 {
55         name: "MEM_CONST_APPM3",
56         base: 0x80100000,
57         len:  0x0037FC00,
58         space: "data"
59 }];
60
61 //(~27.375MB) memory section for appM3 heap in S bus cached region
62 memory[6] = ["MEM_HEAP2_APPM3",
63 {
64         name: "MEM_HEAP2_APPM3",
65         base: 0x80480000,
66         len:  0x01AE0000,
67         space: "data"
68 }];
69
70 //128KB For Trace Buffer
71 memory[7] = ["DUCATI_TRACE_BUFFER",
72 {
73         name: "DUCATI_TRACE_BUFFER",
74         base: 0x81FE0000,
75         len:  0x20000,
76         space: "data"
77 }];
78
79 //336KB memory for IPC memory in S bus non cached region
80 memory[8] = ["MEM_IPC_HEAP0",
81 {
82         name: "MEM_IPC_HEAP0",
83         base: 0xA0000000,
84         len:  0x54000,
85         space: "data"
86 }];
87
88 //688KB memory for IPC memory in S bus non cached region
89 memory[9] = ["MEM_IPC_HEAP1",
90 {
91         name: "MEM_IPC_HEAP1",
92         base: 0xA0054000,
93         len:  0xAC000,
94         space: "data"
95 }];
96
97 memory[10] = ["L2_ROM",
98 {
99         name: "L2_ROM",
100         base: 0x0,
101         len:  0x4000,
102         space: "code/data"
103 }];
104
105 //1KB reserved for ducati trace control from A9+MMS trace dump+codec Trace dump
106 memory[11] = ["MEM_TRACE_CTRL_APPM3",
107 {
108         name: "MEM_TRACE_CTRL_APPM3",
109         base: 0x8047FC00,
110         len:  0x00000400,
111         space: "data"
112 }];
113
114 //500KB memory for new appM3 const section in S bus cached region
115 memory[12] = ["MEM_CONST_APPM3_1",
116 {
117         name: "MEM_CONST_APPM3_1",
118         base: 0x81F60000,
119         len:  0x00080000,
120         space: "data"
121 }];
122
123 Build.platformTable["ti.platforms.generic:DucatiPlatform"] =
124 {
125     clockRate: 200.0,
126     catalogName: "ti.catalog.arm.cortexm3",
127     deviceName: "OMAP4430",
128     mem: memory,
129     customMemoryMap: memory
130 };
131