mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
xilinx_timer: Fixed "frequency" prop name
The "frequency" qdev prop matches the "clock-frequency" property in Xilinx EDK. Renamed "frequency" -> "clock-frequency" accordingly. Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
This commit is contained in:
parent
e03377ae75
commit
919f89f44c
2 changed files with 3 additions and 2 deletions
|
@ -224,7 +224,8 @@ static int xilinx_timer_init(SysBusDevice *dev)
|
|||
}
|
||||
|
||||
static Property xilinx_timer_properties[] = {
|
||||
DEFINE_PROP_UINT32("frequency", struct timerblock, freq_hz, 62 * 1000000),
|
||||
DEFINE_PROP_UINT32("clock-frequency", struct timerblock, freq_hz,
|
||||
62 * 1000000),
|
||||
DEFINE_PROP_UINT8("one-timer-only", struct timerblock, one_timer_only, 0),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue