coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
dfd.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
console/console.h
>
4
#include <
device/mmio.h
>
5
#include <soc/dfd.h>
6
7
void
dfd_init
(
void
)
8
{
9
printk
(
BIOS_INFO
,
"%s: enable DFD (Design For Debug)\n"
, __func__);
10
setbits32
(
dfd_cfg
,
RESET_ON_KEEP_EN
);
11
dsb
();
12
}
dsb
#define dsb()
Definition:
barrier.h:16
printk
#define printk(level,...)
Definition:
stdlib.h:16
console.h
dfd_init
void dfd_init(void)
Definition:
dfd.c:7
RESET_ON_KEEP_EN
#define RESET_ON_KEEP_EN
Definition:
dfd_common.h:7
dfd_cfg
static u32 *const dfd_cfg
Definition:
dfd_common.h:9
mmio.h
setbits32
#define setbits32(addr, set)
Definition:
mmio.h:21
BIOS_INFO
#define BIOS_INFO
BIOS_INFO - Expected events.
Definition:
loglevel.h:113
src
soc
mediatek
common
dfd.c
Generated by
1.9.1