Skip to content

Fix regression caused in Verdin boards by 42b3ee7fa524

Suhaas Joshi u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 1 replyIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

* 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1board: toradex: Make A53 get RAM size from DT in K3 boardsboard/toradex/verdin-am62/verdin-am62.c board/toradex/verdin-am62p/verdin-am62p.c+21 -00 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchFrancesco Dolcini
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(+)
Signature · 1 line
2.34.1