Skip to content

Commit

Permalink
hppa: use new CONFIG_HPPA_B160L option instead of CONFIG_DINO to buil…
Browse files Browse the repository at this point in the history
…d hppa machine

DINO refers to the GSC-PCI bridge device which will soon be handled separately,
however the QEMU HPPA machine is actually based upon the HPPA B160L as indicated
by the Linux kernel dmesg output when booted in qemu-system-hppa and the QEMU
MAINTAINERS file.

Update the machine configuration to use CONFIG_HPPA_B160L instead of CONFIG_DINO
and also update the machine description accordingly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <20220504092600.10048-13-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  • Loading branch information
mcayland authored and taylorsimpson committed May 9, 2022
1 parent cbbfd31 commit 0daa6df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configs/devices/hppa-softmmu/default.mak
Expand Up @@ -6,4 +6,4 @@

# Boards:
#
CONFIG_DINO=y
CONFIG_HPPA_B160L=y
2 changes: 1 addition & 1 deletion hw/hppa/Kconfig
@@ -1,4 +1,4 @@
config DINO
config HPPA_B160L
bool
imply PCI_DEVICES
imply E1000_PCI
Expand Down
2 changes: 1 addition & 1 deletion hw/hppa/machine.c
Expand Up @@ -366,7 +366,7 @@ static void hppa_nmi(NMIState *n, int cpu_index, Error **errp)

static void machine_hppa_machine_init(MachineClass *mc)
{
mc->desc = "HPPA generic machine";
mc->desc = "HPPA B160L machine";
mc->default_cpu_type = TYPE_HPPA_CPU;
mc->init = machine_hppa_init;
mc->reset = hppa_machine_reset;
Expand Down
2 changes: 1 addition & 1 deletion hw/hppa/meson.build
@@ -1,4 +1,4 @@
hppa_ss = ss.source_set()
hppa_ss.add(when: 'CONFIG_DINO', if_true: files('pci.c', 'machine.c', 'dino.c', 'lasi.c'))
hppa_ss.add(when: 'CONFIG_HPPA_B160L', if_true: files('pci.c', 'machine.c', 'dino.c', 'lasi.c'))

hw_arch += {'hppa': hppa_ss}

0 comments on commit 0daa6df

Please sign in to comment.