platform: msm_shared: Add support to write protect devinfo

Add API to write protect devinfo for verified boot feature. As
part of this add the following functions to support this
* Add api to get read-only attribute of a partition
* Enable RST_n_FUNC of emmc for power-on write protect to work

Change-Id: I466d7ee447680bf5dd2782a6a09232d866251197
6 files changed