mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
pci: dm: core: Drop DM_PCI check from devfdt_get_addr_pci()
We don't need this check anymore since when PCI is enabled, driver model is always used. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
97229af027
commit
debf660312
1 changed files with 1 additions and 2 deletions
|
@ -200,8 +200,7 @@ fdt_addr_t devfdt_get_addr_pci(const struct udevice *dev)
|
|||
ulong addr;
|
||||
|
||||
addr = devfdt_get_addr(dev);
|
||||
if (CONFIG_IS_ENABLED(PCI) && IS_ENABLED(CONFIG_DM_PCI) &&
|
||||
addr == FDT_ADDR_T_NONE) {
|
||||
if (CONFIG_IS_ENABLED(PCI) && addr == FDT_ADDR_T_NONE) {
|
||||
struct fdt_pci_addr pci_addr;
|
||||
u32 bar;
|
||||
int ret;
|
||||
|
|
Loading…
Reference in a new issue