arm64: xilinx: Decouple firmware interface
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | arm: xilinx: Guard mach sys_proto.h against multiple inclusionarch/ arch/ | +10 | 0 replies | |
| 2/18 | arm64: versal2: Decouple multiboot register access from firmwarearch/ arch/ board/ +1 more | +29 | 0 replies | |
| 3/18 | arm64: versal2: Move bootmode decoding out of board codearch/ arch/ board/ | +17 | 0 replies | |
| 4/18 | arm64: versal: Decouple multiboot register access from firmwarearch/ arch/ board/ +1 more | +27 | 0 replies | |
| 5/18 | arm64: versal: Move bootmode decoding out of board codearch/ arch/ board/ +1 more | +35 | 0 replies | |
| 6/18 | arm64: versal: Move board_early_init_r clock setup to mach codearch/ arch/ board/ | +46 | 0 replies | |
| 7/18 | arm64: versal2: Move board_early_init_r clock setup to mach codearch/ arch/ board/ | +46 | 0 replies | |
| 8/18 | arm64: versal-net: Move board_early_init_r clock setup to mach codearch/ arch/ board/ | +46 | 0 replies | |
| 9/18 | arm64: zynqmp: Move board_early_init_r clock setup to mach codearch/ arch/ board/ | +25 | 0 replies | |
| 10/18 | arm64: versal2: Move SoC detection out of board codearch/ board/ | +75 | 0 replies | |
| 11/18 | arm64: versal-net: Move SoC detection out of board codearch/ board/ | +91 | 0 replies | |
| 12/18 | arm64: versal-net: Move bootmode decoding out of board codearch/ arch/ board/ +1 more | +37 | 0 replies | |
| 13/18 | arm64: zynqmp: Decouple MMIO accessors from firmwarearch/ arch/ drivers/ | +48 | 0 replies | |
| 14/18 | arm64: versal-net: Deduplicate SPI bootmode handlingboard/ | +10 | 0 replies | |
| 15/18 | arm64: versal-net: Simplify spi_get_bootseq() bootmode switchboard/ | +13 | 0 replies | |
| 16/18 | arm64: versal-net: Do not print bootmode from spi_get_env_dev()board/ | +12 | 0 replies | |
| 17/18 | arm64: versal-net: Look up eMMC device in boot_targets_setup()board/ | +5 | 0 replies | |
| 18/18 | arm64: versal-net: Add mmc_get_env_dev() and deduplicate MMC handlingboard/ | +47 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/18] arm64: xilinx: Decouple firmware interface
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
Signature · 1 line
2.43.0