X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fwait_bit.h;h=79da0811fe2cf6e5909f2ee288c211b77365804f;hb=7086de4948ba2bc46cdd3001f7d845535f05f7fe;hp=bd021baa4841bd8f132dc19928903da2dbb4c844;hpb=748277c415ff5bd74d6913928cab2a3da6a0b69f;p=oweals%2Fu-boot.git diff --git a/include/wait_bit.h b/include/wait_bit.h index bd021baa48..79da0811fe 100644 --- a/include/wait_bit.h +++ b/include/wait_bit.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Wait for bit with timeout and ctrlc * * (C) Copyright 2015 Mateusz Kulikowski - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __WAIT_BIT_H @@ -73,10 +72,12 @@ static inline int wait_for_bit_##sfx(const void *reg, \ BUILD_WAIT_FOR_BIT(8, u8, readb) BUILD_WAIT_FOR_BIT(le16, u16, readw) +BUILD_WAIT_FOR_BIT(16, u16, readw) #ifdef readw_be BUILD_WAIT_FOR_BIT(be16, u16, readw_be) #endif BUILD_WAIT_FOR_BIT(le32, u32, readl) +BUILD_WAIT_FOR_BIT(32, u32, readl) #ifdef readl_be BUILD_WAIT_FOR_BIT(be32, u32, readl_be) #endif