[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 3/4] xen/arm: support "arm, armv8-timer" DTS compatibility.



On Mon, 13 May 2013, Ian Campbell wrote:
> On v8 the compatibility name differs but the node is otherwise specified the
> same. See linux/Documentation/devicetree/bindings/arm/arch_timer.txt
> 
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>


>  xen/arch/arm/time.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/xen/arch/arm/time.c b/xen/arch/arm/time.c
> index db849cf..4ed7882 100644
> --- a/xen/arch/arm/time.c
> +++ b/xen/arch/arm/time.c
> @@ -107,6 +107,8 @@ int __init init_xen_time(void)
>  
>      dev = dt_find_compatible_node(NULL, NULL, "arm,armv7-timer");
>      if ( !dev )
> +        dev = dt_find_compatible_node(NULL, NULL, "arm,armv8-timer");
> +    if ( !dev )
>          panic("Unable to find a compatible timer in the device tree\n");
>  
>      dt_device_set_used_by(dev, DOMID_XEN);
> -- 
> 1.7.2.5
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.