On Mon, 18 May 2026 at 08:34, Corvin Köhne <[email protected]> wrote:
>
> From: YannickV <[email protected]>
>
> Add ps_clk_freq to ZynqMachineClass so derived machine types can set
> their own PS clock frequency instead of using the hardcoded default.
>
> Signed-off-by: YannickV <[email protected]>

>  static const TypeInfo zynq_machine_type = {
> diff --git a/include/hw/arm/xilinx_zynq.h b/include/hw/arm/xilinx_zynq.h
> index 662b390431..bf411f1cc2 100644
> --- a/include/hw/arm/xilinx_zynq.h
> +++ b/include/hw/arm/xilinx_zynq.h
> @@ -24,6 +24,7 @@ OBJECT_DECLARE_TYPE(ZynqMachineState, ZynqMachineClass, 
> ZYNQ_MACHINE)
>  struct ZynqMachineState {
>      MachineState parent;
>      Clock *ps_clk;
> +    Clock *mpcore_clk;
>      ARMCPU *cpu[ZYNQ_MAX_CPUS];
>      uint8_t boot_mode;
>  };

This part looks like it should have been in some other patch.

thanks
-- PMM

Reply via email to