mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
imx: HAB: Add support for iMX8MM
The imx8mm has changed the address of rvt_hab, use new address for imx8mm. The authentication procedure is same as imx8mq. In u-boot, the authentication uses SIP call to trap ATF to run HAB authenticate. Users need to add CONFIG_SECURE_BOOT=y to defconfig to enable the feature. Signed-off-by: Ye Li <ye.li@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
e449e2d405
commit
2c0dcc5de6
1 changed files with 4 additions and 0 deletions
|
@ -173,7 +173,11 @@ typedef void hapi_clock_init_t(void);
|
|||
#define HAB_ENG_SW 0xff /* Software engine */
|
||||
|
||||
#ifdef CONFIG_ARM64
|
||||
#ifdef CONFIG_IMX8MQ
|
||||
#define HAB_RVT_BASE 0x00000880
|
||||
#else
|
||||
#define HAB_RVT_BASE 0x00000900
|
||||
#endif
|
||||
|
||||
#define HAB_RVT_ENTRY (*(ulong *)(HAB_RVT_BASE + 0x08))
|
||||
#define HAB_RVT_EXIT (*(ulong *)(HAB_RVT_BASE + 0x10))
|
||||
|
|
Loading…
Add table
Reference in a new issue