]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mach-k3: common: don't reconfigure background firewalls
authorManorit Chawdhry <m-chawdhry@ti.com>
Thu, 20 Apr 2023 11:46:24 +0000 (17:16 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 2 May 2023 18:24:36 +0000 (14:24 -0400)
commit8a364a1030a6d789e25a7a50b85e3187869588e4
tree07b479ec3a39749bbae8b27e22eb26d303e7f12d
parenta6407dfdf886a03935bdbc81225f1d6b15fa3946
arm: mach-k3: common: don't reconfigure background firewalls

K3 devices have some firewalls set up by ROM that we usually remove so
that the development is easy in HS devices.

While removing the firewalls disabling a background region before
disabling the foreground regions keeps the firewall in a state where all
the transactions will be blacklisted until all the regions are disabled.
This causes a race for some other entity trying to access that memory
region before all the firewalls are disabled and causes an exception.

Since the background regions configured by ROM are in such a manner
that they allow all transactions, don't touch the background regions at
all.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Reviewed-by: Kamlesh Gurudasani <kamlesh@ti.com>
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h