2012-10-30 18:14:58

by Pantelis Antoniou

[permalink] [raw]
Subject: [PATCH] arm-dt: Enable DT proc updates.

This simple patch enables dynamic changes of the DT tree on runtime
to be visible to the device-tree proc interface.

Signed-off-by: Pantelis Antoniou <[email protected]>
---
arch/arm/include/asm/prom.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/include/asm/prom.h b/arch/arm/include/asm/prom.h
index aeae9c6..6d65ba2 100644
--- a/arch/arm/include/asm/prom.h
+++ b/arch/arm/include/asm/prom.h
@@ -11,6 +11,8 @@
#ifndef __ASMARM_PROM_H
#define __ASMARM_PROM_H

+#define HAVE_ARCH_DEVTREE_FIXUPS
+
#ifdef CONFIG_OF

extern struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
--
1.7.12


2012-11-01 02:04:29

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] arm-dt: Enable DT proc updates.

On 10/31/2012 10:57 AM, Pantelis Antoniou wrote:
> This simple patch enables dynamic changes of the DT tree on runtime
> to be visible to the device-tree proc interface.
>
> Signed-off-by: Pantelis Antoniou <[email protected]>

Acked-by: Rob Herring <[email protected]>

> ---
> arch/arm/include/asm/prom.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/include/asm/prom.h b/arch/arm/include/asm/prom.h
> index aeae9c6..6d65ba2 100644
> --- a/arch/arm/include/asm/prom.h
> +++ b/arch/arm/include/asm/prom.h
> @@ -11,6 +11,8 @@
> #ifndef __ASMARM_PROM_H
> #define __ASMARM_PROM_H
>
> +#define HAVE_ARCH_DEVTREE_FIXUPS
> +
> #ifdef CONFIG_OF
>
> extern struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
>

2012-11-15 16:30:46

by Grant Likely

[permalink] [raw]
Subject: Re: [PATCH] arm-dt: Enable DT proc updates.

On Wed, 31 Oct 2012 21:04:24 -0500, Rob Herring <[email protected]> wrote:
> On 10/31/2012 10:57 AM, Pantelis Antoniou wrote:
> > This simple patch enables dynamic changes of the DT tree on runtime
> > to be visible to the device-tree proc interface.
> >
> > Signed-off-by: Pantelis Antoniou <[email protected]>
>
> Acked-by: Rob Herring <[email protected]>

Applied, thanks.

g.