]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/arm/npcm8xx_boards: Correct valid_cpu_types setting of NPCM8XX SoC
authorTim Lee <timlee660101@gmail.com>
Mon, 28 Apr 2025 02:29:34 +0000 (10:29 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 8 May 2025 07:20:54 +0000 (10:20 +0300)
NPCM8XX SoC is the successor of the NPCM7XX. It features quad-core
Cortex-A35 (Armv8, 64-bit) CPUs and some additional peripherals.
Correct the `valid_cpu_types` setting to match the NPCM8XX SoC.

Cc: qemu-stable@nongnu.org
Fixes: 7e70eb3cad7c83 ("hw/arm: Add NPCM845 Evaluation board")
Signed-off-by: Tim Lee <timlee660101@gmail.com>
Message-id: 20250428022934.3081139-1-timlee660101@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 97cdd1b0a7a010702a1d118b74c3af3bb2edb35c)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/arm/npcm8xx_boards.c

index 3fb8478e72e7a558b6d2bd1ed027fdd058271dfb..6d3e59f6b986d1b0f350d4f0b9ed06649ccf4c8e 100644 (file)
@@ -213,7 +213,7 @@ static void npcm8xx_machine_class_init(ObjectClass *oc, void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
     static const char * const valid_cpu_types[] = {
-        ARM_CPU_TYPE_NAME("cortex-a9"),
+        ARM_CPU_TYPE_NAME("cortex-a35"),
         NULL
     };