Patchwork [U-Boot,4/5,v3] exynos5: config: Rename the smdk5250.h to exynos5250-dt.h

login
register
mail settings
Submitter Hatim RV
Date Dec. 11, 2012, 10:52 a.m.
Message ID <1355223169-15625-5-git-send-email-hatim.rv@samsung.com>
Download mbox | patch
Permalink /patch/205162/
State Accepted
Delegated to: Minkyu Kang
Headers show

Comments

Hatim RV - Dec. 11, 2012, 10:52 a.m.
Create a common configuration file for all exynos5250 based boards.
Going forward we will be using DT based driver discovery for all the boards
based on Exynos5. The different boards added will have there own config.h files
which internally will include this file and specify their specific DT files.

Signed-off-by: Hatim Ali <hatim.rv@samsung.com>
---
Changes since v2:
	- No Change

 include/configs/{smdk5250.h => exynos5250-dt.h} |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
 rename include/configs/{smdk5250.h => exynos5250-dt.h} (96%)
Simon Glass - Dec. 12, 2012, 2:18 p.m.
Hi Hatim,

On Tue, Dec 11, 2012 at 2:52 AM, Hatim Ali <hatim.rv@samsung.com> wrote:
> Create a common configuration file for all exynos5250 based boards.
> Going forward we will be using DT based driver discovery for all the boards
> based on Exynos5. The different boards added will have there own config.h files
> which internally will include this file and specify their specific DT files.
>
> Signed-off-by: Hatim Ali <hatim.rv@samsung.com>

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

I'm very pleased to see this - I was going to suggest it too.

Regards,
Simon

> ---
> Changes since v2:
>         - No Change
>
>  include/configs/{smdk5250.h => exynos5250-dt.h} |    9 +++++++--
>  1 files changed, 7 insertions(+), 2 deletions(-)
>  rename include/configs/{smdk5250.h => exynos5250-dt.h} (96%)
>
> diff --git a/include/configs/smdk5250.h b/include/configs/exynos5250-dt.h
> similarity index 96%
> rename from include/configs/smdk5250.h
> rename to include/configs/exynos5250-dt.h
> index e412da8..12f555c 100644
> --- a/include/configs/smdk5250.h
> +++ b/include/configs/exynos5250-dt.h
> @@ -1,7 +1,7 @@
>  /*
> - * Copyright (C) 2011 Samsung Electronics
> + * Copyright (C) 2012 Samsung Electronics
>   *
> - * Configuration settings for the SAMSUNG SMDK5250 (EXYNOS5250) board.
> + * Configuration settings for the SAMSUNG EXYNOS5250 board.
>   *
>   * See file CREDITS for list of people who contributed to this
>   * project.
> @@ -37,6 +37,11 @@
>  #define CONFIG_DISPLAY_CPUINFO
>  #define CONFIG_DISPLAY_BOARDINFO
>
> +/* Enable fdt support for Exynos5250 */
> +#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/exynos5250-dt.h
similarity index 96%
rename from include/configs/smdk5250.h
rename to include/configs/exynos5250-dt.h
index e412da8..12f555c 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/exynos5250-dt.h
@@ -1,7 +1,7 @@ 
 /*
- * Copyright (C) 2011 Samsung Electronics
+ * Copyright (C) 2012 Samsung Electronics
  *
- * Configuration settings for the SAMSUNG SMDK5250 (EXYNOS5250) board.
+ * Configuration settings for the SAMSUNG EXYNOS5250 board.
  *
  * See file CREDITS for list of people who contributed to this
  * project.
@@ -37,6 +37,11 @@ 
 #define CONFIG_DISPLAY_CPUINFO
 #define CONFIG_DISPLAY_BOARDINFO
 
+/* Enable fdt support for Exynos5250 */
+#define CONFIG_ARCH_DEVICE_TREE		exynos5250
+#define CONFIG_OF_CONTROL
+#define CONFIG_OF_SEPARATE
+
 /* Keep L2 Cache Disabled */
 #define CONFIG_SYS_DCACHE_OFF