platform: msm_shared: Move the scm dload call to common file.

Move the scm call to put the device in to dload mode to a common
file since this API is common for all bear architecture targets.
Also newer versions of TZ requires HLOS to write to the boot_misc
register to put the device in dload mode. Hence make a secure IO
call to write to TCSR_BOOT_MISC register.

Change-Id: I2c78d74e4aee909c103407bd7422d1fd383c7bd6
2 files changed