[PATCH v2 0/1] Fix regression caused in Verdin boards by 42b3ee7fa524

Suhaas Joshi s-joshi at ti.com
Thu Feb 12 11:28:46 CET 2026


Recently, I made a patch series [0] that added firewall configurations to protect ATF and OPTEE
memory regions in K3 boards. This was merged. Francesco reported [1] that this series broke boot in
Verdin boards. This issue occurs only in Verdin boards, and not in other K3 boards, due to
`dram_init()` invoking `get_ram_size()` even at the A53 stage.

This patch fixes this issue.

Note: Kindly test. I haven't tested this because I don't have a board.

Changes from v1 -> v2:
    * Made if-block check more explicitly for Verdin's R5 environment in `dram_init()`, as suggested
      by Francesco in v1.
    * Added "Reviewed-by: Francesco Dolcini <francesco.dolcini at toradex.com>" in commit message, as
      asked in v1.
    * Link to v1: https://lore.kernel.org/u-boot/20260211111328.1481562-1-s-joshi@ti.com/T/#t

Suhaas Joshi (1):
  board: toradex: Make A53 get RAM size from DT in K3 boards

 board/toradex/verdin-am62/verdin-am62.c   | 10 ++++++++++
 board/toradex/verdin-am62p/verdin-am62p.c | 11 +++++++++++
 2 files changed, 21 insertions(+)

-- 
2.34.1



More information about the U-Boot mailing list