msm_shared: support new version of the DT index table

The new version of the device tree blob index table has a
platform subtype field that is now used as additional
information to match the blob with the hardware platform.

The new version number is 2 but support for version 1 is
maintained in order to ease the transition.

The tool that generates the new header format also supports
a new format of the qcom,mdm-id DT resource as well as the
older format but in both cases it generates a version-2 DT
index table.

Change-Id: Iad95b93203c394c3b96441fd4b90c2c9ea098fa0
5 files changed