qcom/init: Change ro.emmc prop to ro.boot.emmc
Init process takes care of creating a userspace property using parameters passed in kernel commandline. Android bootloader is already sending androidboot.emmc=true for emmc targets. Init uses it to create a property as ro.boot.emmc=true. So with that there is no need for ro.emmc property anymore. Change-Id: I3f49cc0a1ef01cb7ecc26e3f1becb68d3c38a313
This commit is contained in:
parent
7925456fc1
commit
26054e8fba
|
@ -161,9 +161,9 @@ chown system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
|
|||
chown system /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
|
||||
chown system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
|
||||
|
||||
emmc_boot=`getprop ro.emmc`
|
||||
emmc_boot=`getprop ro.boot.emmc`
|
||||
case "$emmc_boot"
|
||||
in "1")
|
||||
in "true")
|
||||
chown system /sys/devices/platform/rs300000a7.65536/force_sync
|
||||
chown system /sys/devices/platform/rs300000a7.65536/sync_sts
|
||||
chown system /sys/devices/platform/rs300100a7.65536/force_sync
|
||||
|
|
|
@ -252,7 +252,7 @@ service rmt_storage /system/bin/rmt_storage
|
|||
user root
|
||||
disabled
|
||||
|
||||
on property:ro.emmc=1
|
||||
on property:ro.boot.emmc=true
|
||||
start rmt_storage
|
||||
|
||||
service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
|
||||
|
|
Loading…
Reference in New Issue