Unverified Commit 4535554e authored by davidcunado-arm's avatar davidcunado-arm Committed by GitHub
Browse files

Merge pull request #1275 from soby-mathew/sm/tzc400_fix

Resolve TZC400 build issue when DEBUG=1 and ENABLE_ASSERTIONS=0
parents 5ff5a6d9 806d9ad1
...@@ -169,8 +169,6 @@ ...@@ -169,8 +169,6 @@
nsaid_permissions); \ nsaid_permissions); \
} }
#if ENABLE_ASSERTIONS
static inline unsigned int _tzc_read_peripheral_id(uintptr_t base) static inline unsigned int _tzc_read_peripheral_id(uintptr_t base)
{ {
unsigned int id; unsigned int id;
...@@ -182,6 +180,7 @@ static inline unsigned int _tzc_read_peripheral_id(uintptr_t base) ...@@ -182,6 +180,7 @@ static inline unsigned int _tzc_read_peripheral_id(uintptr_t base)
return id; return id;
} }
#if ENABLE_ASSERTIONS
#ifdef AARCH32 #ifdef AARCH32
static inline unsigned long long _tzc_get_max_top_addr(int addr_width) static inline unsigned long long _tzc_get_max_top_addr(int addr_width)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment