hw/arm/raspi: Display the board revision in the machine description
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 24 Sep 2020 11:18:01 +0000 (13:18 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 1 Oct 2020 14:31:01 +0000 (15:31 +0100)
commit62f06f71373f2c3123e9599e59c80fccea24c604
treee2854aa54fca05cd9409580aa149cce92f47b838
parente79f01f3ae65aae1baf01486d800f8b04a939d4e
hw/arm/raspi: Display the board revision in the machine description

Display the board revision in the machine description.

Before:

  $ qemu-system-aarch64 -M help | fgrep raspi
  raspi2               Raspberry Pi 2B
  raspi3               Raspberry Pi 3B

After:

  raspi2               Raspberry Pi 2B (revision 1.1)
  raspi3               Raspberry Pi 3B (revision 1.2)

Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200924111808.77168-2-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/raspi.c