]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/commitdiff
OMAP5: Minor test cfg cleanup
authorChris Ring <cring@ti.com>
Fri, 31 Jan 2014 16:31:33 +0000 (08:31 -0800)
committerChris Ring <cring@ti.com>
Sat, 1 Feb 2014 23:20:21 +0000 (15:20 -0800)
Minor config refactoring.  The GateThreadSupport module is only
needed by grcm users, but was brought in through Dsp.cfg which
is used by non-grcm-using tests.  Also, took the opportunity to
fixup some syntax buglets and remove some dead comments.

packages/ti/ipc/tests/Dsp.cfg
packages/ti/ipc/tests/test_omx_dsp_omap5.cfg

index e3783bf7bd53489e2df5dc4c5557251ed67b1ff2..0e55cfdec12f724669ceacaf7d977b9a2f77d40b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012-2013, Texas Instruments Incorporated
+ * Copyright (c) 2012-2014, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -64,14 +64,14 @@ xdc.loadPackage('ti.resmgr');
 
 /* Enable Memory Translation module that operates on the BIOS Resource Table */
 var Resource = xdc.useModule('ti.ipc.remoteproc.Resource');
-Resource.loadSegment = "EXT_CODE"
+Resource.loadSegment = "EXT_CODE";
 
 /* Modules used in Power Management */
 xdc.loadPackage('ti.pm');
 var Power = xdc.useModule('ti.sysbios.family.c64p.tesla.Power');
 Power.loadSegment = "PM_DATA";
 
-/* Idle function that periodically flushes the unicache */
+/* Idle function that periodically flushes the cache */
 var Idle = xdc.useModule('ti.sysbios.knl.Idle');
 Idle.addFunc('&VirtQueue_cacheWb');
 
@@ -81,13 +81,6 @@ Idle.addFunc('&IpcPower_idle');        /* IpcPower_idle must be at the end */
 var HeapBuf   = xdc.useModule('ti.sysbios.heaps.HeapBuf');
 var List      = xdc.useModule('ti.sdo.utils.List');
 
-/* ti.grcm Configuration */
-/* TBD:
-var rcmSettings = xdc.useModule('ti.grcm.Settings');
-rcmSettings.ipc = rcmSettings.IpcSupport_ti_sdo_ipc;
-xdc.useModule('ti.grcm.RcmServer');
-*/
-xdc.useModule('ti.sysbios.xdcruntime.GateThreadSupport');
 var GateSwi   = xdc.useModule('ti.sysbios.gates.GateSwi');
 
 var Task          = xdc.useModule('ti.sysbios.knl.Task');
index a08afc6359ba858c1002e62aafdb0e293ddf55c1..3cfb864c67e241b9e162c669e0e4fa2877574b22 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, Texas Instruments Incorporated
+ * Copyright (c) 2013-2014, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -36,9 +36,6 @@ var BIOS        = xdc.useModule('ti.sysbios.BIOS');
 BIOS.addUserStartupFunction('&IpcMgr_rpmsgStartup');
 BIOS.addUserStartupFunction('&register_MxServer');
 
-var Task = xdc.useModule('ti.sysbios.knl.Task');
-Task.defaultStackSize = 0x2000;
-
 xdc.loadPackage('ti.srvmgr');
 xdc.useModule('ti.srvmgr.omx.OmxSrvMgr');
 xdc.loadPackage('ti.srvmgr.omaprpc');
@@ -48,6 +45,9 @@ var rcmSettings = xdc.useModule('ti.grcm.Settings');
 rcmSettings.ipc = rcmSettings.IpcSupport_ti_sdo_ipc;
 xdc.useModule('ti.grcm.RcmServer');
 
+/* Bring in the BIOS-based GateThreadSupport for grcm */
+xdc.useModule('ti.sysbios.xdcruntime.GateThreadSupport');
+
 xdc.loadCapsule("Dsp.cfg");
 xdc.loadCapsule("DspAmmu.cfg");