-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Platform/BeagleBoard: Incorporate set/way data cache handling
Cache maintenance by set/way should only be used to manage the state of a particular level in the cache hierarchy while the CPU is not taking part in the coherency protocol. Use for any other purpose is not supported by the architecture, and so the ArmLib routines that rely on this will be removed. BeagleBoard is a uni-processor system with non-cache coherent DMA, where the use of set/way instructions to remove junk from the D-caches at power-on is not entirely unreasonable. So incorporate the D-cache invalidation code from ArmLib before dropping it from the library. Signed-off-by: Ard Biesheuvel <[email protected]>
- Loading branch information
1 parent
85b22a4
commit 98fb3ae
Showing
2 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters