summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/storm/romstage.c
blob: 5b29a056d246ec338fe451e3becec05daa09cfee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#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();
}