The values of the macros BOOT_STATUS_MAX_ENTRIES and BOOT_MAX_IMG_SECTORS should be platform specific.
The change for this issue is https://review.trustedfirmware.org/#/c/130/
The change for this issue has been merged.