payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / intel / galileo / sd.c
blob65cd867d511c88e891e7d805cb386577007f08a7
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <commonlib/sdhci.h>
4 #include <commonlib/storage.h>
6 void soc_sd_mmc_controller_quirks(struct sd_mmc_ctrlr *ctrlr)
8 /* Specify the additional driver support */
9 ctrlr->caps |= DRVR_CAP_REMOVABLE;
11 /* ADMA currently not working on Quark */
12 ctrlr->caps &= ~DRVR_CAP_AUTO_CMD12;
14 /* Set initialization clock frequency */
15 ctrlr->f_min = 100 * CLOCK_KHZ;
17 /* Set the initialization delays */
18 ctrlr->mdelay_before_cmd0 = 1;
19 ctrlr->mdelay_after_cmd0 = 2;