nios2: add clear and set bits macros
These macros can be used to clear and set multiple bits in a register using a single call. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NMarek Vasut <marex@denx.de> Acked-by: NChin Liang See <clsee@altera.com>
Showing
想要评论请 注册 或 登录