ipq: Add check to avoid overwriting successive partitions

This change adds a check to detect if the size of image to be flashed
fits within the respective partition region.

Change-Id: I794262fa759eef4ecc726252fb3d234c087f2b4d
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
1 file changed