mem: use WFE for init sync on aarch64
authorFeifei Wang <feifei.wang2@arm.com>
Wed, 20 Oct 2021 03:03:34 +0000 (11:03 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 20 Oct 2021 06:22:18 +0000 (08:22 +0200)
commita6e24bf41787766861a5fe6c8ae7a22954b0bf61
treebc4a84f1c5b6e00bd3122372fca43679c61ee3d8
parent69a3c6319140b34fb714fa5bd6990cceb2ea2997
mem: use WFE for init sync on aarch64

Instead of polling for mcfg->magic to be updated, use wait_until_equal
API.

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
lib/eal/common/eal_common_mcfg.c