mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
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>
This commit is contained in:
parent
a20b4a8cfb
commit
5c58002255
3 changed files with 0 additions and 4 deletions
|
@ -791,7 +791,6 @@ static int octeon_i2c_probe(struct udevice *dev)
|
|||
pci_dev_t bdf = dm_pci_get_bdf(dev);
|
||||
|
||||
debug("TWSI PCI device: %x\n", bdf);
|
||||
dev->req_seq = PCI_FUNC(bdf);
|
||||
|
||||
twsi->base = dm_pci_map_bar(dev, PCI_BASE_ADDRESS_0,
|
||||
PCI_REGION_MEM);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -319,7 +319,6 @@ int octeontx_smi_probe(struct udevice *dev)
|
|||
pci_dev_t bdf = dm_pci_get_bdf(dev);
|
||||
|
||||
debug("SMI PCI device: %x\n", bdf);
|
||||
dev->req_seq = PCI_FUNC(bdf);
|
||||
if (!dm_pci_map_bar(dev, PCI_BASE_ADDRESS_0, PCI_REGION_MEM)) {
|
||||
printf("Failed to map PCI region for bdf %x\n", bdf);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue