Commit 33b340eb authored by Phil Elwell's avatar Phil Elwell Committed by popcornmix
Browse files

staging/vc04_services: Derive g_cache_line_size



The ARM coprocessor registers include dcache line size, but there is no
function to expose this value. Rather than create a new one, use the
read_cpuid_id function to derive the correct value, which is 32 for
BCM2835 and 64 for BCM2836/7.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.org>
parent c4343969
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment