X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fwait_bit.h;h=dc2ffeb2c249117a4ca7f4b7aeb84a31daedc476;hb=f9a48654ee70fbad29f487d074fd36a1548b4209;hp=82e09da5ca345065d4743d74dce0b23d6f5c70ea;hpb=e8f80a5a58c9b506453cc0780687e8ed457d30a6;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/wait_bit.h b/include/wait_bit.h index 82e09da..dc2ffeb 100644 --- a/include/wait_bit.h +++ b/include/wait_bit.h @@ -8,9 +8,11 @@ #ifndef __WAIT_BIT_H #define __WAIT_BIT_H -#include #include +#include +#include #include +#include #include #include @@ -72,10 +74,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