All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/18] arm64: xilinx: Decouple firmware interface
@ 2026-06-23 12:53 Michal Simek
  2026-06-23 12:53 ` [PATCH 01/18] arm: xilinx: Guard mach sys_proto.h against multiple inclusion Michal Simek
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Michal Simek @ 2026-06-23 12:53 UTC (permalink / raw)
  To: u-boot, git
  Cc: Francois Berder, Naman Trivedi, Neal Frager, Padmarao Begari,
	Pranav Sanwal, Pranav Tilak, Sean Anderson,
	Senthil Nathan Thangaraj, Suraj Kakade, Tom Rini,
	Venkatesh Yadav Abbarapu

Hi,

firmware calls are spread across board functions and even drivers.
It shouldn't be like that and it is time to clean it up. Pretty much board
or drivers shouldn't really have zynqmp_firmware.h included. Generic
functions should be called which have MMIO version or firmware version when
firmware is enabled. This is the first set of patches to achieve this goal.

Thanks,
Michal


Michal Simek (18):
  arm: xilinx: Guard mach sys_proto.h against multiple inclusion
  arm64: versal2: Decouple multiboot register access from firmware
  arm64: versal2: Move bootmode decoding out of board code
  arm64: versal: Decouple multiboot register access from firmware
  arm64: versal: Move bootmode decoding out of board code
  arm64: versal: Move board_early_init_r clock setup to mach code
  arm64: versal2: Move board_early_init_r clock setup to mach code
  arm64: versal-net: Move board_early_init_r clock setup to mach code
  arm64: zynqmp: Move board_early_init_r clock setup to mach code
  arm64: versal2: Move SoC detection out of board code
  arm64: versal-net: Move SoC detection out of board code
  arm64: versal-net: Move bootmode decoding out of board code
  arm64: zynqmp: Decouple MMIO accessors from firmware
  arm64: versal-net: Deduplicate SPI bootmode handling
  arm64: versal-net: Simplify spi_get_bootseq() bootmode switch
  arm64: versal-net: Do not print bootmode from spi_get_env_dev()
  arm64: versal-net: Look up eMMC device in boot_targets_setup()
  arm64: versal-net: Add mmc_get_env_dev() and deduplicate MMC handling

 arch/arm/mach-versal-net/cpu.c                | 149 +++++++++
 .../mach-versal-net/include/mach/sys_proto.h  |   6 +
 arch/arm/mach-versal/cpu.c                    |  68 ++++
 arch/arm/mach-versal/include/mach/sys_proto.h |  16 +
 arch/arm/mach-versal2/cpu.c                   | 143 +++++++++
 .../arm/mach-versal2/include/mach/sys_proto.h |  14 +
 arch/arm/mach-zynqmp/cpu.c                    |  69 ++--
 arch/arm/mach-zynqmp/include/mach/sys_proto.h |   5 +
 board/amd/versal2/board.c                     | 133 +-------
 board/xilinx/versal-net/board.c               | 295 +++++-------------
 board/xilinx/versal/board.c                   |  66 +---
 board/xilinx/zynqmp/zynqmp.c                  |  18 +-
 drivers/firmware/firmware-zynqmp.c            |  89 ++++++
 13 files changed, 606 insertions(+), 465 deletions(-)

---
base-commit: e01bb5b8ad09464b8cbf9c4186683e998c2d40fe

-- 
2.43.0


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

end of thread, other threads:[~2026-06-23 12:57 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-23 12:53 [PATCH 00/18] arm64: xilinx: Decouple firmware interface Michal Simek
2026-06-23 12:53 ` [PATCH 01/18] arm: xilinx: Guard mach sys_proto.h against multiple inclusion Michal Simek
2026-06-23 12:53 ` [PATCH 02/18] arm64: versal2: Decouple multiboot register access from firmware Michal Simek
2026-06-23 12:53 ` [PATCH 03/18] arm64: versal2: Move bootmode decoding out of board code Michal Simek
2026-06-23 12:53 ` [PATCH 04/18] arm64: versal: Decouple multiboot register access from firmware Michal Simek
2026-06-23 12:53 ` [PATCH 05/18] arm64: versal: Move bootmode decoding out of board code Michal Simek
2026-06-23 12:53 ` [PATCH 06/18] arm64: versal: Move board_early_init_r clock setup to mach code Michal Simek
2026-06-23 12:53 ` [PATCH 07/18] arm64: versal2: " Michal Simek
2026-06-23 12:53 ` [PATCH 08/18] arm64: versal-net: " Michal Simek
2026-06-23 12:53 ` [PATCH 09/18] arm64: zynqmp: " Michal Simek
2026-06-23 12:53 ` [PATCH 10/18] arm64: versal2: Move SoC detection out of board code Michal Simek
2026-06-23 12:53 ` [PATCH 11/18] arm64: versal-net: " Michal Simek
2026-06-23 12:53 ` [PATCH 12/18] arm64: versal-net: Move bootmode decoding " Michal Simek
2026-06-23 12:53 ` [PATCH 13/18] arm64: zynqmp: Decouple MMIO accessors from firmware Michal Simek
2026-06-23 12:53 ` [PATCH 14/18] arm64: versal-net: Deduplicate SPI bootmode handling Michal Simek
2026-06-23 12:53 ` [PATCH 15/18] arm64: versal-net: Simplify spi_get_bootseq() bootmode switch Michal Simek
2026-06-23 12:53 ` [PATCH 16/18] arm64: versal-net: Do not print bootmode from spi_get_env_dev() Michal Simek
2026-06-23 12:53 ` [PATCH 17/18] arm64: versal-net: Look up eMMC device in boot_targets_setup() Michal Simek
2026-06-23 12:53 ` [PATCH 18/18] arm64: versal-net: Add mmc_get_env_dev() and deduplicate MMC handling Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.