diff --git a/bsps/arm/shared/cache/cache-l2c-310.c b/bsps/arm/shared/cache/cache-l2c-310.c index 6826043afd..dd0dbe0a06 100644 --- a/bsps/arm/shared/cache/cache-l2c-310.c +++ b/bsps/arm/shared/cache/cache-l2c-310.c @@ -62,6 +62,16 @@ #include "cache-cp15.h" +/** + * @defgroup L2C310CacheSupport L2C-310 Cache Support + * + * @ingroup RTEMSImplClassicCache + * + * @brief This group contains the L2C-310 cache support. + * + * @{ + */ + /* These two defines also ensure that the rtems_cache_* functions have bodies */ #define CPU_DATA_CACHE_ALIGNMENT ARM_CACHE_L1_CPU_DATA_ALIGNMENT #define CPU_INSTRUCTION_CACHE_ALIGNMENT ARM_CACHE_L1_CPU_INSTRUCTION_ALIGNMENT @@ -96,16 +106,6 @@ #define BSP_ARM_L2C_310_RTL_RELEASE (BSP_ARM_L2C_310_ID & L2C_310_ID_RTL_MASK) -/** - * @defgroup L2C310CacheSupport L2C-310 Cache Support - * - * @ingroup RTEMSBSPsARMShared - * - * @brief This group contains the L2C-310 cache support. - * - * @{ - */ - /** * @brief L2CC Register Offsets */ @@ -1332,4 +1332,6 @@ _CPU_cache_get_instruction_cache_size( const uint32_t level ) return size; } +/** @} */ + #include "../../shared/cache/cacheimpl.h"