Skip to content
Snippets Groups Projects
Commit d0a6d7ce authored by Aneesh Bansal's avatar Aneesh Bansal Committed by York Sun
Browse files

secure_boot: enable chain of trust for PowerPC platforms


Chain of Trust is enabled for PowerPC platforms for Secure Boot.
CONFIG_BOARD_LATE_INIT is defined.
In board_late_init(), fsl_setenv_chain_of_trust() is called which
will perform the following:
- If boot mode is non-secure, return (No Change)
- If boot mode is secure, set the following environmet variables:
   bootdelay = 0 (To disable Boot Prompt)
   bootcmd = CONFIG_CHAIN_BOOT_CMD (Validate and execute Boot script)

Signed-off-by: default avatarAneesh Bansal <aneesh.bansal@nxp.com>
Acked-by: default avatarRuchika Gupta <ruchika.gupta@nxp.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent d0412885
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment