summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 79adfe3)
raw | patch | inline | side by side (from parent 1: 79adfe3)
author | vwan@ti.com <vwan@ti.com> | |
Fri, 27 Feb 2015 19:06:37 +0000 (11:06 -0800) | ||
committer | Robert Tivy <rtivy@ti.com> | |
Fri, 27 Feb 2015 19:19:27 +0000 (11:19 -0800) |
This commit prevents the template packages/ti/ipc/remoteproc/linkcmd.xdt
from changing the entry point on cores that are not loaded by remoteproc,
such as on a Tomahawk.
Signed-off-by: VW <vwan@ti.com>
from changing the entry point on cores that are not loaded by remoteproc,
such as on a Tomahawk.
Signed-off-by: VW <vwan@ti.com>
packages/ti/ipc/remoteproc/linkcmd.xdt | patch | blob | history |
index 44cfea96e73293a9f430f400ea98fc0978d312f4..81e25dfa3cde8e95ad5a028487c46336dd1a4d25 100644 (file)
%%{
/*
%%{
/*
- * Copyright (c) 2008-2013, Texas Instruments Incorporated
+ * Copyright (c) 2008-2015, Texas Instruments Incorporated
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*/
%%}
*/
%%}
-%if (xdc.module('ti.sysbios.BIOS').$used) {
+%var resource = xdc.module('ti.ipc.remoteproc.Resource');
+
+%/*
+% * This check effectively verifies if we are a slave core
+% * (loaded by remoteproc), and not just a peer core that
+% * was not loaded by 'us'.
+% */
+%if (resource.$used) {
+% if (xdc.module('ti.sysbios.BIOS').$used) {
% if ((Program.build.target.$name.match(/C64P/)) ||
% (Program.build.target.$name.match(/C674/)) ||
% (Program.build.target.$name.match(/C64T/)) ||
% if ((Program.build.target.$name.match(/C64P/)) ||
% (Program.build.target.$name.match(/C674/)) ||
% (Program.build.target.$name.match(/C64T/)) ||
*/
--diag_suppress=10063
% }
*/
--diag_suppress=10063
% }
+% }
%}
%}