[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 3/4] xen/arm: support "arm, armv8-timer" DTS compatibility.
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> --- 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |