byteorder.h 490 B

123456789101112131415161718192021222324
  1. /*
  2. * U-Boot - byteorder.h
  3. *
  4. * Copyright (c) 2005-2007 Analog Devices Inc.
  5. *
  6. * (C) Copyright 2000-2004
  7. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  8. *
  9. * SPDX-License-Identifier: GPL-2.0+
  10. */
  11. #ifndef _BLACKFIN_BYTEORDER_H
  12. #define _BLACKFIN_BYTEORDER_H
  13. #include <asm/types.h>
  14. #if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__)
  15. # define __BYTEORDER_HAS_U64__
  16. # define __SWAB_64_THRU_32__
  17. #endif
  18. #include <linux/byteorder/little_endian.h>
  19. #endif