u-boot/arch/arm/mach-k3
Andrew F. Davis 95b256ec3f arm: mach-k3: security: Clean image out of cache before authentication
On K3 systems U-Boot runs on both an R5 and a large ARM cores (usually
A53 or A72). The large ARMs are coherent with the DMA controllers and
the SYSFW that perform authentication. And previously the R5 core did
not enable caches. Now that R5 does enable caching we need to be sure
to clean out any of the image that may still only be in cache before we
read it using external DMA for authentication.

Although not expected to happen, it may be possible that the data was
read back into cache after the flush but before the external operation,
in this case we must invalidate our stale local cached version.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2020-01-20 10:10:28 +05:30
..
include/mach board: ti: j721e: Use EEPROM-based board detection 2020-01-20 10:10:28 +05:30
am6_init.c arm: mach-k3: Enable WA for R5F deadlock 2020-01-03 09:47:11 -05:00
arm64-mmu.c armv8: K3: j721e: Updated ddr address regions in MMU table 2019-10-11 10:07:59 -04:00
common.c arm: mach-k3: Warn when node to disable is not found 2020-01-20 10:10:28 +05:30
common.h arm: mach-k3: Enable WA for R5F deadlock 2020-01-03 09:47:11 -05:00
config.mk arm: k3: config.mk: Use k3_gen_x509_cert.sh to generate boot images 2019-05-09 20:22:05 -04:00
config_secure.mk arm: mach-k3: Add secure device build support 2019-04-26 17:51:51 -04:00
j721e_init.c board: ti: j721e: Use EEPROM-based board detection 2020-01-20 10:10:28 +05:30
Kconfig arm: K3: common: Allow for early console functionality 2019-10-11 10:07:33 -04:00
lowlevel_init.S armv7r: K3: Allow SPL to run only on core 0 2018-11-26 22:52:11 -05:00
Makefile arm: K3: j721e: Add basic support for J721E SoC definition 2019-07-26 21:49:25 -04:00
r5_mpu.c armv7R: K3: am654: Enable MPU regions 2018-11-16 16:51:58 -05:00
security.c arm: mach-k3: security: Clean image out of cache before authentication 2020-01-20 10:10:28 +05:30
sysfw-loader.c arm: K3: sysfw-loader: Allow loading SYSFW via Y-Modem 2019-10-11 10:07:33 -04:00