]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: zynq: Try to enable the first watchdog via aliases
authorMichal Simek <michal.simek@xilinx.com>
Wed, 11 Jul 2018 06:35:22 +0000 (08:35 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 Jul 2018 09:36:01 +0000 (11:36 +0200)
commit5976eb70ce0614d95e6a14066625cc426bfc8c82
tree66786e26c9bb2a11fc4a26014cc6fdaa521cbe03
parentad0c5a5eb65a930799a809ce646580c50297d5de
arm: zynq: Try to enable the first watchdog via aliases

The same change as was done for zynqmp with this description:

Add support for enabling the first watchdog pointed via aliases.

DT fragment:
aliases {
...
watchdog0= &watchdog0;
watchdog1 = &watchdog_lpd;
...
};

<zynqmp example removed>

Till this patch the first watchdog found in DT was used and started
which is not enabling all possible configuration based on user request.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynq/board.c