X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;ds=sidebyside;f=include%2Ffdtdec.h;h=c39ad90f02097063e2297c1909d45a207b6d2cbb;hb=6e2abe0627f07177fa9cd454b1d2750f5f57e857;hp=967fa88f9ec1d53352c7eb940c43ad26ad941baa;hpb=7bc47d139eecb97200a6bd487afa219f77021593;p=karo-tx-uboot.git diff --git a/include/fdtdec.h b/include/fdtdec.h index 967fa88f9e..c39ad90f02 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -327,7 +327,9 @@ fdt_addr_t fdtdec_get_addr_size(const void *blob, int node, * @param type pci address type (FDT_PCI_SPACE_xxx) * @param prop_name name of property to find * @param addr returns pci address in the form of fdt_pci_addr - * @return 0 if ok, negative on error + * @return 0 if ok, -ENOENT if the property did not exist, -EINVAL if the + * format of the property was invalid, -ENXIO if the requested + * address type was not found */ int fdtdec_get_pci_addr(const void *blob, int node, enum fdt_pci_space type, const char *prop_name, struct fdt_pci_addr *addr);