arc: emsdp: Refactor register and bit accesses
authorAlexey Brodkin <alexey.brodkin@synopsys.com>
Tue, 27 Nov 2018 06:47:00 +0000 (09:47 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Mon, 3 Dec 2018 11:26:45 +0000 (14:26 +0300)
commitfb9a46a2ab4bbd6cc8e285d08da56bf3e79710a2
tree2e8f419988eb60531d23d450551775982fa63ca2
parent4e86c7e3cd21fdab46416284665dbb589f110b94
arc: emsdp: Refactor register and bit accesses

Instead of "base + offset" define all registers right away
and access them later via direct defines.

Generate bit masks with "BIT" macro.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
board/synopsys/emsdp/emsdp.c