u-boot/arch/arm/mach-keystone/include/mach
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
..
clock-k2e.h ARM: keystone2: Use common definition for clk_get_rate 2015-08-12 20:47:55 -04:00
clock-k2g.h ARM: k2g: Add support for dynamic programming of PLL based on SYSCLK 2017-05-08 12:34:29 -04:00
clock-k2hk.h ARM: keystone2: Use common definition for clk_get_rate 2015-08-12 20:47:55 -04:00
clock-k2l.h ARM: k2l: Fix device speeds 2015-08-28 12:33:16 -04:00
clock.h ARM: keystone2: Add support for getting external clock dynamically 2017-05-08 12:34:29 -04:00
clock_defs.h bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
ddr3.h ARM: keystone2: Add additional fields used for DDR3 configuration 2017-07-10 14:25:56 -04:00
hardware-k2e.h ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery 2016-04-01 17:17:40 -04:00
hardware-k2g.h ARM: k2g: Add support for dynamic programming of PLL based on SYSCLK 2017-05-08 12:34:29 -04:00
hardware-k2hk.h ARM: keystone2: Use common structure for PLLs 2015-08-12 20:47:53 -04:00
hardware-k2l.h ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery 2016-04-01 17:17:40 -04:00
hardware.h ARM: keystone2: Add additional fields used for DDR3 configuration 2017-07-10 14:25:56 -04:00
i2c_defs.h ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00
mmc_host_def.h ARM: k2g: add SD card and eMMC support 2015-10-22 14:22:25 -04:00
mon.h arm: mach-keystone: Updates mon_install for K2G HS 2017-07-26 11:26:51 -04:00
msmc.h ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00
mux-k2g.h ARM: k2g: Add support for pin mux configuration 2015-10-22 14:22:19 -04:00
psc_defs.h ARM: keystone2: Convert BOOT_SET_BITFIELD into static inline function 2016-03-27 09:12:11 -04:00
xhci-keystone.h ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00