ipq: add support to validate the signed images before flashing

This change adds the two new command secure_authenticate, is_sec_boot_enabled.

command secure_authenticate, helps to authenticate the given image before
writing into the flash. This command takes three arguments, which are sw_id,
img_addr and img_size. Each image has its own sw_id.

command is_sec_boot_enabled, helps to check if the secure fuse is enabled or
not.

Change-Id: I7c388cc7a25e66f2c5d16ff6439d143193ca305b
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
1 file changed