diff mbox series

[U-Boot] arm64: zynqmp: Enable newer pmufw versions

Message ID e91c53fbc375e55644e01ace9f88f80a2cf919e8.1519219647.git.michal.simek@xilinx.com
State Accepted
Commit 1cf6cac4d16ef5e9f7c0fa9cd62275924626a130
Delegated to: Michal Simek
Headers show
Series [U-Boot] arm64: zynqmp: Enable newer pmufw versions | expand

Commit Message

Michal Simek Feb. 21, 2018, 1:27 p.m. UTC
As of now newer pmufw is keeping old interfaces. That's why permit
u-boot to run on newer version. Recommended version will be setup later.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/cpu/armv8/zynqmp/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/cpu/armv8/zynqmp/cpu.c b/arch/arm/cpu/armv8/zynqmp/cpu.c
index bc77dd03c361..14e7d4006494 100644
--- a/arch/arm/cpu/armv8/zynqmp/cpu.c
+++ b/arch/arm/cpu/armv8/zynqmp/cpu.c
@@ -185,7 +185,7 @@  void zynqmp_pmufw_version(void)
 	       pm_api_version >> ZYNQMP_PM_VERSION_MAJOR_SHIFT,
 	       pm_api_version & ZYNQMP_PM_VERSION_MINOR_MASK);
 
-	if (pm_api_version != ZYNQMP_PM_VERSION)
+	if (pm_api_version < ZYNQMP_PM_VERSION)
 		panic("PMUFW version error. Expected: v%d.%d\n",
 		      ZYNQMP_PM_VERSION_MAJOR, ZYNQMP_PM_VERSION_MINOR);
 }