![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/gpio.h>
#include <soc/regulator.h>
#include <soc/msdc.h>
Go to the source code of this file.
Macros | |
#define | MSDC0_BASE 0x11f60000 |
#define | MSDC0_TOP_BASE 0x11f50000 |
#define | MSDC0_DRV_MASK 0x3fffffff |
#define | MSDC1_DRV_MASK 0x3ffff000 |
#define | MSDC0_DRV_VALUE 0x24924924 |
#define | MSDC1_DRV_VALUE 0x1b6db000 |
#define | MSDC1_GPIO_MODE0_BASE 0x10005360 |
#define | MSDC1_GPIO_MODE0_MASK 0x77777000 |
#define | MSDC1_GPIO_MODE0_VALUE 0x11111000 |
#define | MSDC1_GPIO_MODE1_BASE 0x10005370 |
#define | MSDC1_GPIO_MODE1_MASK 0x7 |
#define | MSDC1_GPIO_MODE1_VALUE 0x1 |
Functions | |
void | mtk_msdc_configure_emmc (bool is_early_init) |
void | mtk_msdc_configure_sdcard (void) |
Definition at line 25 of file msdc.c.
References ARRAY_SIZE, clrsetbits32, GPIO, GPIO_PULL_DOWN, GPIO_PULL_ENABLE, GPIO_PULL_UP, gpio_set_pull(), IOCFG_TL_BASE, MSDC0_BASE, MSDC0_DRV_MASK, MSDC0_DRV_VALUE, MSDC0_TOP_BASE, and mtk_emmc_early_init().
Definition at line 55 of file msdc.c.
References ARRAY_SIZE, clrsetbits32, GPIO, GPIO_PULL_DOWN, GPIO_PULL_ENABLE, GPIO_PULL_UP, gpio_set_pull(), IOCFG_RM_BASE, mainboard_enable_regulator(), MSDC1_DRV_MASK, MSDC1_DRV_VALUE, MSDC1_GPIO_MODE0_BASE, MSDC1_GPIO_MODE0_MASK, MSDC1_GPIO_MODE0_VALUE, MSDC1_GPIO_MODE1_BASE, MSDC1_GPIO_MODE1_MASK, MSDC1_GPIO_MODE1_VALUE, MTK_REGULATOR_VCC, and MTK_REGULATOR_VCCQ.