Merge "msm: smem: split out shared memory initialization functionality"