U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] board/ti:  k3 boards: Stop using findfdt
@ 2024-01-08 17:32 Nishanth Menon
  2024-01-08 17:32 ` [PATCH 01/10] board: ti: common: Introduce a common fdt ops library Nishanth Menon
                   ` (10 more replies)
  0 siblings, 11 replies; 28+ messages in thread
From: Nishanth Menon @ 2024-01-08 17:32 UTC (permalink / raw)
  To: Tom Rini
  Cc: Kamlesh Gurudasani, Sinthu Raja, Neha Malcom Francis,
	Heinrich Schuchardt, Roger Quadros, Simon Glass, Andrew Davis,
	Mattijs Korpershoek, Nikhil M Jain, Manorit Chawdhry,
	Bryan Brattlof, Robert Nelson, u-boot, Jon Humphreys,
	Nishanth Menon

This is a wide cleanup to switch to setting fdtfile using env_set
instead of scripted magic. 'fdtfile' is expected to be set by default.
This allows the stdboot triggered efi loaders to find the correct OS
device tree file.

This is a refresh of
https://lore.kernel.org/all/86le9dwz4d.fsf@udb0321960.dhcp.ti.com/ which
was the wrong approach.

Bootlogs: https://gist.github.com/nmenon/2f4a142c1bcaa09d544b1f2e206ea134

NOTE: There are a couple of checkpatch WARN (around LATE_INIT) and
CHECK (fdt_ops #ifdeffery) that on closer inspection looks fine and
consistent with other similar usage.

Based on next branch at: c2c598e87cfe Merge branch 'staging' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next

Nishanth Menon (10):
  board: ti: common: Introduce a common fdt ops library
  board: ti: am62ax: Set fdtfile from C code instead of findfdt script
  board: ti: am62x: Set fdtfile from C code instead of findfdt script
  board: ti: am64x: Set fdtfile from C code instead of findfdt script
  board: ti: am65x: Set fdtfile from C code instead of findfdt script
  board: ti: j721e: Set fdtfile from C code instead of findfdt script
  board: ti: j721s2: Set fdtfile from C code instead of findfdt script
  board: beagle: beagleboneai64: Set fdtfile from C code instead of
    findfdt script
  board: beagle: beagleplay: Set fdtfile from C code instead of findfdt
    script
  include: env: ti: Drop default_findfdt

 board/beagle/beagleboneai64/beagleboneai64.c  | 14 ++++
 .../beagle/beagleboneai64/beagleboneai64.env  |  1 -
 board/beagle/beagleplay/beagleplay.c          | 14 ++++
 board/beagle/beagleplay/beagleplay.env        |  1 -
 board/ti/am62ax/am62ax.env                    |  1 -
 board/ti/am62ax/evm.c                         | 10 +++
 board/ti/am62x/am62x.env                      |  1 -
 board/ti/am62x/evm.c                          |  8 +++
 board/ti/am64x/am64x.env                      |  9 ---
 board/ti/am64x/evm.c                          |  8 +++
 board/ti/am65x/am65x.env                      |  3 -
 board/ti/am65x/evm.c                          |  2 +
 board/ti/common/Kconfig                       | 12 ++++
 board/ti/common/Makefile                      |  1 +
 board/ti/common/fdt_ops.c                     | 65 +++++++++++++++++++
 board/ti/common/fdt_ops.h                     | 41 ++++++++++++
 board/ti/j721e/evm.c                          |  8 +++
 board/ti/j721e/j721e.env                      | 10 ---
 board/ti/j721s2/evm.c                         |  8 +++
 board/ti/j721s2/j721s2.env                    |  8 ---
 configs/am62ax_evm_a53_defconfig              |  1 +
 configs/am62x_beagleplay_a53_defconfig        |  3 +-
 configs/am62x_evm_a53_defconfig               |  1 +
 configs/j721e_beagleboneai64_a72_defconfig    |  3 +-
 include/env/ti/default_findfdt.env            | 12 ----
 25 files changed, 197 insertions(+), 48 deletions(-)
 create mode 100644 board/ti/common/fdt_ops.c
 create mode 100644 board/ti/common/fdt_ops.h
 delete mode 100644 include/env/ti/default_findfdt.env

-- 
2.43.0


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2024-01-09 16:31 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-08 17:32 [PATCH 00/10] board/ti: k3 boards: Stop using findfdt Nishanth Menon
2024-01-08 17:32 ` [PATCH 01/10] board: ti: common: Introduce a common fdt ops library Nishanth Menon
2024-01-08 18:50   ` Andrew Davis
2024-01-08 20:02     ` Nishanth Menon
2024-01-09  2:20   ` Jon Humphreys
2024-01-09 14:18     ` Nishanth Menon
2024-01-09 13:08   ` Roger Quadros
2024-01-09 14:38     ` Nishanth Menon
2024-01-08 17:32 ` [PATCH 02/10] board: ti: am62ax: Set fdtfile from C code instead of findfdt script Nishanth Menon
2024-01-09  2:48   ` Jon Humphreys
2024-01-09 14:23     ` Nishanth Menon
2024-01-08 17:32 ` [PATCH 03/10] board: ti: am62x: " Nishanth Menon
2024-01-08 17:32 ` [PATCH 04/10] board: ti: am64x: " Nishanth Menon
2024-01-09 13:08   ` Roger Quadros
2024-01-09 14:25     ` Nishanth Menon
2024-01-08 17:32 ` [PATCH 05/10] board: ti: am65x: " Nishanth Menon
2024-01-08 17:32 ` [PATCH 06/10] board: ti: j721e: " Nishanth Menon
2024-01-09 16:20   ` Roger Quadros
2024-01-09 16:30     ` Nishanth Menon
2024-01-08 17:32 ` [PATCH 07/10] board: ti: j721s2: " Nishanth Menon
2024-01-08 17:32 ` [PATCH 08/10] board: beagle: beagleboneai64: " Nishanth Menon
2024-01-08 19:00   ` Andrew Davis
2024-01-08 20:04     ` Nishanth Menon
2024-01-09  2:24   ` Jon Humphreys
2024-01-09 14:20     ` Nishanth Menon
2024-01-08 17:33 ` [PATCH 09/10] board: beagle: beagleplay: " Nishanth Menon
2024-01-08 17:33 ` [PATCH 10/10] include: env: ti: Drop default_findfdt Nishanth Menon
2024-01-08 18:27 ` [PATCH 00/10] board/ti: k3 boards: Stop using findfdt Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox