Place code segement in BRAM

Use .ANY1 and .ANY2 to place code with highest priority in ITCM and
lower priority in BRAM.

Change-Id: Ia335dabb451181bfaf26fc1a7a57cd8196a00912
diff --git a/targets/corstone-300/platform.scatter b/targets/corstone-300/platform.scatter
index 85c6549..06e1941 100644
--- a/targets/corstone-300/platform.scatter
+++ b/targets/corstone-300/platform.scatter
@@ -137,11 +137,11 @@
     rom_exec ITCM_START ITCM_SIZE
     {
         *.o (RESET, +First)
-        *(InRoot$$Sections)
+        * (InRoot$$Sections, .init_array*, .ARM*)
         ; Make sure reset_handler ends up in root segment, when split across
         ; ITCM and DTCM
         startup_ARMCM55.o
-        .ANY (+RO)
+        .ANY2 (+RO)
     }
 
     ; DTCM 512kB
@@ -183,9 +183,11 @@
     }
 #endif
 
-    TFLM +0
+    TEXT1 +0
     {
-        lstm_eval.o
+        ; Code segment is placed with higher priority (.ANY2) in ITCM. If ITCM gets
+        ; full, then the remaining symbols may be placed here in BRAM.
+        .ANY1 (+RO)
     }
 }