![]() |
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/i2c.h>
#include <soc/regulator.h>
#include <soc/msdc.h>
#include <soc/mt6360.h>
Go to the source code of this file.
Macros | |
#define | MSDC0_BASE 0x11230000 |
#define | MSDC0_TOP_BASE 0x11f50000 |
#define | MSDC0_DRV_VALUE 0x1b6db6db |
#define | MSDC1_DRV_VALUE 0x1b6db |
#define | MSDC1_GPIO_MODE0_VALUE 0x1 |
#define | MSDC1_GPIO_MODE1_VALUE 0x1 |
Enumerations | |
enum | { MSDC1_GPIO_MODE0_BASE = 0x100053d0 , MSDC1_GPIO_MODE1_BASE = 0x100053e0 } |
Functions | |
void | mtk_msdc_configure_emmc (bool is_early_init) |
void | mtk_msdc_configure_sdcard (void) |
anonymous enum |
Definition at line 33 of file msdc.c.
References ARRAY_SIZE, GPIO, GPIO_PULL_DOWN, GPIO_PULL_ENABLE, GPIO_PULL_UP, gpio_set_pull(), IOCFG_LT_BASE, IOCFG_TL_BASE, MSDC0_BASE, MSDC0_DRV_VALUE, MSDC0_TOP_BASE, mtk_emmc_early_init(), and SET32_BITFIELDS.
Referenced by mainboard_init().
Definition at line 63 of file msdc.c.
References ARRAY_SIZE, CONFIG, GPIO, GPIO_PULL_DOWN, GPIO_PULL_ENABLE, GPIO_PULL_UP, gpio_set_pull(), I2C7, I2C_SPEED_FAST, IOCFG_LB_BASE, IOCFG_RB_BASE, mainboard_enable_regulator(), mainboard_set_regulator_vol(), MSDC1_DRV_VALUE, MSDC1_GPIO_MODE0_BASE, MSDC1_GPIO_MODE0_VALUE, MSDC1_GPIO_MODE1_BASE, MSDC1_GPIO_MODE1_VALUE, mt6360_init(), mtk_i2c_bus_init(), MTK_REGULATOR_VCC, MTK_REGULATOR_VCCQ, MTK_REGULATOR_VMC, MTK_REGULATOR_VMCH, and SET32_BITFIELDS.
Referenced by mainboard_init().