arm64: zynqmp: Enable newer pmufw versions
authorMichal Simek <michal.simek@xilinx.com>
Thu, 8 Feb 2018 07:51:36 +0000 (08:51 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 23 Mar 2018 08:34:43 +0000 (09:34 +0100)
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

index bc77dd03c361a86e14ae57763b25782a907a7b70..14e7d40064944bc796e1c9cafe590f06b2d94841 100644 (file)
@@ -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);
 }