hw: Fix problem with the A*MPCORE switches in the Kconfig files
authorThomas Huth <thuth@redhat.com>
Mon, 15 Apr 2024 06:56:54 +0000 (08:56 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 25 Apr 2024 10:48:12 +0000 (12:48 +0200)
commitc1c350dc2ccbf92524754694547909e1455e4eef
tree385cc0bed9b4146ec8c826a7bbe72e7a557cd95d
parentb8ff846ec88513112008bff3a4001c839fd50f03
hw: Fix problem with the A*MPCORE switches in the Kconfig files

A9MPCORE, ARM11MPCORE and A15MPCORE are defined twice, once in
hw/cpu/Kconfig and once in hw/arm/Kconfig. This is only possible
by accident, since hw/cpu/Kconfig is never included from hw/Kconfig.
Fix it by declaring the switches only in hw/cpu/Kconfig (since the
related files reside in the hw/cpu/ folder) and by making sure that
the file hw/cpu/Kconfig is now properly included from hw/Kconfig.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240415065655.130099-2-thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/Kconfig
hw/arm/Kconfig
hw/cpu/Kconfig