aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-12-16 14:22:10 +0000
committerPeter Maydell <peter.maydell@linaro.org>2022-12-16 14:22:10 +0000
commitd407570557649d5f66f425ee3fa53f9c9331250f (patch)
treedf98858493d7bbfaf5414e6522f4305b228ce459
parenta0cd0b1d0bc78b8ffe3292fbb4f14e4a15e16b7b (diff)
test9: Correct expected SYST_CSR value
In QEMU commit a40e10f1dc3e0fedd we fixed a bug in our systick timer implementation where we always implemented a 1MHz reference clock, whether the board had a reference clock or not. For the Stellaris board which we run these test cases on, there is no reference clock; the reset value of SYST_CSR has therefore changed to its correct value of 4 (with the CLKSOURCE bit set to indicate that the systick clock is running on the CPU clock). Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--test9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test9.c b/test9.c
index d3d8b09..4796de0 100644
--- a/test9.c
+++ b/test9.c
@@ -59,7 +59,7 @@ void main(void)
TEST(shpr[1], 0);
TEST(shpr[2], 0);
TEST(shcsr, 0);
- TEST(syst_csr, 0);
+ TEST(syst_csr, 4);
puts("# ictr ");
puthex(early_state.ictr);
putc('\n');