u-boot/arch/arm/mach-keystone
Madan Srinivas 1d73ce6f68 arm: mach-keystone: Updates mon_install for K2G HS
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>
2017-07-26 11:26:51 -04:00
..
include/mach arm: mach-keystone: Updates mon_install for K2G HS 2017-07-26 11:26:51 -04:00
clock.c ARM: keystone2: Add support for getting external clock dynamically 2017-05-08 12:34:29 -04:00
cmd_clock.c ARM: keystone: rename clk_get_rate() to ks_clk_get_rate() 2016-10-08 09:33:13 -04:00
cmd_ddr3.c Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
cmd_mon.c arm: mach-keystone: Updates mon_install for K2G HS 2017-07-26 11:26:51 -04:00
cmd_poweroff.c ARM: keystone2: Switch to using the poweroff command 2016-03-16 15:03:32 -04:00
config.mk ARM: keystone2: Allow to build with all image formats 2017-07-10 14:25:55 -04:00
ddr3_spd.c ARM: keystone2: use detected ddr3a size 2016-03-14 19:18:45 -04:00
ddr3.c ARM: k2g: Program DDRPHY_DATX8 registers via mask and value variables 2017-07-10 14:25:57 -04:00
init.c keystone: k2h/e/l: Fix DMA coherency for QM PDSP 2016-07-25 12:00:05 -04:00
Kconfig Convert CONFIG_SPL_BOARD_INIT to Kconfig 2017-05-22 07:29:48 -04:00
keystone.c ARM: keystone2: Switch to using the poweroff command 2016-03-16 15:03:32 -04:00
Makefile keystone2: Move target selection to Kconfig 2016-11-28 15:10:34 -05:00
mon.c arm: mach-keystone: Updates mon_install for K2G HS 2017-07-26 11:26:51 -04:00
msmc.c ARM: keystone: move SoC sources to mach-keystone 2015-02-21 08:23:52 -05:00
psc.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00