AArch32: Fix conditional inclusion of bakery_locks
authorSoby Mathew <soby.mathew@arm.com>
Tue, 28 Feb 2017 22:58:29 +0000 (22:58 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Thu, 2 Mar 2017 15:43:17 +0000 (15:43 +0000)
commite40e075f4ddf63aa84d2aaacb807ed40438f1d24
treeb07bea56d04c4b7171f629097e6a1f1849cde30b
parent61531a274d3c3f47af9f5ae4c3220a4868e6a3c6
AArch32: Fix conditional inclusion of bakery_locks

Due to incorrect conditional compilation checks, bakery locks were
excluded from the CCN driver and the power controller driver for FVP
when BL32 was built as the EL3 Runtime Software in AArch32 mode.
This patch corrects the same.

Change-Id: Ib1f163d9167a5c38e4d622232c4835cad9c235aa
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
drivers/arm/ccn/ccn.c
include/plat/arm/common/plat_arm.h