raspi: Raspberry Pi 3 support
commitbade58166f4466546600d824a2695a00269d10eb
authorPekka Enberg <penberg@iki.fi>
Thu, 15 Feb 2018 18:29:36 +0000 (15 18:29 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Feb 2018 18:33:46 +0000 (15 18:33 +0000)
tree66650bd76033948075563b3b09c07aed3a02fb84
parentd9f8bbd8eb4e95db97cf02bd03af86a3d606f4f1
raspi: Raspberry Pi 3 support

This patch adds Raspberry Pi 3 support to hw/arm/raspi.c. The
differences to Pi 2 are:

 - Firmware address
 - Board ID
 - Board revision

The CPU is different too, but that's going to be configured as part of
the machine default CPU when we introduce a new machine type.

The patch was written from scratch by me but the logic is similar to
Zoltán Baldaszti's previous work, which I used as a reference (with
permission from the author):

  https://github.com/bztsrc/qemu-raspi3

Signed-off-by: Pekka Enberg <penberg@iki.fi>
[PMM: fixed trailing whitespace on one line]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/raspi.c