diff mbox

[U-Boot] Atmel: sam9g10/9m10/9x5: Add support to boot DT kernel

Message ID 1346836975-5302-1-git-send-email-voice.shen@atmel.com
State Accepted, archived
Delegated to: Andreas Bießmann
Headers show

Commit Message

Bo Shen Sept. 5, 2012, 9:22 a.m. UTC
The mainline linux kernel is moving to flatten device tree support
Add the CONFIG_OF_LIBFDT option to support booting DT linux kernel

Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
 include/configs/at91sam9261ek.h    |    2 ++
 include/configs/at91sam9m10g45ek.h |    2 ++
 include/configs/at91sam9x5ek.h     |    2 ++
 3 files changed, 6 insertions(+)

Comments

Bo Shen Sept. 14, 2012, 2:38 a.m. UTC | #1
Hi Andreas,

On 9/5/2012 17:22, Bo Shen wrote:
> The mainline linux kernel is moving to flatten device tree support
> Add the CONFIG_OF_LIBFDT option to support booting DT linux kernel
>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
>   include/configs/at91sam9261ek.h    |    2 ++
>   include/configs/at91sam9m10g45ek.h |    2 ++
>   include/configs/at91sam9x5ek.h     |    2 ++
>   3 files changed, 6 insertions(+)
>

Ping?

> diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h
> index 1e1fbe5..611e3e2 100644
> --- a/include/configs/at91sam9261ek.h
> +++ b/include/configs/at91sam9261ek.h
> @@ -48,6 +48,8 @@
>
>   #define CONFIG_DISPLAY_CPUINFO
>
> +#define CONFIG_OF_LIBFDT
> +
>   #define CONFIG_ATMEL_LEGACY
>   #define CONFIG_SYS_TEXT_BASE		0x21f00000
>
> diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h
> index 4ca280a..e988d81 100644
> --- a/include/configs/at91sam9m10g45ek.h
> +++ b/include/configs/at91sam9m10g45ek.h
> @@ -47,6 +47,8 @@
>   #define CONFIG_BOARD_EARLY_INIT_F
>   #define CONFIG_DISPLAY_CPUINFO
>
> +#define CONFIG_OF_LIBFDT
> +
>   /* general purpose I/O */
>   #define CONFIG_ATMEL_LEGACY		/* required until (g)pio is fixed */
>   #define CONFIG_AT91_GPIO
> diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
> index 1ceb31a..cbdc3e9 100644
> --- a/include/configs/at91sam9x5ek.h
> +++ b/include/configs/at91sam9x5ek.h
> @@ -42,6 +42,8 @@
>   #define CONFIG_BOARD_EARLY_INIT_F
>   #define CONFIG_DISPLAY_CPUINFO
>
> +#define CONFIG_OF_LIBFDT
> +
>   /* general purpose I/O */
>   #define CONFIG_ATMEL_LEGACY		/* required until (g)pio is fixed */
>   #define CONFIG_AT91_GPIO
>
Andreas Bießmann Sept. 17, 2012, 5:04 p.m. UTC | #2
Dear Bo Shen,

On 05.09.2012 11:22, Bo Shen wrote:
> The mainline linux kernel is moving to flatten device tree support
> Add the CONFIG_OF_LIBFDT option to support booting DT linux kernel
>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---

applied to u-boot-atmel/master, thanks!

Best regards

Andreas Bießmann
diff mbox

Patch

diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h
index 1e1fbe5..611e3e2 100644
--- a/include/configs/at91sam9261ek.h
+++ b/include/configs/at91sam9261ek.h
@@ -48,6 +48,8 @@ 
 
 #define CONFIG_DISPLAY_CPUINFO
 
+#define CONFIG_OF_LIBFDT
+
 #define CONFIG_ATMEL_LEGACY
 #define CONFIG_SYS_TEXT_BASE		0x21f00000
 
diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h
index 4ca280a..e988d81 100644
--- a/include/configs/at91sam9m10g45ek.h
+++ b/include/configs/at91sam9m10g45ek.h
@@ -47,6 +47,8 @@ 
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_DISPLAY_CPUINFO
 
+#define CONFIG_OF_LIBFDT
+
 /* general purpose I/O */
 #define CONFIG_ATMEL_LEGACY		/* required until (g)pio is fixed */
 #define CONFIG_AT91_GPIO
diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h
index 1ceb31a..cbdc3e9 100644
--- a/include/configs/at91sam9x5ek.h
+++ b/include/configs/at91sam9x5ek.h
@@ -42,6 +42,8 @@ 
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_DISPLAY_CPUINFO
 
+#define CONFIG_OF_LIBFDT
+
 /* general purpose I/O */
 #define CONFIG_ATMEL_LEGACY		/* required until (g)pio is fixed */
 #define CONFIG_AT91_GPIO