diff options
author | T Michael Turney <mturney@codeaurora.org> | 2018-03-27 09:33:42 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-04-05 15:56:13 +0000 |
commit | a12c6019b5221e52c8600410d83a55f596cc89a9 (patch) | |
tree | 29175ef71299060ee9403ef4a047d3cabf474f1c /src/soc/qualcomm/sdm845/bootblock.c | |
parent | ace0c06de1e7246c4da4f534f475b7022becb2c0 (diff) | |
download | coreboot-a12c6019b5221e52c8600410d83a55f596cc89a9.tar.xz |
soc/qualcomm/sdm845: Add MMU support
Initialize 1st 4GB as Device Memory, except:
* 1st page: NULL address
* System_IMEM: Cached SRAM
* Boot_IMEM: Cached SRAM
TEST=build
Change-Id: Ic6cf022b08bb2568fdf956cea8bad46da89236c5
Signed-off-by: T Michael Turney <mturney@codeaurora.org>
Reviewed-on: https://review.coreboot.org/25201
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/sdm845/bootblock.c')
-rw-r--r-- | src/soc/qualcomm/sdm845/bootblock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/qualcomm/sdm845/bootblock.c b/src/soc/qualcomm/sdm845/bootblock.c index 3ed37ae2d1..019639d763 100644 --- a/src/soc/qualcomm/sdm845/bootblock.c +++ b/src/soc/qualcomm/sdm845/bootblock.c @@ -14,8 +14,9 @@ */ #include <bootblock_common.h> +#include <soc/mmu.h> void bootblock_soc_init(void) { - + sdm845_mmu_init(); } |