arm: CONFIG_ARM_SAU -> CONFIG_CPU_HAS_ARM_SAU
CONFIG_ARM_SAU was not defined, use CONFIG_CPU_HAS_ARM_SAU instead. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
286685238a
commit
48d8f6f5aa
|
@ -135,7 +135,7 @@ u32_t tz_sau_number_of_regions_get(void)
|
|||
return SAU->TYPE & SAU_TYPE_SREGION_Msk;
|
||||
}
|
||||
|
||||
#if defined (CONFIG_ARM_SAU)
|
||||
#if defined(CONFIG_CPU_HAS_ARM_SAU)
|
||||
#if defined (__SAUREGION_PRESENT) && (__SAUREGION_PRESENT == 1U)
|
||||
int tz_sau_region_configure_enable(tz_sau_conf_t *p_sau_conf)
|
||||
{
|
||||
|
@ -163,4 +163,4 @@ int tz_sau_region_configure_enable(tz_sau_conf_t *p_sau_conf)
|
|||
#else
|
||||
#error "ARM SAU not implemented"
|
||||
#endif
|
||||
#endif /* CONFIG_ARM_SAU */
|
||||
#endif /* CONFIG_CPU_HAS_ARM_SAU */
|
||||
|
|
|
@ -231,7 +231,7 @@ void tz_sau_configure(int enable, int allns);
|
|||
*/
|
||||
u32_t tz_sau_number_of_regions_get(void);
|
||||
|
||||
#if defined(CONFIG_ARM_SAU)
|
||||
#if defined(CONFIG_CPU_HAS_ARM_SAU)
|
||||
/**
|
||||
*
|
||||
* @brief SAU Region configuration
|
||||
|
@ -267,7 +267,7 @@ typedef struct {
|
|||
*/
|
||||
int tz_sau_region_configure(tz_sau_conf_t *p_sau_conf);
|
||||
|
||||
#endif /* CONFIG_ARM_SAU */
|
||||
#endif /* CONFIG_CPU_HAS_ARM_SAU */
|
||||
|
||||
/**
|
||||
* @brief Non-Secure function type
|
||||
|
|
Loading…
Reference in a new issue