hw/arm: Check CPU type in machine_run_board_init()
commit3e71f4a706560406e320eaff7d622efd12912e7e
authorGavin Shan <gshan@redhat.com>
Mon, 4 Dec 2023 00:47:25 +0000 (4 10:47 +1000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (5 16:20 +0100)
tree005efcdd99fd3c08b34cf6177a2d35ce6da2f829
parentdbf8e8c4332820c3b4e5a85f039fe758c6a26b97
hw/arm: Check CPU type in machine_run_board_init()

Set mc->valid_cpu_types so that the user specified CPU type can
be validated in machine_run_board_init(). We needn't to do it by
ourselves.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231204004726.483558-9-gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/arm/bananapi_m2u.c
hw/arm/cubieboard.c
hw/arm/mps2-tz.c
hw/arm/mps2.c
hw/arm/msf2-som.c
hw/arm/musca.c
hw/arm/npcm7xx_boards.c
hw/arm/orangepi.c