summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/storm/romstage.c
blob: 22ea9d0fbd62809329e2793e32b4dbde2be37dfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-only */

#include <cbmem.h>
#include <console/console.h>
#include <program_loading.h>
#include <soc/soc_services.h>
#include "mmu.h"

void main(void)
{
	console_init();
	initialize_dram();

	/* Add dram mappings to mmu tables. */
	setup_dram_mappings(DRAM_INITIALIZED);

	cbmem_initialize_empty();
	run_ramstage();
}