MLK-14945 HAB: Check if IVT valid before authenticating image
authorUtkarsh Gupta <utkarsh.gupta@nxp.com>
Sat, 18 Nov 2017 01:23:08 +0000 (19:23 -0600)
committerUtkarsh Gupta <utkarsh.gupta@nxp.com>
Sat, 18 Nov 2017 01:23:08 +0000 (19:23 -0600)
commit0088d127ab47a3725f2c8eecd008280f375ffd0b
tree4704346ea65688ff98640504bcbaf3454f7c2c59
parent1167e4dae890dd74f2f181c5b01bf8f5c5ba4977
MLK-14945 HAB: Check if IVT valid before authenticating image

For proper authentication users must check the IVT before authenticating the
kernel image. If the IVT DCD pointer is not 0, display an error as shown below
and return a boot failure.

Authenticate image from DDR location 0x12000000...
Error: DCD pointer must be 0

Authenticate zImage Fail, Please check

Signed-off-by: Utkarsh Gupta <utkarsh.gupta@nxp.com>
arch/arm/imx-common/hab.c