Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions arch/risc-v/src/litex/litex_cache.S
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,28 @@ up_invalidate_dcache_all:
.word 0x500F
#endif

/****************************************************************************
* Name: up_flush_dcache_all
*
* Description:
* Flush the entire contents of D cache.
*
* Input Parameters:
* None
*
* Returned Value:
* None
*
****************************************************************************/

#ifdef CONFIG_ARCH_DCACHE
.globl up_flush_dcache_all
.type up_flush_dcache_all, function

up_flush_dcache_all:
.word 0x500F
#endif

/****************************************************************************
* Name: up_invalidate_icache_all
*
Expand Down
Loading