]> git.baikalelectronics.ru Git - uboot.git/commit
watchdog: orion_wdt: support SPL usage
authorChris Packham <judge.packham@gmail.com>
Sun, 17 Feb 2019 21:30:52 +0000 (10:30 +1300)
committerStefan Roese <sr@denx.de>
Fri, 12 Apr 2019 05:04:18 +0000 (07:04 +0200)
commit6f7515b04fe6a338e1689ae72cbe683713c41417
tree696d554f36fc3e253c86d7709d8055ebfb3e5b15
parente7260a7fd62f59c6969be37b6dff75bf04365ee6
watchdog: orion_wdt: support SPL usage

When run from the SPL the mvebu targets are using the hardware default
offset for the SoC peripherals. devfdt_get_addr_size_index() understands
how to deal with this via dm_get_translation_offset() so use this
instead of fdtdec_get_addr_size_auto_noparent().

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/watchdog/orion_wdt.c