[U-Boot] [PATCH V3 02/10] waitbit: Add the generic wait_for_bit macros for 16 and 32 bits.

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Wed Aug 14 14:45:05 UTC 2019



Am 14.08.19 um 15:18 schrieb Philippe Reynes:
> From: Kursad Oney <kursad.oney at broadcom.com>
> 
> 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 at broadcom.com>
> Reviewed-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
>  include/wait_bit.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> Changelog:
> v3:
> - avoid double definition when readw_be/readl_be is defined
> v2:
> - move this patch from third place to second place
> 

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

-- 
- Daniel


More information about the U-Boot mailing list