audio: enable loading ADSP image during bootup

Earlier ADSP image was loaded when pcm_open was
called for the first time. This caused the first
audio playback to be delayed. To fix this, adsp_loader
is modified to load ADSP firmware using pil.

Bug: 8204207

Change-Id: I7e6e8058ccda596bb96e2719a907adcb5a197c4c
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
Signed-off-by: Mekala Natarajan <mekalan@codeaurora.org>
diff --git a/init.mako.rc b/init.mako.rc
index eab8e87..d3aa100 100644
--- a/init.mako.rc
+++ b/init.mako.rc
@@ -49,6 +49,7 @@
 on fs
     mount_all ./fstab.mako
     setprop ro.crypto.fuse_sdcard true
+    write /sys/kernel/boot_adsp/boot 1
 
 on early-boot
     # set RLIMIT_MEMLOCK to 64MB