]> git.dujemihanovic.xyz Git - u-boot.git/commit
wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 23 Jan 2018 16:14:54 +0000 (17:14 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 24 Jan 2018 06:33:43 +0000 (12:03 +0530)
commit91fe458bbfcd6485b9413cf398bbfeb6947861ec
treed8d35f8967bbf7d1b0fe0e01a03069cbdeed3999
parent32466c445c49b489b09f99b4ae9b440d76d4720f
wait_bit: add 8/16/32 BE/LE versions of wait_for_bit

Add 8/16/32 bits and BE/LE versions of wait_for_bit.
This is needed for reading registers that are not aligned to 32 bits, and for
Big Endian platforms.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
include/wait_bit.h