u-boot/arch/arm/mach-k3
Andrew F. Davis ea70da142c arm: K3: Disable ROM configured firewalls
ROM configures certain firewalls based on its usage, which includes
the one in front of boot peripherals. In specific case of boot
peripherals, ROM does not open up the full address space corresponding
to the peripherals. Like in OSPI, ROM only configures the firewall region
for 32 bit address space and mark 64bit address space flash regions
as in-accessible.

When security-cfg is initialized by sysfw, all the non-configured
firewalls are kept in bypass state using a global setting. Since ROM
configured firewalls for certain peripherals, these will not be touched.
So when bootloader touches any of the address space that ROM marked as
in-accessible, system raises a firewall exception causing boot hang.

It would have been ideal if sysfw cleans up the ROM configured boot
peripheral firewalls. Given the memory overhead to store this
information provided by ROM and the boot time increase in re configuring
the firewalls, it is concluded to clean this up in bootloaders.

So disable all the firewalls that ROM doesn't open up the full address
space.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Venkateswara Rao Mandela <venkat.mandela@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: K3: Disable ROM configured firewalls 2020-01-20 10:10:28 +05:30
arm64-mmu.c armv8: K3: j721e: Updated ddr address regions in MMU table 2019-10-11 10:07:59 -04:00
common.c arm: K3: Disable ROM configured firewalls 2020-01-20 10:10:28 +05:30
common.h arm: K3: Disable ROM configured firewalls 2020-01-20 10:10:28 +05:30
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 arm: K3: Disable ROM configured firewalls 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