m48t59-test: don't touch watchdog

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2013-01-04 17:12:18 +01:00
parent 4e45deedf5
commit 067f069127
1 changed files with 5 additions and 0 deletions

View File

@ -233,6 +233,11 @@ static void fuzz_registers(void)
reg = (uint8_t)g_test_rand_int_range(0, 16);
val = (uint8_t)g_test_rand_int_range(0, 256);
if (reg == 7) {
/* watchdog setup register, may trigger system reset, skip */
continue;
}
cmos_write(reg, val);
cmos_read(reg);
}