sm8350-common: shima: Fix eMMC bootup issue

Remove the hard-coded path for /dev/block/bootdevice.
Instead use the bootdevice property.

Change-Id: I194587e250f1d24f677c6fd3f34a23f146d4bc7e
This commit is contained in:
Benergy Meenan Ravuri 2020-11-16 19:44:19 +05:30 committed by Arian
parent eac08cecb1
commit 57f5133467

View File

@ -62,8 +62,8 @@ on init
write /dev/cpuctl/top-app/cpu.rt_runtime_us 950000 write /dev/cpuctl/top-app/cpu.rt_runtime_us 950000
write /dev/cpuctl/rt/cpu.rt_runtime_us 950000 write /dev/cpuctl/rt/cpu.rt_runtime_us 950000
wait /dev/block/platform/soc/1d84000.ufshc wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/1d84000.ufshc /dev/block/bootdevice symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
chown system system /sys/devices/platform/soc/1d84000.ufshc/auto_hibern8 chown system system /sys/devices/platform/soc/1d84000.ufshc/auto_hibern8
chmod 0660 /sys/devices/platform/soc/1d84000.ufshc/auto_hibern8 chmod 0660 /sys/devices/platform/soc/1d84000.ufshc/auto_hibern8
start logd start logd