arm: ls1021atwr: Add distro secure boot support
authorSumit Garg <sumit.garg@nxp.com>
Tue, 6 Jun 2017 15:21:31 +0000 (20:51 +0530)
committerYork Sun <york.sun@nxp.com>
Tue, 1 Aug 2017 15:28:57 +0000 (08:28 -0700)
commitb8ae67981fc25c0c6bd8ab442a23b62263fb5138
tree46057b6367ccbbef5a5a9ea671971e0ddab0bbd2
parentf7b75f8b34a40b2d13e968d52bb2e8ae271401c9
arm: ls1021atwr: Add distro secure boot support

Enable validation of boot.scr script prior to its execution dependent
on "secureboot" flag in environment. Disable fall back option to
qspi boot in case of secure boot. Also enable "secureboot=y" flag
in environment for ARM based platforms instead of bootcmd.

Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Tested-by: Vinitha Pillai <vinitha.pillai@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
configs/ls1021atwr_nor_SECURE_BOOT_defconfig
configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
include/configs/ls1021atwr.h