Merge "include: Add function prototype to detect platform and calculate the boot mask"