coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
romstage.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <arch/stages.h>
4
#include <soc/sdram.h>
5
#include <soc/timer.h>
6
#include <soc/mmu.h>
7
#include <libbdk-hal/bdk-config.h>
8
9
extern
const
struct
bdk_devicetree_key_value
devtree
[];
10
11
void
platform_romstage_main
(
void
)
12
{
13
watchdog_poke
(0);
14
15
bdk_config_set_fdt(
devtree
);
16
17
sdram_init
();
18
soc_mmu_init
();
19
20
watchdog_poke
(0);
21
}
platform_romstage_main
__weak void platform_romstage_main(void)
Definition:
romstage.c:10
sdram_init
void sdram_init(void)
Definition:
sdram.c:16
devtree
const struct bdk_devicetree_key_value devtree[]
Definition:
bdk_devicetree.c:8
soc_mmu_init
void soc_mmu_init(void)
Definition:
mmu.c:9
watchdog_poke
void watchdog_poke(const size_t index)
Signal the watchdog that we are still running.
Definition:
timer.c:174
src
mainboard
cavium
cn8100_sff_evb
romstage.c
Generated by
1.9.1