Vayu: More support for the DRA7XX part number
authorChris Ring <cring@ti.com>
Thu, 13 Jun 2013 22:26:14 +0000 (15:26 -0700)
committerChris Ring <cring@ti.com>
Thu, 13 Jun 2013 22:26:14 +0000 (15:26 -0700)
'DRA7XX' and 'Vayu' are the same device.  An earlier
commit added support for 'DRA7XX' but missed a few places,
which this commit addresses.

These missing changes were found when enabling platform instance
support to HLOS-based examples, so these changes are isolated to
packages used in HLOS environments.

Signed-off-by: Chris Ring <cring@ti.com>
packages/ti/ipc/remoteproc/Resource.xdt
packages/ti/ipc/rpmsg/package.xs
packages/ti/ipc/transports/package.xs

index 22850500d5379f0afbae2e2875a2394e1389d189..3db7341dad8ae728e1651aee5d033b00051976e9 100644 (file)
@@ -68,7 +68,8 @@ extern struct resource_table ti_ipc_remoteproc_ResourceTable;
 %                "resource table (" + prog.cpu.attrs.cpuCore + ")");
 %    }
 %  }
-%  else if (prog.cpu.deviceName.match(/Vayu/)) { // NOTE: This will probably change to DRA7xx
+%  else if (prog.cpu.deviceName.match(/Vayu/) ||
+%          prog.cpu.deviceName.match(/DRA7XX/)) {
 %    if (prog.cpu.attrs.cpuCore.match(/CM4/) &&
 %       (xdc.om["ti.sysbios.family.arm.ducati.Core"].ipuId == 2)) {
 #define OMAP5
index 880dfe7dc54673c0d32ad06c67b6a278e3629894..e778c2c532dd6928895b8837aaccaa94caa5c0a0 100644 (file)
@@ -64,6 +64,7 @@ function close()
             break;
 
         case "Vayu": /* Vayu */
+        case "DRA7XX": /* Vayu */
             xdc.loadPackage('ti.ipc.family.vayu');
             break;
 
@@ -128,6 +129,7 @@ function getLibs(prog)
             break;
 
         case "Vayu":
+        case "DRA7XX":
             platform = "vayu";
             break;
 
index 8c87f454dba1c41f9ba85dd982b4d6f7649de331..0c35418d6651d7951108ddf074d891bd9f67a6f5 100644 (file)
@@ -52,6 +52,7 @@ function getLibs(prog)
         case "OMAP4430":
         case "OMAP5430":
         case "Vayu":
+        case "DRA7XX":
             special = "_rpmsg2";
             break;