]> git.sur5r.net Git - u-boot/commit
thunderx: Calculate TCR dynamically
authorAlexander Graf <agraf@suse.de>
Fri, 4 Mar 2016 00:09:45 +0000 (01:09 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Mar 2016 19:12:59 +0000 (15:12 -0400)
commit0691484ac1efb1981dfd1b38df9646128bafff32
tree34841bd6307df363f2f3783d1a0a219a16b553bf
parentdcac8843a8904c939f70489b8dd410cde32b7df5
thunderx: Calculate TCR dynamically

Based on the memory map we can determine a lot of hard coded fields of
TCR, like the maximum VA and max PA we want to support. Calculate those
dynamically to reduce the chance for pit falls.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/arm/cpu/armv8/cache_v8.c
arch/arm/include/asm/armv8/mmu.h
include/configs/thunderx_88xx.h