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 <[email protected]>" in 
commit message, as
      asked in v1.
    * Link to v1: 
https://lore.kernel.org/u-boot/[email protected]/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

Reply via email to