From 1c2748d113014e7e675e6ece17c6e916a6a4ec7d Mon Sep 17 00:00:00 2001 From: Deepa Dinamani Date: Mon, 12 Jan 2015 11:57:09 -0800 Subject: ipq806x: Add support for mmu in bootblock. move mmu setup from RAM stage to boot block Enabling mmu earlier, helps speed up the boot time. BRANCH=storm BUG=chrome-os-partner:35024 TEST=Verified the mmu table dump matches the programmed values. Change-Id: I8f581538d5dfd0d78538c9fe50f689d54b740685 Signed-off-by: Patrick Georgi Original-Commit-Id: fb799a6d61f9c2f478434a71584d0edb94af4b59 Original-Change-Id: I110497875002a88add7eb4312a70c0de8c28bc4f Original-Signed-off-by: Deepa Dinamani Original-Reviewed-on: https://chromium-review.googlesource.com/247120 Original-Reviewed-by: Aaron Durbin Original-Commit-Queue: Trevor Bourget Reviewed-on: http://review.coreboot.org/9756 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/storm/bootblock.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/mainboard/google/storm/bootblock.c (limited to 'src/mainboard/google/storm/bootblock.c') diff --git a/src/mainboard/google/storm/bootblock.c b/src/mainboard/google/storm/bootblock.c new file mode 100644 index 0000000000..cdc870ad2d --- /dev/null +++ b/src/mainboard/google/storm/bootblock.c @@ -0,0 +1,19 @@ +/* Copyright (c) 2015, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include "mmu.h" + +void bootblock_mainboard_init(void) +{ + setup_mmu(DRAM_NOT_INITIALIZED); +} -- cgit v1.2.3