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@google.com> Reviewed-on: https://review.coreboot.org/14185 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
79cfcde458
commit
e9e7b20f43
|
@ -11,6 +11,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/cache.h>
|
#include <arch/cache.h>
|
||||||
|
#include <rules.h>
|
||||||
|
#include <soc/soc_services.h>
|
||||||
#include <symbols.h>
|
#include <symbols.h>
|
||||||
#include "mmu.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);
|
mmu_config_range(DRAM_START, DRAM_SIZE, DCACHE_WRITEBACK);
|
||||||
/* Map DMA memory */
|
/* Map DMA memory */
|
||||||
mmu_config_range(DMA_START, DMA_SIZE, DCACHE_OFF);
|
mmu_config_range(DMA_START, DMA_SIZE, DCACHE_OFF);
|
||||||
|
#if ENV_ROMSTAGE
|
||||||
/* Mark cbmem backing store as ready. */
|
/* Mark cbmem backing store as ready. */
|
||||||
ipq_cbmem_backing_store_ready();
|
ipq_cbmem_backing_store_ready();
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
mmu_disable_range(DRAM_START, DRAM_SIZE);
|
mmu_disable_range(DRAM_START, DRAM_SIZE);
|
||||||
/* Map DMA memory */
|
/* Map DMA memory */
|
||||||
|
|
Loading…
Reference in New Issue