commit | 98d9596d5294a53c019cba81c1cfc3b299d32c97 | [log] [tgz] |
---|---|---|
author | Kursad Oney <kursad.oney@broadcom.com> | Wed Aug 14 15:18:33 2019 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Oct 11 10:09:16 2019 -0400 |
tree | 687f9faa74e100c9d46284626b7d62ba4e2f5d6d | |
parent | 53cf342994e0f54ac23fcc96c34f4c589523aaee [diff] |
waitbit: Add the generic wait_for_bit macros for 16 and 32 bits. wait_for_bit_le32 and wait_for_bit_le16 use the raw I/O functions which would default to big-endian on BE systems. Create the generic equivalents to use the native endianness. Signed-off-by: Kursad Oney <kursad.oney@broadcom.com> Reviewed-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>