arm/PSCI: support PSCI versions greater than 1.0
authorAndre Heider <a.heider@gmail.com>
Fri, 9 Feb 2018 07:10:22 +0000 (08:10 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Feb 2018 17:14:15 +0000 (12:14 -0500)
commit678382c73a08145262e95b5639607f72e49c0ee9
treeaf1ce959e206cfeef69881c066bea97f58ee0b70
parentd877a6c50e886af089bf8fb947e566982672fd0a
arm/PSCI: support PSCI versions greater than 1.0

ATF recently began announcing PSCI v1.1. Since that version is unknown
to u-boot, the PSCI device nodes were not updated.

Switch from the case statement to a greater/less-than comparison so that
v1.1, as well as future versions, get at least the compatible nodes of
known versions.

PSCI v1.1 doesn't seem to have introduced a new corresponding compatible.

Signed-off-by: Andre Heider <a.heider@gmail.com>
arch/arm/lib/psci-dt.c