[coreboot-gerrit] Patch set updated for coreboot: storm: Fix compilation error
Furquan Shaikh (furquan@google.com)
gerrit at coreboot.org
Wed Mar 30 01:56:19 CEST 2016
Furquan Shaikh (furquan at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14185
-gerrit
commit 381461463ec2646928f5b6797a27c8a1b52e0493
Author: Furquan Shaikh <furquan at google.com>
Date: Tue Mar 29 16:48:04 2016 -0700
storm: Fix compilation error
Somehow the missing header file in
https://review.coreboot.org/#/c/14182 did not trigger compilation
errors before. Add the required header file to enable proper
compilation of storm.
Change-Id: I83c8f2b5fc41e38c1385ff405370753e6eba2abc
Signed-off-by: Furquan Shaikh <furquan at google.com>
---
src/mainboard/google/storm/mmu.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mainboard/google/storm/mmu.c b/src/mainboard/google/storm/mmu.c
index fcea8e2..da15795 100644
--- a/src/mainboard/google/storm/mmu.c
+++ b/src/mainboard/google/storm/mmu.c
@@ -11,6 +11,8 @@
*/
#include <arch/cache.h>
+#include <rules.h>
+#include <soc/soc_services.h>
#include <symbols.h>
#include "mmu.h"
@@ -34,8 +36,10 @@ void setup_dram_mappings(enum dram_state dram)
mmu_config_range(DRAM_START, DRAM_SIZE, DCACHE_WRITEBACK);
/* Map DMA memory */
mmu_config_range(DMA_START, DMA_SIZE, DCACHE_OFF);
+#if ENV_ROMSTAGE
/* Mark cbmem backing store as ready. */
ipq_cbmem_backing_store_ready();
+#endif
} else {
mmu_disable_range(DRAM_START, DRAM_SIZE);
/* Map DMA memory */
More information about the coreboot-gerrit
mailing list