From 857829654c6e519a2165916d6596b5060b7b6aca Mon Sep 17 00:00:00 2001 From: Jimmy Huang Date: Fri, 31 Jul 2015 17:10:49 +0800 Subject: arch/arm64: introduce mmu to bootblock and romstage We need mmu interfaces in these two stages for, 1. bootblock: to support mmu initialization in bootblock 2. romstage: to be able to add dram range to mmu table BRANCH=none BUG=none TEST=build pass Change-Id: I56dea5f958a48b875579f546ba17a5dd6eaf159c Signed-off-by: Patrick Georgi Original-Commit-Id: cf72736bda2233f8e0bdd7a8ca3245f1d941ee86 Original-Change-Id: I1e27c0a0a878f7bc0ff8712bee640ec3fd8dbb8b Original-Signed-off-by: Jimmy Huang Original-Reviewed-on: https://chromium-review.googlesource.com/292665 Original-Commit-Ready: Yidi Lin Original-Tested-by: Yidi Lin Original-Reviewed-by: Julius Werner Reviewed-on: https://review.coreboot.org/12585 Reviewed-by: Stefan Reinauer Tested-by: build bot (Jenkins) --- src/arch/arm64/armv8/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/arch/arm64') diff --git a/src/arch/arm64/armv8/Makefile.inc b/src/arch/arm64/armv8/Makefile.inc index 53d0e46d37..f026a99b23 100644 --- a/src/arch/arm64/armv8/Makefile.inc +++ b/src/arch/arm64/armv8/Makefile.inc @@ -30,6 +30,8 @@ endif bootblock-y += cache.c bootblock-y += cache_helpers.S bootblock-y += cpu.S +bootblock-y += mmu.c + bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += exception.c bootblock-generic-ccopts += $(armv8_flags) @@ -65,6 +67,7 @@ romstage-y += cache.c romstage-y += cache_helpers.S romstage-y += cpu.S romstage-y += exception.c +romstage-y += mmu.c romstage-generic-ccopts += $(armv8_flags) -- cgit v1.2.3