mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
1d73ce6f68
On early K2 devices (eg. K2HK) the secure ROM code does not support loading secure code to firewall protected memory, before decrypting, authenticating and executing it. To load the boot monitor on these devices, it is necessary to first authenticate and run a copy loop from non-secure memory that copies the boot monitor behind firewall protected memory, before decrypting and executing it. On K2G, the secure ROM does not allow secure code executing from unprotected memory. Further, ROM first copies the signed and encrypted image into firewall protected memory, then decrypts, authenticates and executes it. As a result of this, we cannot use the copy loop for K2G. The mon_install has to be modified to pass the address the signed and encrypted secure boot monitor image to the authentication API. For backward compatibility with other K2 devices and K2G GP, the mon_install API still supports a single argument. In this case the second argument is set to 0 by u-boot and is ignored by ROM Signed-off-by: Thanh Tran <thanh-tran@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> |
||
---|---|---|
.. | ||
clock-k2e.h | ||
clock-k2g.h | ||
clock-k2hk.h | ||
clock-k2l.h | ||
clock.h | ||
clock_defs.h | ||
ddr3.h | ||
hardware-k2e.h | ||
hardware-k2g.h | ||
hardware-k2hk.h | ||
hardware-k2l.h | ||
hardware.h | ||
i2c_defs.h | ||
mmc_host_def.h | ||
mon.h | ||
msmc.h | ||
mux-k2g.h | ||
psc_defs.h | ||
xhci-keystone.h |