Fork of the vendor (Boundary Devices) u-boot for Reform 2, with minor tweaks. The goal is to migrate to mainstream u-boot or barebox ASAP. The main impediment so far is the 4GB RAM config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

24 lines
571 B

  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
  4. */
  5. #ifndef __ASM_ARC_BITOPS_H
  6. #define __ASM_ARC_BITOPS_H
  7. /*
  8. * hweightN: returns the hamming weight (i.e. the number
  9. * of bits set) of a N-bit word
  10. */
  11. #define hweight32(x) generic_hweight32(x)
  12. #define hweight16(x) generic_hweight16(x)
  13. #define hweight8(x) generic_hweight8(x)
  14. #include <asm-generic/bitops/fls.h>
  15. #include <asm-generic/bitops/__fls.h>
  16. #include <asm-generic/bitops/fls64.h>
  17. #include <asm-generic/bitops/__ffs.h>
  18. #endif /* __ASM_ARC_BITOPS_H */