Re: [PATCH v2 04/13] hw/arm/raspi: Introduce RaspiProcessorId enum

2020-02-18 Thread Luc Michel
Hi Phil, On 2/17/20 12:45 PM, Philippe Mathieu-Daudé wrote: > As we only support a reduced set of the REV_CODE_PROCESSOR id > encoded in the board revision, define the PROCESSOR_ID values > as an enum. We can simplify the board_soc_type and cores_count > methods. > > Signed-off-by: Philippe Mathi

[PATCH v2 04/13] hw/arm/raspi: Introduce RaspiProcessorId enum

2020-02-17 Thread Philippe Mathieu-Daudé
As we only support a reduced set of the REV_CODE_PROCESSOR id encoded in the board revision, define the PROCESSOR_ID values as an enum. We can simplify the board_soc_type and cores_count methods. Signed-off-by: Philippe Mathieu-Daudé --- hw/arm/raspi.c | 45 +-