QNX: IPC: Handle Internal Memory Loading outside of Resource Table
[ipc/ipcdev.git] / qnx / src / ipc3x_dev / ti / syslink / resources / RscTable.c
index 875946a6108d7ab5fb1b660ea8e4719a2390326c..489669cd84654840df8ac9d02da4d85d762070d3 100644 (file)
@@ -5,7 +5,7 @@
  *
  *  ============================================================================
  *
- *  Copyright (c) 2012-2015, Texas Instruments Incorporated
+ *  Copyright (c) 2012-2016, Texas Instruments Incorporated
  *
  *  Redistribution and use in source and binary forms, with or without
  *  modification, are permitted provided that the following conditions
@@ -471,32 +471,6 @@ RscTable_process (UInt16 procId, Bool tryAlloc, UInt32 * numBlocks,
                 printf ("RscTable_process: carveout [%s] @ da [0x%08x] pa [0x%08x] len [0x%x]\n", cout->name, cout->da, cout->pa, cout->len);
                 break;
             }
-            case TYPE_INTMEM :
-            {
-                struct fw_rsc_intmem * cout = (struct fw_rsc_intmem *)entry;
-
-                if (obj->numMemEntries == IPC_MAX_MEMENTRIES) {
-                    ret = -1;
-                }
-                else {
-                    obj->memEntries[obj->numMemEntries].slaveVirtAddr =
-                            cout->da;
-                    obj->memEntries[obj->numMemEntries].masterPhysAddr =
-                            cout->pa;
-                    obj->memEntries[obj->numMemEntries].size = cout->len;
-                    /* do not map to slave MMU */
-                    obj->memEntries[obj->numMemEntries].map = FALSE;
-                    obj->memEntries[obj->numMemEntries].mapMask =
-                        ProcMgr_SLAVEVIRT;
-                    obj->memEntries[obj->numMemEntries].isCached = FALSE;
-                    obj->memEntries[obj->numMemEntries].isValid = TRUE;
-                    obj->numMemEntries++;
-                }
-                printf ("RscTable_process: intmem [%s] @ da [0x%08x]"
-                    " pa [0x%08x] len [0x%x]\n", cout->name, cout->da,
-                    cout->pa, cout->len);
-                break;
-            }
             case TYPE_DEVMEM :
             {
                 // only care about mem in DDR for now