eal/arm64: fix platform register bit
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Thu, 22 Apr 2021 09:11:51 +0000 (11:11 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 May 2021 16:55:09 +0000 (18:55 +0200)
commit20c7744f8d333e9388b479b308c8c2a149110703
tree144b58b5b7ad67419736171e36c3e4259acbb2b9
parent245efe544d8e322f1cd87403cb4361f9d64e75df
eal/arm64: fix platform register bit

REG_PLATFORM only uses bit 0 to indicate whether the value retrieved
from hardware matches PLATFORM_STR.

Fixes: 97523f822ba9 ("eal/arm: add CPU flags for ARMv8")
Cc: stable@dpdk.org
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
lib/eal/arm/rte_cpuflags.c