aboutsummaryrefslogtreecommitdiffstats
path: root/init/init.c
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2012-09-20 20:14:11 -0700
committerSteve Kondik <shade@chemlab.org>2012-09-20 20:14:11 -0700
commitd39f52491364217e40aca4fb06ed9f7903af60f0 (patch)
treece5d1d96b22efa730ea1e0c53a075739e2c8e11b /init/init.c
parentc181583376046a914e2638b0fc0a991d9c8613d7 (diff)
downloadsystem_core-d39f52491364217e40aca4fb06ed9f7903af60f0.tar.gz
system_core-d39f52491364217e40aca4fb06ed9f7903af60f0.tar.bz2
system_core-d39f52491364217e40aca4fb06ed9f7903af60f0.zip
init: Set the "ro.boot.emmc" property
* QC switched to this from the old "ro.emmc" property. * Set both values since many things depend on this. Change-Id: I958dbb13b08bd576ad16318683a0eac45dfc6fee
Diffstat (limited to 'init/init.c')
-rwxr-xr-xinit/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 167661ae..9729e39f 100755
--- a/init/init.c
+++ b/init/init.c
@@ -709,6 +709,7 @@ static void export_kernel_boot_props(void)
snprintf(tmp, PROP_VALUE_MAX, "%d", revision);
property_set("ro.revision", tmp);
property_set("ro.emmc",emmc_boot ? "1" : "0");
+ property_set("ro.boot.emmc", emmc_boot ? "1" : "0");
/* TODO: these are obsolete. We should delete them */
if (!strcmp(bootmode,"factory"))