]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
nios2: add clear and set bits macros
authorThomas Chou <thomas@wytron.com.tw>
Wed, 30 Sep 2015 12:56:53 +0000 (20:56 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:37:03 +0000 (07:37 +0800)
commitd21275ef5e7fe67c592896d6dbb157e219ec0450
tree3440de477eabc39230f7af66114ffa9f234c626c
parent15a56f9cb73fbf832e4ade37651605eb9662b388
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: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Chin Liang See <clsee@altera.com>
arch/nios2/include/asm/io.h