Cleaning Cache on an SBC2440-II board under ARM Linux


I want to clean the cache of a SBC2440-II Board (ARM920T). In the ARM920T TRM I found following code:

for seg = 0 to 7 for index = 0 to 63 Rd = {seg,index} MCR p15,0,Rd,c7,c10,2 ; Clean DCache single ; entry (using index) or MCR p15,0,Rd,c7,c14,2 ; Clean and Invalidate ; DCache single entry ; (using index) next index next seg

Is there a chance to execute this code under arm-linux or is it prohibited? Can I clean the cache in another way?


Reply to
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.