aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/storage/sdhci.c3
-rw-r--r--src/include/device/sd_mmc_ctrlr.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/storage/sdhci.c b/src/drivers/storage/sdhci.c
index f05a47ef6e..c17aa27b9f 100644
--- a/src/drivers/storage/sdhci.c
+++ b/src/drivers/storage/sdhci.c
@@ -550,9 +550,6 @@ static void sdhci_set_ios(struct sd_mmc_ctrlr *ctrlr)
u32 bus_width;
int version;
- if (ctrlr->set_control_reg)
- ctrlr->set_control_reg(ctrlr);
-
/* Set the clock frequency */
if (ctrlr->bus_hz != ctrlr->request_hz)
sdhci_set_clock(sdhci_ctrlr, ctrlr->request_hz);
diff --git a/src/include/device/sd_mmc_ctrlr.h b/src/include/device/sd_mmc_ctrlr.h
index c3b4f60d08..b7541da12f 100644
--- a/src/include/device/sd_mmc_ctrlr.h
+++ b/src/include/device/sd_mmc_ctrlr.h
@@ -127,7 +127,6 @@ struct sd_mmc_ctrlr {
int (*send_cmd)(struct sd_mmc_ctrlr *ctrlr,
struct mmc_command *cmd, struct mmc_data *data);
void (*set_ios)(struct sd_mmc_ctrlr *ctrlr);
- void (*set_control_reg)(struct sd_mmc_ctrlr *ctrlr);
void (*tuning_start)(struct sd_mmc_ctrlr *ctrlr, int retune);
int (*is_tuning_complete)(struct sd_mmc_ctrlr *ctrlr, int *successful);