coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
bootblock_common.h
>
4
#include <soc/clk.h>
5
#include <
soc/wakeup.h
>
6
7
void
bootblock_soc_init
(
void
)
8
{
9
if
(
get_wakeup_state
() ==
WAKEUP_DIRECT
) {
10
wakeup
();
11
/* Never returns. */
12
}
13
14
/* For most ARM systems, we have to initialize firmware media source
15
* (ex, SPI, SD/MMC, or eMMC) now; but for Exynos platform, that is
16
* already handled by iROM so there's no need to setup again.
17
*/
18
}
bootblock_common.h
bootblock_soc_init
void bootblock_soc_init(void)
Definition:
bootblock.c:27
wakeup.h
get_wakeup_state
int get_wakeup_state(void)
Definition:
wakeup.c:17
WAKEUP_DIRECT
@ WAKEUP_DIRECT
Definition:
wakeup.h:15
wakeup
void wakeup(void)
Definition:
wakeup.c:6
src
soc
samsung
exynos5250
bootblock.c
Generated by
1.9.1