qemu-e2k/hw/nios2
Igor Mammedov da9cbe02bc nios2: replace cpu_nios2_init() with cpu_generic_init()
cpu_nios2_init() always falls back to TYPE_NIOS2_CPU object
regardless of cpu_model. Put fallback logic into
nios2_cpu_class_by_name() which would translate any cpu_model
into TYPE_NIOS2_CPU class and replace cpu_nios2_init()
with cpu_generic_init()

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1503592308-93913-14-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-09-01 11:54:24 -03:00
..
10m50_devboard.c nios2: replace cpu_nios2_init() with cpu_generic_init() 2017-09-01 11:54:24 -03:00
boot.c Remove reduntant qemu: from error functions 2017-05-07 09:57:51 +03:00
boot.h nios2: Add Altera 10M50 GHRD emulation 2017-01-24 13:10:35 -08:00
cpu_pic.c nios2: Add Altera 10M50 GHRD emulation 2017-01-24 13:10:35 -08:00
Makefile.objs nios2: Add Altera 10M50 GHRD emulation 2017-01-24 13:10:35 -08:00