coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
md_ctrl.c File Reference
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/infracfg.h>
#include <soc/pll.h>
#include <soc/md_ctrl.h>
Include dependency graph for md_ctrl.c:

Go to the source code of this file.

Macros

#define TOPCKGEN_CLK_MODE_MD_32K   (1 << 8)
 
#define TOPCKGEN_CLK_MODE_MD_26M   (1 << 9)
 
#define INFRA_MISC2_SRCCLKENA_RELEASE   (0xFF)
 

Functions

static void internal_md_power_down (void)
 
void mtk_md_early_init (void)
 

Macro Definition Documentation

◆ INFRA_MISC2_SRCCLKENA_RELEASE

#define INFRA_MISC2_SRCCLKENA_RELEASE   (0xFF)

Definition at line 11 of file md_ctrl.c.

◆ TOPCKGEN_CLK_MODE_MD_26M

#define TOPCKGEN_CLK_MODE_MD_26M   (1 << 9)

Definition at line 10 of file md_ctrl.c.

◆ TOPCKGEN_CLK_MODE_MD_32K

#define TOPCKGEN_CLK_MODE_MD_32K   (1 << 8)

Definition at line 9 of file md_ctrl.c.

Function Documentation

◆ internal_md_power_down()

static void internal_md_power_down ( void  )
static

◆ mtk_md_early_init()

void mtk_md_early_init ( void  )

Definition at line 23 of file md_ctrl.c.

References internal_md_power_down().

Referenced by soc_init().

Here is the call graph for this function:
Here is the caller graph for this function: