PRSDK-3314 Add MMap config for EDMA3 instance 2
authorSinthu Raja M <x0257345@ti.com>
Thu, 25 Jan 2018 12:08:47 +0000 (17:38 +0530)
committerSinthu Raja M <x0257345@ti.com>
Thu, 25 Jan 2018 12:08:47 +0000 (17:38 +0530)
 Added mempry map configuration for EDMA3 instance 2
 Removed cfg file used for ccs project in OMAPL138

examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/ccs_edma3_drv_bios6_arm_omapl138_st_sample.cfg [deleted file]
examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/edma3_drv_bios6_arm_omapl138_st_sample.cfg

diff --git a/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/ccs_edma3_drv_bios6_arm_omapl138_st_sample.cfg b/examples/edma3_driver/evmOMAPL138_ARM/rtsc_config/ccs_edma3_drv_bios6_arm_omapl138_st_sample.cfg
deleted file mode 100644 (file)
index 3e9bb75..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*use modules*/\r
-var Task = xdc.useModule ("ti.sysbios.knl.Task");\r
-var BIOS      = xdc.useModule ("ti.sysbios.BIOS");\r
-var Startup   = xdc.useModule ("xdc.runtime.Startup");\r
-var System    = xdc.useModule ("xdc.runtime.System");\r
-var Log       = xdc.useModule ("xdc.runtime.Log");\r
-var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');\r
-var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');\r
-var Cache = xdc.useModule('ti.sysbios.hal.Cache');\r
-var Mmu    = xdc.useModule('ti.sysbios.family.arm.arm9.Mmu');\r
-\r
-/* USE EDMA3 Sample App */\r
-xdc.loadPackage('ti.sdo.edma3.drv.sample');\r
-\r
-// Enable the MMU\r
-Mmu.enableMMU = true;\r
-\r
-var attrs = {\r
-        type: Mmu.FirstLevelDesc_SECTION,  // SECTION descriptor\r
-        bufferable: true,                  // bufferable\r
-        cacheable: false,                  // cacheable\r
-        imp: 1,                            // implementation defined\r
-        domain: 0,                         // domain between 0-15\r
-        accPerm: 3,                        // read/write permission\r
-    };\r
-\r
-for (var i=0x01E30000; i < 0x01E37FFF; i = i + 0x00000400) {\r
-         Mmu.setFirstLevelDescMeta(i, i, attrs);\r
-    }\r
index 995594efd4e3d646830aeacb2fb680dbfca84ee8..7c1afd94b6e3feb0d38f9e1954a98b30ddfa1ead 100644 (file)
@@ -11,3 +11,7 @@ var Cache = xdc.useModule('ti.sysbios.hal.Cache');
 
 /* USE EDMA3 Sample App */
 //xdc.loadPackage('ti.sdo.edma3.drv.sample');
+
+for (var i=0x01E30000; i < 0x01E37FFF; i = i + 0x00000400) {
+         Mmu.setFirstLevelDescMeta(i, i, attrs);
+    }
\ No newline at end of file