Skip to content

hw/arm/raspi: Use named constants in BCM props

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version Applied

Status from this message: Applied to target-arm.next (with the comment I mentioned

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest4 patches 5 repliesApplied

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4hw/arm/raspi: Import Linux raspi definitions as 'raspberrypi-fw-defs.h'include/hw/misc/raspberrypi-fw-defs.h+163 -01 reply
2/4hw/misc/bcm2835_property: Use 'raspberrypi-fw-defs.h' definitionshw/misc/bcm2835_property.c+51 -501 reply
3/4hw/misc/bcm2835_property: Replace magic frequency values by definitionshw/misc/bcm2835_property.c include/hw/arm/raspi_platform.h+10 -31 reply
4/4hw/misc/bcm2835_property: Handle CORE_CLK_ID firmware propertyhw/misc/bcm2835_property.c include/hw/arm/raspi_platform.h+4 -01 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/4A-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] hw/arm/raspi: Use named constants in BCM props

v2: https://lore.kernel.org/qemu-devel/[email protected]/

This is a respin of Sergey's patch but
- split in multiple patches
- removing redundant comments

Sergey Kambalin (4):
hw/arm/raspi: Import Linux raspi definitions as
'raspberrypi-fw-defs.h'
hw/misc/bcm2835_property: Use 'raspberrypi-fw-defs.h' definitions hw/misc/bcm2835_property: Replace magic frequency values by
definitions
hw/misc/bcm2835_property: Handle CORE_CLK_ID firmware property

 include/hw/arm/raspi_platform.h       |   6 +
 include/hw/misc/raspberrypi-fw-defs.h | 163 ++++++++++++++++++++++++++
 hw/misc/bcm2835_property.c            | 112 +++++++++---------
 3 files changed, 228 insertions(+), 53 deletions(-)
 create mode 100644 include/hw/misc/raspberrypi-fw-defs.h
Signature · 1 line
2.38.1