mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: 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: Icc3b0a6856e6454a2db45cf44cf01e3c2dada95e
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: 1c1c071b88
Original-Change-Id: I7169dca07509a6f2513d62b593742daf764010b2
Original-Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/19629
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://chromium-review.googlesource.com/506169
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
parent
596d63e7aa
commit
5883212f19
2 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue