MA-14712 change androidboot.storage_type to androidboot.boot_device_root
authorJindong <jindong.yue@nxp.com>
Mon, 13 May 2019 10:10:25 +0000 (18:10 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:17 +0000 (09:49 +0800)
commit82dd5d685c7b6f59aa85f7b69b1781ffaa9d39ca
treece89d672fe5d4ec4fa88de7b70b73ddf1bb4f827
parentfdea93a968d6f6b353fd1343acbed051b812edc8
MA-14712 change androidboot.storage_type to androidboot.boot_device_root

storage_type is emmc or sd, which is not friendly
for user space, for example android health HAL need access
/sys/block/mmcblkX/stat.

Replace it with mmcblkX named as boot_device_root.

Change-Id: I7486d522696e9fe3dde8bdc8834ac11d25df7d79
Signed-off-by: Jindong <jindong.yue@nxp.com>
(cherry picked from commit db441a89a090c46149457ee29492bc315c2bdfa9)
common/image-android.c