[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 2/5] bcm2836: Use the Cortex-A7 instead of Co
From: |
Igor Mammedov |
Subject: |
Re: [Qemu-devel] [PATCH v3 2/5] bcm2836: Use the Cortex-A7 instead of Cortex-A15 |
Date: |
Wed, 18 Oct 2017 09:48:17 +0200 |
On Tue, 17 Oct 2017 15:31:14 -0700
Alistair Francis <address@hidden> 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/QA7_rev3.4.pdf
>
> Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
> ---
> 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 = 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);
> }
- [Qemu-devel] [PATCH v3 0/5] Add a valid_cpu_types property, Alistair Francis, 2017/10/17
- [Qemu-devel] [PATCH v3 3/5] raspi: Specify the valid CPUs, Alistair Francis, 2017/10/17
- [Qemu-devel] [PATCH v3 2/5] bcm2836: Use the Cortex-A7 instead of Cortex-A15, Alistair Francis, 2017/10/17
- [Qemu-devel] [PATCH v3 5/5] xilinx_zynq: Specify the valid CPUs, Alistair Francis, 2017/10/17
- [Qemu-devel] [PATCH v3 1/5] netduino2: Specify the valid CPUs, Alistair Francis, 2017/10/17
- [Qemu-devel] [PATCH v3 4/5] xlnx-zcu102: Specify the valid CPUs, Alistair Francis, 2017/10/17
- Re: [Qemu-devel] [PATCH v3 0/5] Add a valid_cpu_types property, Alistair Francis, 2017/10/23