From 26054e8fbaaf6b527e187dd300e73ea2d550a1bc Mon Sep 17 00:00:00 2001 From: Shashank Mittal Date: Fri, 29 Jun 2012 17:43:30 -0700 Subject: [PATCH] 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 --- rootdir/etc/init.qcom.post_boot.sh | 4 ++-- rootdir/etc/init.qcom.rc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index b7700882..e13de73d 100755 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -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 diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 2e002394..30a12657 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -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