Merge pull request #1275 from soby-mathew/sm/tzc400_fix
Resolve TZC400 build issue when DEBUG=1 and ENABLE_ASSERTIONS=0
This commit is contained in:
commit
4535554e68
|
@ -169,8 +169,6 @@
|
|||
nsaid_permissions); \
|
||||
}
|
||||
|
||||
#if ENABLE_ASSERTIONS
|
||||
|
||||
static inline unsigned int _tzc_read_peripheral_id(uintptr_t base)
|
||||
{
|
||||
unsigned int id;
|
||||
|
@ -182,6 +180,7 @@ static inline unsigned int _tzc_read_peripheral_id(uintptr_t base)
|
|||
return id;
|
||||
}
|
||||
|
||||
#if ENABLE_ASSERTIONS
|
||||
#ifdef AARCH32
|
||||
static inline unsigned long long _tzc_get_max_top_addr(int addr_width)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue