arch: mach-k3: j721s2_init: Disable the firewalls
authorJayesh Choudhary <j-choudhary@ti.com>
Tue, 28 Mar 2023 13:02:01 +0000 (18:32 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 25 Apr 2023 19:31:27 +0000 (15:31 -0400)
commit2e43ba78052825c62e3078e308d681da44ccdc8f
tree10d81b58657affa36a19d8a528b2638771eb6111
parent45981a9a3759eae8375c85927fb213e4cc14353d
arch: mach-k3: j721s2_init: Disable the firewalls

Some firewalls enabled by ROM are still left on. So some
address space is inaccessible to the bootloader. For example,
in OSPI boot mode we get an exception and the system hangs.
Therefore, disable all the firewalls left on by the ROM.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
arch/arm/mach-k3/j721s2_init.c