Message ID | 1412150877-4090-2-git-send-email-suravee.suthikulpanit@amd.com |
---|---|
State | New |
Headers | show |
On Wed, 1 Oct 2014, suravee.suthikulpanit@amd.com wrote: > From: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> > > Introducing "arm,gic-400" device-tree matching string > > Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> > xen/arch/arm/gic-v2.c | 1 + > xen/include/asm-arm/gic.h | 4 +++- > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c > index f053b5d..faad1ff 100644 > --- a/xen/arch/arm/gic-v2.c > +++ b/xen/arch/arm/gic-v2.c > @@ -768,6 +768,7 @@ static const char * const gicv2_dt_compat[] __initconst = > { > DT_COMPAT_GIC_CORTEX_A15, > DT_COMPAT_GIC_CORTEX_A7, > + DT_COMPAT_GIC_400, > NULL > }; > > diff --git a/xen/include/asm-arm/gic.h b/xen/include/asm-arm/gic.h > index 51a0a26..187dc46 100644 > --- a/xen/include/asm-arm/gic.h > +++ b/xen/include/asm-arm/gic.h > @@ -152,11 +152,13 @@ > #include <xen/irq.h> > #include <asm-arm/vgic.h> > > +#define DT_COMPAT_GIC_400 "arm,gic-400" > #define DT_COMPAT_GIC_CORTEX_A15 "arm,cortex-a15-gic" > #define DT_COMPAT_GIC_CORTEX_A7 "arm,cortex-a7-gic" > > #define DT_MATCH_GIC_V2 DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A15), \ > - DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A7) > + DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A7), \ > + DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_400) > > #define DT_COMPAT_GIC_V3 "arm,gic-v3" > > -- > 1.9.3 >
Hi Suravee, On 10/01/2014 09:07 AM, suravee.suthikulpanit@amd.com wrote: > From: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> > > Introducing "arm,gic-400" device-tree matching string > > Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> Reviewed-by: Julien Grall <julien.grall@linaro.org> Regards,
diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c index f053b5d..faad1ff 100644 --- a/xen/arch/arm/gic-v2.c +++ b/xen/arch/arm/gic-v2.c @@ -768,6 +768,7 @@ static const char * const gicv2_dt_compat[] __initconst = { DT_COMPAT_GIC_CORTEX_A15, DT_COMPAT_GIC_CORTEX_A7, + DT_COMPAT_GIC_400, NULL }; diff --git a/xen/include/asm-arm/gic.h b/xen/include/asm-arm/gic.h index 51a0a26..187dc46 100644 --- a/xen/include/asm-arm/gic.h +++ b/xen/include/asm-arm/gic.h @@ -152,11 +152,13 @@ #include <xen/irq.h> #include <asm-arm/vgic.h> +#define DT_COMPAT_GIC_400 "arm,gic-400" #define DT_COMPAT_GIC_CORTEX_A15 "arm,cortex-a15-gic" #define DT_COMPAT_GIC_CORTEX_A7 "arm,cortex-a7-gic" #define DT_MATCH_GIC_V2 DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A15), \ - DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A7) + DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_CORTEX_A7), \ + DT_MATCH_COMPATIBLE(DT_COMPAT_GIC_400) #define DT_COMPAT_GIC_V3 "arm,gic-v3"