]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/pci/pci_common.c
env: Rename getenv/_f() to env_get()
[people/ms/u-boot.git] / drivers / pci / pci_common.c
index 6526de80db89160bb51230c973e44b0113808a14..faf25d96cbcaa6a6cdb80c8bb11d487269fe8b9b 100644 (file)
@@ -89,7 +89,7 @@ __weak int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev)
                /*
                 * Only skip configuration if "pciconfighost" is not set
                 */
-               if (getenv("pciconfighost") == NULL)
+               if (env_get("pciconfighost") == NULL)
                        return 1;
 #else
                return 1;