mbox series

[0/1] hw/arm/sse-timer: Add CNTFRQ reset property

Message ID 20230914224211.2184828-1-komlodi@google.com
Headers show
Series hw/arm/sse-timer: Add CNTFRQ reset property | expand

Message

Joe Komlodi Sept. 14, 2023, 10:42 p.m. UTC
Hi all,

This patch just adds an object property to initialize the reset value of
CNTFRQ.
We noticed that Linux would complain that CNTFRQ would have a mismatch
compared to an expected value, and this was because TF-A was assuming
that CNTFRQ was initialized to a different value out of reset.

Since it's valid for CNTFRQ to have a non-zero reset value, we just
added an object property so people can set it.

Thanks!
Joe

Joe Komlodi (1):
  hw/timer/sse-timer: Add CNTFRQ reset property

 hw/timer/sse-timer.c         | 4 +++-
 include/hw/timer/sse-timer.h | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)