I need to change the debounce and on time fields for the power on event. I've tried
mw.l 20cc038 00300020
from uboot, which does update the register. But when I power cycle and read the register again, it is back to its default value, 0x00000020.
I've also tried /sbin/devmem to write this register from linux, with the same result.
Is there something I need to do before or after this write to make it persist after a power cycle?