]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit62a3f2dd5aa8187222228eafe5cb5d71bb3cfa55
tree2e8f419988eb60531d23d450551775982fa63ca2
parent55d5a7c68224688c2067f57b0e3a2cb525a688cd
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