aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/octeontx_hsmmc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-16 21:20:14 -0700
committerSimon Glass <sjg@chromium.org>2020-12-18 20:32:21 -0700
commit5c5800225501dc18eff71ecf4e5e45d0309f40ca (patch)
treea58f130bd4d1cc053f234f8a0709589626643cb0 /drivers/mmc/octeontx_hsmmc.c
parenta20b4a8cfb1e974c28a41024420268bc05e0779d (diff)
downloadu-boot-5c5800225501dc18eff71ecf4e5e45d0309f40ca.zip
u-boot-5c5800225501dc18eff71ecf4e5e45d0309f40ca.tar.gz
u-boot-5c5800225501dc18eff71ecf4e5e45d0309f40ca.tar.bz2
octeon: Don't attempt to set the sequence number
Several Octeon drivers operate by setting the sequence number of their device. This should not be needed with the new sequence number setup. Also it is not permitted. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mmc/octeontx_hsmmc.c')
-rw-r--r--drivers/mmc/octeontx_hsmmc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/octeontx_hsmmc.c b/drivers/mmc/octeontx_hsmmc.c
index 8de1f92..5552342 100644
--- a/drivers/mmc/octeontx_hsmmc.c
+++ b/drivers/mmc/octeontx_hsmmc.c
@@ -3731,7 +3731,6 @@ U_BOOT_DRIVER(octeontx_hsmmc_slot) = {
*/
static int octeontx_mmc_host_probe(struct udevice *dev)
{
- pci_dev_t bdf = dm_pci_get_bdf(dev);
struct octeontx_mmc_host *host = dev_get_priv(dev);
union mio_emm_int emm_int;
u8 rev;
@@ -3757,7 +3756,6 @@ static int octeontx_mmc_host_probe(struct udevice *dev)
return -1;
}
host->node = dev->node;
- dev->req_seq = PCI_FUNC(bdf);
host->last_slotid = -1;
if (otx_is_platform(PLATFORM_ASIM))
host->is_asim = true;