platform:Add function to detect platform for MSM8909 and determine the boot mask

Add function to detect platform for MSM8909, based on the chip id read from SMEM.
Also,add functions to determine the boot mask for several targets, according to
the bits to be read from the boot config register.

Change-Id: Ica477637b48759f6903afdf8cf354413e8c1b039
3 files changed