Skip to content

arm: mach-k3: remove some firewalls left over by ROM

Bryan Brattlof u-boot 1 version In review

Get series with b4
b4 am [email protected] change-id 20250326-firewalls-02652f48dbca

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm: mach-k3: support disabling a single firewall regionarch/arm/mach-k3/common.h arch/arm/mach-k3/r5/common.c+26 -00 replies
2/2arm: mach-k3: am625: remove any firewalls ROM has configured for HSRAMarch/arm/mach-k3/am62x/am625_init.c+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] arm: mach-k3: remove some firewalls left over by ROM

Hello everyone!

This small series is here to remove some firewalls setup by ROM during their boot and clean things up for Linux later on. Ideally this would be a simple call to remove_fwl_configs() however the location of the firewall is problematic (could potentially crash the core) when we're currently executing from the memory region protected by the firewall.

So we need to introduce a function which allows us to disable specific firewall regions and skip others to ensure boot stability.

Happy Hacking
~Bryan

---
Bryan Brattlof (2):
arm: mach-k3: support disabling a single firewall region
arm: mach-k3: am625: remove any firewalls ROM has configured for HSRAM

 arch/arm/mach-k3/am62x/am625_init.c | 12 ++++++++++++
 arch/arm/mach-k3/common.h           |  1 +
 arch/arm/mach-k3/r5/common.c        | 25 +++++++++++++++++++++++++
 3 files changed, 38 insertions(+)

---
base-commit: 739ad58dbee874a3ad3bddd116e995212a254e07
change-id: 20250326-firewalls-02652f48dbca

Best regards,

Signature · 1 line
Bryan Brattlof <[email protected]>