forked from Imagelibrary/rtems
bsp/arm: Remove unused cache store methods
This commit is contained in:
committed by
Sebastian Huber
parent
db5a84d0ad
commit
bebcfa57a8
@@ -1174,17 +1174,6 @@ cache_l2c_310_clean_and_invalidate_entire( void )
|
||||
}
|
||||
}
|
||||
|
||||
static inline void
|
||||
cache_l2c_310_store( const void *d_addr )
|
||||
{
|
||||
volatile L2CC *l2cc = (volatile L2CC *) BSP_ARM_L2CC_BASE;
|
||||
|
||||
|
||||
l2cc->clean_pa = (uint32_t) d_addr;
|
||||
|
||||
cache_l2c_310_sync();
|
||||
}
|
||||
|
||||
static inline void
|
||||
cache_l2c_310_freeze( void )
|
||||
{
|
||||
@@ -1457,16 +1446,6 @@ _CPU_cache_invalidate_entire_data( void )
|
||||
arm_cache_l1_clean_and_invalidate_entire_data();
|
||||
}
|
||||
|
||||
static inline void
|
||||
_CPU_cache_store_data_line( const void *d_addr )
|
||||
{
|
||||
const void *ADX =
|
||||
(const void *) ( (uint32_t) d_addr & ~CACHE_L2C_310_DATA_LINE_MASK );
|
||||
|
||||
arm_cache_l1_store_data( ADX );
|
||||
cache_l2c_310_store( ADX );
|
||||
}
|
||||
|
||||
static inline void
|
||||
_CPU_cache_freeze_data( void )
|
||||
{
|
||||
|
||||
@@ -229,15 +229,6 @@ static inline void arm_cache_l1_clean_and_invalidate_entire_data( void )
|
||||
_ARM_Data_synchronization_barrier();
|
||||
}
|
||||
|
||||
static inline void arm_cache_l1_store_data( const void *d_addr )
|
||||
{
|
||||
/* Store the Data cache line */
|
||||
arm_cp15_data_cache_clean_line( d_addr );
|
||||
|
||||
/* Wait for L1 store to complete */
|
||||
_ARM_Data_synchronization_barrier();
|
||||
}
|
||||
|
||||
static inline void arm_cache_l1_flush_data_range(
|
||||
const void *d_addr,
|
||||
size_t n_bytes
|
||||
|
||||
Reference in New Issue
Block a user