Patchwork [U-Boot] ORIGEN : enable device tree support

login
register
mail settings
Submitter Angus Ainslie
Date Sept. 9, 2011, 10:02 p.m.
Message ID <4e6a8ce6.0853e70a.7d72.24dd@mx.google.com>
Download mbox | patch
Permalink /patch/114142/
State Accepted
Commit 099e884ace0fb092e49f4cc803fc92c93c3f161f
Delegated to: Minkyu Kang
Headers show

Comments

Angus Ainslie - Sept. 9, 2011, 10:02 p.m.
From: Angus Ainslie <angus.ainslie@linaro.org>

Enable passing a flattened device tree to the kernel.

Signed-off-by: Angus Ainslie <angus.ainslie@linaro.org>
---
 include/configs/origen.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Chander Kashyap - Sept. 12, 2011, 7:04 a.m.
Dear Angus,

On 10 September 2011 03:32,  <angus.ainslie@linaro.org> wrote:
> From: Angus Ainslie <angus.ainslie@linaro.org>
>
> Enable passing a flattened device tree to the kernel.
>
> Signed-off-by: Angus Ainslie <angus.ainslie@linaro.org>
Acked-by: Chander Kashyap <chander.kashyap@linaro.org>
> ---
>  include/configs/origen.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/origen.h b/include/configs/origen.h
> index 889d5fc..380ef4f 100644
> --- a/include/configs/origen.h
> +++ b/include/configs/origen.h
> @@ -165,4 +165,7 @@
>  #define COPY_BL2_SIZE          0x80000
>  #define BL2_START_OFFSET       ((CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)/512)
>  #define BL2_SIZE_BLOC_COUNT    (COPY_BL2_SIZE/512)
> +
> +/* Enable devicetree support */
> +#define CONFIG_OF_LIBFDT
>  #endif /* __CONFIG_H */
> --
> 1.7.4.1
>
>
> _______________________________________________
> Samsung mailing list
> Samsung@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/samsung
>
Minkyu Kang - Sept. 16, 2011, 8:34 a.m.
Dear Angus Ainslie,

On 12 September 2011 16:04, Chander Kashyap <chander.kashyap@linaro.org> wrote:
> Dear Angus,
>
> On 10 September 2011 03:32,  <angus.ainslie@linaro.org> wrote:
>> From: Angus Ainslie <angus.ainslie@linaro.org>
>>
>> Enable passing a flattened device tree to the kernel.
>>
>> Signed-off-by: Angus Ainslie <angus.ainslie@linaro.org>
> Acked-by: Chander Kashyap <chander.kashyap@linaro.org>
>> ---
>>  include/configs/origen.h |    3 +++
>>  1 files changed, 3 insertions(+), 0 deletions(-)
>>

applied to u-boot-samsung.
Thanks.

Minkyu Kang

Patch

diff --git a/include/configs/origen.h b/include/configs/origen.h
index 889d5fc..380ef4f 100644
--- a/include/configs/origen.h
+++ b/include/configs/origen.h
@@ -165,4 +165,7 @@ 
 #define COPY_BL2_SIZE		0x80000
 #define BL2_START_OFFSET	((CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)/512)
 #define BL2_SIZE_BLOC_COUNT	(COPY_BL2_SIZE/512)
+
+/* Enable devicetree support */
+#define CONFIG_OF_LIBFDT
 #endif	/* __CONFIG_H */