qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-arm] [PATCH v3 01/25] nios2: 10m50_devboard: replace cpu_model wit


From: Igor Mammedov
Subject: [Qemu-arm] [PATCH v3 01/25] nios2: 10m50_devboard: replace cpu_model with cpu_type
Date: Tue, 23 Jan 2018 09:08:00 +0100

use cpu_create() instead of being removed cpu_generic_init()

Signed-off-by: Igor Mammedov <address@hidden>
---
CC: Chris Wulff <address@hidden>
CC: Marek Vasut <address@hidden>
---
 hw/nios2/10m50_devboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/nios2/10m50_devboard.c b/hw/nios2/10m50_devboard.c
index e4007f6..42053b2 100644
--- a/hw/nios2/10m50_devboard.c
+++ b/hw/nios2/10m50_devboard.c
@@ -75,7 +75,7 @@ static void nios2_10m50_ghrd_init(MachineState *machine)
                                 phys_ram_alias);
 
     /* Create CPU -- FIXME */
-    cpu = NIOS2_CPU(cpu_generic_init(TYPE_NIOS2_CPU, "nios2"));
+    cpu = NIOS2_CPU(cpu_create(TYPE_NIOS2_CPU));
 
     /* Register: CPU interrupt controller (PIC) */
     cpu_irq = nios2_cpu_pic_init(cpu);
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]