From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4bPW-0002Ui-VZ for qemu-devel@nongnu.org; Tue, 17 Oct 2017 19:36:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4bPV-0005QG-OG for qemu-devel@nongnu.org; Tue, 17 Oct 2017 19:36:34 -0400 Received: from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242]:50200) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4bPV-0005Px-JW for qemu-devel@nongnu.org; Tue, 17 Oct 2017 19:36:33 -0400 Received: by mail-io0-x242.google.com with SMTP id 97so4108298iok.7 for ; Tue, 17 Oct 2017 16:36:33 -0700 (PDT) MIME-Version: 1.0 Sender: philippe.mathieu.daude@gmail.com In-Reply-To: References: From: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Date: Tue, 17 Oct 2017 20:36:32 -0300 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 2/5] bcm2836: Use the Cortex-A7 instead of Cortex-A15 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis Cc: "qemu-devel@nongnu.org Developers" , Eduardo Habkost , Igor Mammedov , Marcel Apfelbaum , Alistair Francis On Tue, Oct 17, 2017 at 7:31 PM, Alistair Francis wrote: > The BCM2836 uses a Cortex-A7 not a Cortex-A15. Update the device to use > the correct CPU. > https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2836/QA= 7_rev3.4.pdf > > Signed-off-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daud=C3=A9 > --- > V3: > - Use ARM_CPU_TYPE_NAME() macro > V2: > - Fix the BCM2836 CPU > > hw/arm/bcm2836.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/arm/bcm2836.c b/hw/arm/bcm2836.c > index 8c43291112..c477772484 100644 > --- a/hw/arm/bcm2836.c > +++ b/hw/arm/bcm2836.c > @@ -30,7 +30,7 @@ static void bcm2836_init(Object *obj) > > for (n =3D 0; n < BCM2836_NCPUS; n++) { > object_initialize(&s->cpus[n], sizeof(s->cpus[n]), > - "cortex-a15-" TYPE_ARM_CPU); > + ARM_CPU_TYPE_NAME("cortex-a7")); > object_property_add_child(obj, "cpu[*]", OBJECT(&s->cpus[n]), > &error_abort); > } > -- > 2.11.0 > >