Patchwork [U-Boot,4/4] exynos5: fdt: Enable FDT for exynos5 based SMDK5250 board

login
register
mail settings
Submitter Hatim RV
Date Nov. 5, 2012, 10:18 a.m.
Message ID <1352110699-22244-5-git-send-email-hatim.rv@samsung.com>
Download mbox | patch
Permalink /patch/197181/
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Comments

Hatim RV - Nov. 5, 2012, 10:18 a.m.
Enable device tree for exynos5.

Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
Simon Glass - Nov. 6, 2012, 1:43 a.m.
Hi Hatim,

On Mon, Nov 5, 2012 at 2:18 AM, Hatim Ali <hatim.rv@samsung.com> wrote:
> Enable device tree for exynos5.
>
> Signed-off-by: Hatim Ali <hatim.rv@samsung.com>

Consider the exynos5250-dt.h idea, but anyway:

Acked-by: Simon Glass <sjg@chromium.org>

>
> diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
> index e412da8..a04eb47 100644
> --- a/include/configs/smdk5250.h
> +++ b/include/configs/smdk5250.h
> @@ -37,6 +37,12 @@
>  #define CONFIG_DISPLAY_CPUINFO
>  #define CONFIG_DISPLAY_BOARDINFO
>
> +/* Enable fdt support for SMDK5250 */
> +#define CONFIG_DEFAULT_DEVICE_TREE      exynos5250-smdk5250
> +#define CONFIG_ARCH_DEVICE_TREE                exynos5250
> +#define CONFIG_OF_CONTROL
> +#define CONFIG_OF_SEPARATE
> +
>  /* Keep L2 Cache Disabled */
>  #define CONFIG_SYS_DCACHE_OFF
>
> --
> 1.7.2.3
>

Patch

diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index e412da8..a04eb47 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -37,6 +37,12 @@ 
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
+/* Enable fdt support for SMDK5250 */
+#define CONFIG_DEFAULT_DEVICE_TREE      exynos5250-smdk5250
+#define CONFIG_ARCH_DEVICE_TREE		exynos5250
+#define CONFIG_OF_CONTROL
+#define CONFIG_OF_SEPARATE
+
 /* Keep L2 Cache Disabled */
 #define CONFIG_SYS_DCACHE_OFF