arm: mvebu: turris_mox: don't use hardcoded addresses
authorMarek Behún <marek.behun@nic.cz>
Wed, 8 Apr 2020 10:02:07 +0000 (12:02 +0200)
committerStefan Roese <sr@denx.de>
Tue, 14 Apr 2020 11:16:42 +0000 (13:16 +0200)
commit9657841010cae49b1f903adf198ec334cfc92f11
tree704e02a6847350e2c82ebffc59155c202f93c569
parent9e4cdbabac1b38da30838701dca9f70935c7e095
arm: mvebu: turris_mox: don't use hardcoded addresses

Use macro MVEBU_REGISTER to access register addresses instead of
hardcoded addresses.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
board/CZ.NIC/turris_mox/mox_sp.c
board/CZ.NIC/turris_mox/turris_mox.c