mtd: rawnand: denali: deassert write protect pin
[oweals/u-boot.git] / drivers / pci / pci_auto_common.c
index 84908e6154c568a3382381aeda2baeaa3ebef01e..c0a53dcc929a27835ff5199e3c86045ca9a6f0de 100644 (file)
@@ -14,6 +14,7 @@
 #include <common.h>
 #include <dm.h>
 #include <errno.h>
+#include <log.h>
 #include <pci.h>
 
 void pciauto_region_init(struct pci_region *res)
@@ -45,7 +46,9 @@ int pciauto_region_allocate(struct pci_region *res, pci_size_t size,
        addr = ((res->bus_lower - 1) | (size - 1)) + 1;
 
        if (addr - res->bus_start + size > res->size) {
-               debug("No room in resource");
+               debug("No room in resource, avail start=%llx / size=%llx, "
+                     "need=%llx\n", (unsigned long long)res->bus_lower,
+                     (unsigned long long)res->size, (unsigned long long)size);
                goto error;
        }