f7604b1b27
Change OF_getencprop_alloc semantics to be combination of malloc and OF_getencprop and return size of the property, not number of elements allocated. For the use cases where number of elements is preferred introduce OF_getencprop_alloc_multi helper function that copies semantics of OF_getencprop_alloc prior to this change. This is to make OF_getencprop_alloc and OF_getencprop_alloc_multi function signatures consistent with OF_getencprop_alloc and OF_getencprop_alloc_multi. Functionality-wise this patch is mostly rename of OF_getencprop_alloc to OF_getencprop_alloc_multi except two calls in ofw_bus_setup_iinfo where 1 was used as a block size. |
||
---|---|---|
.. | ||
fdt_reset_if.m | ||
fdt_reset.c | ||
fdt_reset.h | ||
files.mediatek | ||
mtk_clock.c | ||
mtk_dotg.c | ||
mtk_ehci.c | ||
mtk_gpio_v1.c | ||
mtk_gpio_v2.c | ||
mtk_intr_gic.c | ||
mtk_intr_v1.c | ||
mtk_intr_v2.c | ||
mtk_machdep.c | ||
mtk_ohci.c | ||
mtk_pcie.c | ||
mtk_pcie.h | ||
mtk_pinctrl.c | ||
mtk_pinctrl.h | ||
mtk_reset.c | ||
mtk_soc.c | ||
mtk_soc.h | ||
mtk_spi_v1.c | ||
mtk_spi_v1.h | ||
mtk_spi_v2.c | ||
mtk_spi_v2.h | ||
mtk_sysctl.c | ||
mtk_sysctl.h | ||
mtk_usb_phy.c | ||
mtk_usb_phy.h | ||
mtk_xhci.c | ||
palmbus.c | ||
std.mediatek | ||
std.rt2880 | ||
uart_dev_mtk.c | ||
uart_dev_mtk.h |