• Tom Rini's avatar
    libfdt: Revert 6dcb8ba4 from upstream libfdt · e8c2d258
    Tom Rini authored
    In upstream libfdt, 6dcb8ba4 "libfdt: Add helpers for accessing
    unaligned words" introduced changes to support unaligned reads for ARM
    platforms and 11738cf01f15 "libfdt: Don't use memcpy to handle unaligned
    reads on ARM" improved the performance of these helpers.
    
    In practice however, this only occurs when the user has forced the
    device tree to be placed in memory in a non-aligned way, which in turn
    violates both our rules and the Linux Kernel rules for how things must
    reside in memory to function.
    
    This "in practice" part is important as handling these other cases adds
    visible (1 second or more) delay to boot in what would be considered the
    fast path of the code.
    
    Cc: Patrice CHOTARD <patrice.chotard@st.com>
    Cc: Patrick DELAUNAY <patrick.delaunay@st.com>
    Link: https://www.spinics.net/lists/devicetree-compiler/msg02972.htmlSigned-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
    Tested-by: Patrice Chotard's avatarPatrice Chotard <patrice.chotard@st.com>
    e8c2d258
Name
Last commit
Last update
..
Makefile Loading commit data...
README Loading commit data...
fdt.c Loading commit data...
fdt_addresses.c Loading commit data...
fdt_empty_tree.c Loading commit data...
fdt_overlay.c Loading commit data...
fdt_region.c Loading commit data...
fdt_ro.c Loading commit data...
fdt_rw.c Loading commit data...
fdt_strerror.c Loading commit data...
fdt_sw.c Loading commit data...
fdt_wip.c Loading commit data...
libfdt_internal.h Loading commit data...
test_libfdt.py Loading commit data...