Commit f5375bc1 authored by Samuel Holland's avatar Samuel Holland Committed by Anup Patel
Browse files

platform: generic: allwinner: Optimize current hart scratch access



The address of the local scratch area is stored in each hart's mscratch
CSR. It is more efficient to read the CSR than to compute the address
from the hart ID.

Signed-off-by: default avatarSamuel Holland <samuel.holland@sifive.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent b94396c7
Supports Markdown
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