|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 3/7] xen/arm: Make gic-v2 code handle hip04-d01 platform
On 11/03/2014 04:46 PM, Frediano Ziglio wrote:
> /* Set up the GIC */
> -static int __init gicv2_init(struct dt_device_node *node, const void *data)
> +static int __init gicv2_init_common(struct dt_device_node *node, const void
> *data, bool hip04)
> {
> int res;
>
> dt_device_set_used_by(node, DOMID_XEN);
>
> + if ( hip04 )
> + {
> + nr_gic_cpu_if = 16;
> + gicd_sgi_target_shift = 8;
> + gic_cpu_mask = 0xffff;
> + }
> +
And this could be moved in hip04_gicv2_init. So there is no need of
adding a boolean to the arguments.
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |