Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

reform-boundary-uboot

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Masahiro Yamada authored
    Data written to DTB must be converted to big endian order.
    It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc.
    
    fdt_fixup_memory_banks() invoked write_cell(), which always
    swaps byte order.
    It means the function only worked on little endian architectures.
    
    This commit adds and uses a new helper function, fdt_pack_reg(),
    which works on both big endian and little endian architrectures.
    
    Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
    Acked-by: default avatarSimon Glass <sjg@chromium.org>
    739a01ed
    History
    Name Last commit Last update