From 0fdd2e1d06884b0236c2f124c1cfd2dd4765341a Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Tue, 22 Nov 2011 11:59:16 +0400 Subject: target-xtensa: fix MMUv3 initialization - ITLB/DTLB ways 5 and 6 have 4 and 8 entries respectively; - ITLB/DTLB way 6 attr field is set to 3 on reset. Signed-off-by: Max Filippov Signed-off-by: Blue Swirl --- target-xtensa/overlay_tool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-xtensa/overlay_tool.h') diff --git a/target-xtensa/overlay_tool.h b/target-xtensa/overlay_tool.h index 9cef27d..df19cc9 100644 --- a/target-xtensa/overlay_tool.h +++ b/target-xtensa/overlay_tool.h @@ -256,7 +256,7 @@ .way_size = { \ (refill_way_size), (refill_way_size), \ (refill_way_size), (refill_way_size), \ - 4, 2, 2, 1, 1, 1, \ + 4, (way56) ? 4 : 2, (way56) ? 8 : 2, 1, 1, 1, \ }, \ .varway56 = (way56), \ .nrefillentries = (refill_way_size) * 4, \ -- cgit v1.1