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>
This commit is contained in:
Lee Leahy 2017-05-08 14:43:39 -07:00
parent 293445ae1f
commit 1c1c071b88
2 changed files with 0 additions and 4 deletions

View File

@ -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);

View File

@ -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);