Resolve TZC400 build issue when DEBUG=1 and ENABLE_ASSERTIONS=0
authorSoby Mathew <soby.mathew@arm.com>
Tue, 20 Feb 2018 13:52:20 +0000 (13:52 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Wed, 21 Feb 2018 16:51:12 +0000 (16:51 +0000)
commit806d9ad171eba536672ff4ea49bfaff4b21be566
tree116817f4315d50dd5c9a043af5fa5993621832e1
parent5ff5a6d9c33fdf8b626a4e61066f467f2b5c75a9
Resolve TZC400 build issue when DEBUG=1 and ENABLE_ASSERTIONS=0

Previously the definition of `_tzc_read_peripheral_id()` was wrapped
in ENABLE_ASSERTIONS build flag. This causes build issue for TZC400 driver
when DEBUG=1 and ENABLE_ASSERTIONS=0. This patch fixes the same by
moving the definitions outside the ENABLE_ASSERTIONS build flag.

Change-Id: Ic1cad69f02ce65ac34aefd39eaa96d5781043152
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
drivers/arm/tzc/tzc_common_private.h