Re: [PATCH 07/19] ppc/ppc405: QOM'ify CPC

2022-08-03 Thread Cédric Le Goater
On 8/3/22 11:14, Daniel Henrique Barboza wrote:   ppc_dcr_init(env, NULL, NULL);   /* CPU control */ -    ppc405ep_cpc_init(env, clk_setup, s->sysclk); +    object_property_set_link(OBJECT(&s->cpc), "cpu", OBJECT(&s->cpu), + &error_abort); +  if (!qdev_real

Re: [PATCH 07/19] ppc/ppc405: QOM'ify CPC

2022-08-03 Thread Daniel Henrique Barboza
On 8/1/22 10:10, Cédric Le Goater wrote: Since all clock settings are now handled at the CPC level, this changes the SoC "sys-clk" property to be an alias on the same property in the CPC model. Signed-off-by: Cédric Le Goater --- hw/ppc/ppc405.h| 39 +++- hw/ppc/ppc405_uc

[PATCH 07/19] ppc/ppc405: QOM'ify CPC

2022-08-01 Thread Cédric Le Goater
Since all clock settings are now handled at the CPC level, this changes the SoC "sys-clk" property to be an alias on the same property in the CPC model. Signed-off-by: Cédric Le Goater --- hw/ppc/ppc405.h| 39 +++- hw/ppc/ppc405_uc.c | 109 +++