Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

byteorder.h

Blame
  • Forked from Reform / reform-boundary-uboot
    Loading
    • Tom Rini's avatar
      795611e6
      armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases · 795611e6
      Tom Rini authored
      
      The toolchain sets __aarch64__ for both LE and BE.  In the case of
      posix_types.h we cannot reliably use config.h as that will lead to
      problems.  In the case of byteorder.h it's clearer to check the EB flag
      being set in either case instead.
      
      Cc: David Feng <fenghua@phytium.com.cn>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      
      Amended by Albert ARIBAUD <albert.u.boot@aribaud.net> to
      actually remove the config.h include from the posix_types.h
      files, with permission from Tom Rini.
      795611e6
      History
      armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases
      Tom Rini authored
      
      The toolchain sets __aarch64__ for both LE and BE.  In the case of
      posix_types.h we cannot reliably use config.h as that will lead to
      problems.  In the case of byteorder.h it's clearer to check the EB flag
      being set in either case instead.
      
      Cc: David Feng <fenghua@phytium.com.cn>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      
      Amended by Albert ARIBAUD <albert.u.boot@aribaud.net> to
      actually remove the config.h include from the posix_types.h
      files, with permission from Tom Rini.