coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <commonlib/sd_mmc_ctrlr.h>
#include <commonlib/sdhci.h>
#include <commonlib/storage.h>
#include "sdhci.h"
#include "sd_mmc.h"
#include "storage.h"
Go to the source code of this file.
Functions | |
static void | sdhci_display_bus_width (struct sdhci_ctrlr *sdhci_ctrlr) |
static void | sdhci_display_clock (struct sdhci_ctrlr *sdhci_ctrlr) |
static void | sdhci_display_voltage (struct sdhci_ctrlr *sdhci_ctrlr) |
void | sdhci_display_setup (struct sdhci_ctrlr *sdhci_ctrlr) |
|
static |
Definition at line 13 of file sdhci_display.c.
References CONFIG, sdhc_debug, SDHCI_CTRL_4BITBUS, SDHCI_CTRL_8BITBUS, SDHCI_CTRL_HS400, SDHCI_CTRL_UHS_DDR50, SDHCI_CTRL_UHS_MASK, SDHCI_HOST_CONTROL, SDHCI_HOST_CONTROL2, sdhci_readb(), and sdhci_readw().
Referenced by sdhci_display_setup().
|
static |
Definition at line 40 of file sdhci_display.c.
References sd_mmc_ctrlr::clock_base, CONFIG, sdhci_ctrlr::sd_mmc_ctrlr, sdhc_debug, SDHCI_CLOCK_CARD_EN, SDHCI_CLOCK_CONTROL, SDHCI_DIV_HI_MASK, SDHCI_DIV_MASK, SDHCI_DIV_MASK_LEN, SDHCI_DIVIDER_SHIFT, and sdhci_readw().
Referenced by sdhci_display_setup().
void sdhci_display_setup | ( | struct sdhci_ctrlr * | sdhci_ctrlr | ) |
Definition at line 92 of file sdhci_display.c.
References sdhci_display_bus_width(), sdhci_display_clock(), and sdhci_display_voltage().
Referenced by storage_test().
|
static |
Definition at line 66 of file sdhci_display.c.
References CONFIG, sdhc_debug, SDHCI_POWER_330, SDHCI_POWER_CONTROL, SDHCI_POWER_ON, sdhci_readb(), and voltage.
Referenced by sdhci_display_setup().