I want to disable L2 cache, leave L1 data and instruction cache enables, to see how much does it impact performance on ls1021atwr board. However, I couldn't find any way to disable just L2 cache. I already looked at SCTLR and ACTLR register for ls1021atwr. There is no bit to just disable L2 cache, while enable L1.
Does anyone know a way to just disable L2 cache?
Thank you in advance.