tests/qtest/cmsdk-apb-watchdog-test: Test clock changes
commit7bbb12f305c894b861229073e5d43ea80bcce6e0
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Jan 2021 11:41:41 +0000 (28 11:41 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2021 15:54:44 +0000 (29 15:54 +0000)
tree3dead2a62c08f4609ede1108ac42d8e4561c77f6
parent4c4599fec97bbf9b95f89fea33d4c60304e3888d
tests/qtest/cmsdk-apb-watchdog-test: Test clock changes

Now that the CMSDK APB watchdog uses its Clock input, it will
correctly respond when the system clock frequency is changed using
the RCC register on in the Stellaris board system registers.  Test
that when the RCC register is written it causes the watchdog timer to
change speed.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210128114145.20536-22-peter.maydell@linaro.org
Message-id: 20210121190622.22000-22-peter.maydell@linaro.org
tests/qtest/cmsdk-apb-watchdog-test.c