coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <delay.h>
#include <device/mmio.h>
#include <soc/dpm.h>
#include <soc/dramc_soc.h>
#include <soc/spm.h>
#include <soc/symbols.h>
Go to the source code of this file.
Functions | |
static int | wake_dpm_sram_up (void) |
static void | dpm_mtcoms_sleep_on (void) |
int | dpm_4ch_init (void) |
int | dpm_4ch_para_setting (void) |
Variables | |
static struct dpm_regs *const | mtk_dpm2 = (void *)DPM_CFG_BASE2 |
static struct mtk_mcu | dpm_mcu_4ch [] |
int dpm_4ch_init | ( | void | ) |
Definition at line 67 of file dpm_4ch.c.
References dpm_mtcoms_sleep_on(), and wake_dpm_sram_up().
Referenced by dpm_init().
int dpm_4ch_para_setting | ( | void | ) |
Definition at line 75 of file dpm_4ch.c.
References ARRAY_SIZE, mtk_mcu::buffer_size, dpm_mcu_4ch, mtk_mcu::load_buffer, mtk_init_mcu(), and REGION_SIZE.
Referenced by dpm_init().
Definition at line 41 of file dpm_4ch.c.
Referenced by dpm_4ch_init().
|
static |
Definition at line 13 of file dpm_4ch.c.
References BIOS_ERR, mtk_spm_regs::dramc_mcu2_sram_con, DRAMC_MCU2_SRAM_ISOINT_B_LSB, DRAMC_MCU2_SRAM_SLEEP_B_LSB, mtk_spm_regs::dramc_mcu_sram_con, DRAMC_MCU_SRAM_ISOINT_B_LSB, DRAMC_MCU_SRAM_SLEEP_B_LSB, mdelay(), mtk_spm, printk, read32(), and setbits32.
Referenced by dpm_4ch_init().
|
static |
Definition at line 41 of file dpm_4ch.c.
Referenced by dpm_4ch_para_setting().
|
static |