Skip to content
Commit f3e4de32 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: cacheflush refactor #1: push aux reg ascertaining into leaf routine



ARC dcache supports 3 ops - Inv, Flush, Flush-n-Inv.
The programming model however provides 2 commands FLUSH, INV.
INV will either discard or flush-n-discard (based on DT_CTRL bit)

The leaf helper __dc_line_loop() used to take the AUX register
(corresponding to the 2 commands). Now we push that to within the
helper, paving way for code consolidations to follow.

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 064a6269
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment