From patchwork Mon Mar 23 13:57:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 244136 List-Id: U-Boot discussion From: michal.simek at xilinx.com (Michal Simek) Date: Mon, 23 Mar 2020 14:57:57 +0100 Subject: [PATCH 0/3] arm64: zynqmp: Add support for running U-Boot in EL3 again Message-ID: Hi, in past without PMU fw it was possible to run U-Boot in EL3. Firmware changes made ATF required that's why generation was done like this. But some recent changes (especially passing PMUFW object to PMU from SPL) introduce the whole infrastructure for talking to PMU via IPI interface. That's why this interface can be reused and run U-Boot in EL3 again. Based on it I have fixed mkimage_fit_atf.sh script to generate u-boot.its/itb based on ATF availability but still producing working image without it. Also found two issues which should be fixed to get U-Boot work in EL3. Thanks, Michal Michal Simek (3): firmware: zynqmp: Enable IPI code calling also in EL3 arm64: zynqmp: Reorder parameters for zynqmp_mmio_write() arm64: zynqmp: Add support for u-boot.itb generation without ATF arch/arm/mach-zynqmp/mkimage_fit_atf.sh | 16 ++++++++++++---- board/xilinx/zynqmp/zynqmp.c | 2 +- drivers/firmware/firmware-zynqmp.c | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-)