summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-05-08 14:43:39 -0700
committerLee Leahy <leroy.p.leahy@intel.com>2017-05-10 01:14:27 +0200
commit1c1c071b88c52ec8c580328062df28a6a091b7a0 (patch)
treedcca156c386588308b14003ab24a64bbcbb346de /src/drivers
parent293445ae1f93d38b86b1c1a3c9ee40ec96a36fac (diff)
drivers/storage: Remove set_control_reg
Remove unused field in generic SD/MMC controller data structure. TEST=Build and run on Galileo Gen2 Change-Id: I7169dca07509a6f2513d62b593742daf764010b2 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/19629 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/storage/sdhci.c3
1 files changed, 0 insertions, 3 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);