Updated static policy for testing
authorJustin Sobota <jsobota@ti.com>
Thu, 31 Jan 2013 20:55:42 +0000 (15:55 -0500)
committerJustin Sobota <jsobota@ti.com>
Thu, 31 Jan 2013 20:55:42 +0000 (15:55 -0500)
device/tci6614-cd-startup-policy.dtb [deleted file]
device/tci6614-cd-startup-policy.dts [deleted file]
device/tci6614-static-policy.dtb [new file with mode: 0644]
device/tci6614-static-policy.dts [new file with mode: 0644]

diff --git a/device/tci6614-cd-startup-policy.dtb b/device/tci6614-cd-startup-policy.dtb
deleted file mode 100644 (file)
index 51a363f..0000000
Binary files a/device/tci6614-cd-startup-policy.dtb and /dev/null differ
diff --git a/device/tci6614-cd-startup-policy.dts b/device/tci6614-cd-startup-policy.dts
deleted file mode 100644 (file)
index 77f82f3..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/dts-v1/;
-
-/* RM CD pre-main startup policy for BIOS/IPC startup resources */
-
-/ {
-       /* All RM instances expected to request resources prior to main in the startup functions */
-       valid-instances = "RM_Client_Delegate",
-                         "RM_Client";
-
-    /* Assign pre-main resources */
-    timers {
-               assignments = <0 1>, "iux = (RM_Client_Delegate)",
-                             <1 1>, "iux = (RM_Client)";
-    };
-    semaphores {
-               assignments = <0 1>, "iu  = (RM_Client_Delegate RM_Client)";
-    };
-};
-
diff --git a/device/tci6614-static-policy.dtb b/device/tci6614-static-policy.dtb
new file mode 100644 (file)
index 0000000..2d01b61
Binary files /dev/null and b/device/tci6614-static-policy.dtb differ
diff --git a/device/tci6614-static-policy.dts b/device/tci6614-static-policy.dts
new file mode 100644 (file)
index 0000000..515b3ac
--- /dev/null
@@ -0,0 +1,25 @@
+/dts-v1/;
+
+/* Client static policy */
+
+/ {
+       /* All RM instances expected to request static resources prior to RM's complete configuration */
+       valid-instances = "RM_Client_Delegate",
+                         "RM_Client";
+
+    /* Assign static resources */
+    qmss {
+        memory_regions {
+               assignments = <12 1>, "iux = (RM_Client_Delegate)";  /* Test validating a resource not allowed in global policy */
+        };
+        qos-cluster {
+            assignments = <0 1>, "iux = (RM_Client_Delegate RM_Client)",
+                          <1 1>, "iu =  (RM_Client_Delegate)",
+                          <2 1>, "iu =  (RM_Client)";
+        };
+        aif-queue {
+               assignments = <525 1>, "iu  = (RM_Client_Delegate RM_Client)";
+        };
+    };
+};
+