[PULL 06/17] hw/arm/aspeed: Check for CPU types in machine_run_board_init()

2024-02-01 Thread Cédric Le Goater
From: Philippe Mathieu-Daudé Aspeed SoCs use a single CPU type (set as AspeedSoCClass::cpu_type). Convert it to a NULL-terminated array (of a single non-NULL element). Set MachineClass::valid_cpu_types[] to use the common machine code to provide hints when the requested CPU is invalid (see

[PULL 06/17] hw/arm/aspeed: Check for CPU types in machine_run_board_init()

2024-01-26 Thread Cédric Le Goater
From: Philippe Mathieu-Daudé Aspeed SoCs use a single CPU type (set as AspeedSoCClass::cpu_type). Convert it to a NULL-terminated array (of a single non-NULL element). Set MachineClass::valid_cpu_types[] to use the common machine code to provide hints when the requested CPU is invalid (see