ulp_wdog: Update ulp wdog driver for 32bits command
authorYe Li <ye.li@nxp.com>
Fri, 21 Oct 2022 08:41:15 +0000 (16:41 +0800)
committerStefan Roese <sr@denx.de>
Mon, 24 Oct 2022 09:10:21 +0000 (11:10 +0200)
commita79f2007d018124c241a975bf522346d60e794a2
treed142914b5f66f02e69d2455602c5a356d9b7a291
parentddc8d36a745517fec57787ec9b17ab44c7ad973c
ulp_wdog: Update ulp wdog driver for 32bits command

To use 32bits refresh and unlock command as default, check the CMD32EN
bit to select the corresponding commands.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/ulp_wdog.c