Bin Meng a47ef6e93a hw/riscv: clint: Avoid using hard-coded timebase frequency
At present the CLINT timestamp is using a hard-coded timebase
frequency value SIFIVE_CLINT_TIMEBASE_FREQ. This might not be
true for all boards.

Add a new 'timebase-freq' property to the CLINT device, and
update various functions to accept this as a parameter.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <1598924352-89526-16-git-send-email-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-09-09 15:54:19 -07:00
..
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-09-01 08:34:08 +02:00
2020-09-02 07:29:25 -04:00
2020-09-01 08:38:41 +02:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 06:30:35 -04:00
2020-08-21 12:56:45 -07:00
2020-08-21 06:30:35 -04:00