diff options
author | Tom Rini <trini@konsulko.com> | 2016-10-13 20:03:33 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-13 20:03:33 -0400 |
commit | 4504062b271bf4d1cf256e4e87e156de6029e088 (patch) | |
tree | a0cac720a2687f2ed4ccf15f473d06bb7c8dcb07 /arch/x86/cpu/irq.c | |
parent | 44afdc4a12b9f6f48338e7975e4f08cfe90dba74 (diff) | |
parent | 42b7600d62ae288a8c12431d232b89b26ec61721 (diff) | |
download | u-boot-imx-4504062b271bf4d1cf256e4e87e156de6029e088.zip u-boot-imx-4504062b271bf4d1cf256e4e87e156de6029e088.tar.gz u-boot-imx-4504062b271bf4d1cf256e4e87e156de6029e088.tar.bz2 |
Merge git://git.denx.de/u-boot-fdt
Diffstat (limited to 'arch/x86/cpu/irq.c')
-rw-r--r-- | arch/x86/cpu/irq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/cpu/irq.c b/arch/x86/cpu/irq.c index df3cd0a..9364410 100644 --- a/arch/x86/cpu/irq.c +++ b/arch/x86/cpu/irq.c @@ -103,11 +103,12 @@ static int create_pirq_routing_table(struct udevice *dev) /* extract the bdf from fdt_pci_addr */ priv->bdf = dm_pci_get_bdf(dev->parent); - ret = fdt_find_string(blob, node, "intel,pirq-config", "pci"); + ret = fdt_stringlist_search(blob, node, "intel,pirq-config", "pci"); if (!ret) { priv->config = PIRQ_VIA_PCI; } else { - ret = fdt_find_string(blob, node, "intel,pirq-config", "ibase"); + ret = fdt_stringlist_search(blob, node, "intel,pirq-config", + "ibase"); if (!ret) priv->config = PIRQ_VIA_IBASE; else |