diff options
author | Jimmy Huang <jimmy.huang@mediatek.com> | 2015-07-31 17:10:50 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-01-22 19:33:03 +0100 |
commit | 7119222cfab46f6c4464589bbb0c61871a1531a1 (patch) | |
tree | e652b1efce9a01de01632ae06a2196df09405cf3 /src/mainboard/google | |
parent | 13eada654cb696be3a88ec2d485667d0a2083349 (diff) |
google/oak: Enable MMU support
BRANCH=none
BUG=none
TEST=build pass
[pg: split into multiple commits]
Change-Id: I6e165cfa6a8345de3d8d5461a75d5ed626ece4ef
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 3ee2a20ec56359e917bb8f4825846c54d4f6276a
Original-Change-Id: Iedc81a85569b00524620e9ba128e7d77f17b0405
Original-Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/292666
Original-Commit-Ready: Yidi Lin <yidi.lin@mediatek.com>
Original-Tested-by: Yidi Lin <yidi.lin@mediatek.com>
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/13077
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/oak/romstage.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/oak/romstage.c b/src/mainboard/google/oak/romstage.c index 3d0f6ab488..eecf49184c 100644 --- a/src/mainboard/google/oak/romstage.c +++ b/src/mainboard/google/oak/romstage.c @@ -16,6 +16,7 @@ #include <arch/cpu.h> #include <arch/exception.h> #include <arch/io.h> +#include <arch/mmu.h> #include <cbfs.h> #include <console/console.h> @@ -25,6 +26,8 @@ #include <symbols.h> #include <timestamp.h> +#include <soc/mmu_operations.h> + void main(void) { timestamp_add_now(TS_START_ROMSTAGE); @@ -33,5 +36,7 @@ void main(void) console_init(); exception_init(); + mt8173_mmu_after_dram(); + run_ramstage(); } |