public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mx6sxsabresd: Convert to the new Kconfig style
@ 2014-08-15  0:00 Fabio Estevam
  2014-08-20 11:12 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2014-08-15  0:00 UTC (permalink / raw)
  To: u-boot

From: Fabio Estevam <fabio.estevam@freescale.com>

mx6sxsabresd was not in the master branch when the conversion to the new Kconfig
style happened, so convert it now so that it can build again.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/Kconfig                         |  4 ++++
 board/freescale/mx6sxsabresd/Kconfig     | 23 +++++++++++++++++++++++
 board/freescale/mx6sxsabresd/MAINTAINERS |  6 ++++++
 configs/mx6sxsabresd_defconfig           |  3 +++
 4 files changed, 36 insertions(+)
 create mode 100644 board/freescale/mx6sxsabresd/Kconfig
 create mode 100644 board/freescale/mx6sxsabresd/MAINTAINERS
 create mode 100644 configs/mx6sxsabresd_defconfig

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e385eda..c041e8a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -524,6 +524,9 @@ config TARGET_MX6SABRESD
 config TARGET_MX6SLEVK
 	bool "Support mx6slevk"
 
+config TARGET_MX6SXSABRESD
+	bool "Support mx6sxsabresd"
+
 config TARGET_GW_VENTANA
 	bool "Support gw_ventana"
 
@@ -880,6 +883,7 @@ source "board/freescale/mx6qarm2/Kconfig"
 source "board/freescale/mx6qsabreauto/Kconfig"
 source "board/freescale/mx6sabresd/Kconfig"
 source "board/freescale/mx6slevk/Kconfig"
+source "board/freescale/mx6sxsabresd/Kconfig"
 source "board/freescale/vf610twr/Kconfig"
 source "board/gateworks/gw_ventana/Kconfig"
 source "board/genesi/mx51_efikamx/Kconfig"
diff --git a/board/freescale/mx6sxsabresd/Kconfig b/board/freescale/mx6sxsabresd/Kconfig
new file mode 100644
index 0000000..ee8f4a6
--- /dev/null
+++ b/board/freescale/mx6sxsabresd/Kconfig
@@ -0,0 +1,23 @@
+if TARGET_MX6SXSABRESD
+
+config SYS_CPU
+	string
+	default "armv7"
+
+config SYS_BOARD
+	string
+	default "mx6sxsabresd"
+
+config SYS_VENDOR
+	string
+	default "freescale"
+
+config SYS_SOC
+	string
+	default "mx6"
+
+config SYS_CONFIG_NAME
+	string
+	default "mx6sxsabresd"
+
+endif
diff --git a/board/freescale/mx6sxsabresd/MAINTAINERS b/board/freescale/mx6sxsabresd/MAINTAINERS
new file mode 100644
index 0000000..f52f300
--- /dev/null
+++ b/board/freescale/mx6sxsabresd/MAINTAINERS
@@ -0,0 +1,6 @@
+MX6SXSABRESD BOARD
+M:	Fabio Estevam <fabio.estevam@freescale.com>
+S:	Maintained
+F:	board/freescale/mx6sxsabresd/
+F:	include/configs/mx6sxsabresd.h
+F:	configs/mx6sxsabresd_defconfig
diff --git a/configs/mx6sxsabresd_defconfig b/configs/mx6sxsabresd_defconfig
new file mode 100644
index 0000000..f23d48f
--- /dev/null
+++ b/configs/mx6sxsabresd_defconfig
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sxsabresd/imximage.cfg,MX6SX"
+CONFIG_ARM=y
+CONFIG_TARGET_MX6SXSABRESD=y
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] mx6sxsabresd: Convert to the new Kconfig style
  2014-08-15  0:00 [U-Boot] [PATCH] mx6sxsabresd: Convert to the new Kconfig style Fabio Estevam
@ 2014-08-20 11:12 ` Stefano Babic
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Babic @ 2014-08-20 11:12 UTC (permalink / raw)
  To: u-boot

Hi Fabio,

On 15/08/2014 02:00, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> mx6sxsabresd was not in the master branch when the conversion to the new Kconfig
> style happened, so convert it now so that it can build again.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/Kconfig                         |  4 ++++
>  board/freescale/mx6sxsabresd/Kconfig     | 23 +++++++++++++++++++++++
>  board/freescale/mx6sxsabresd/MAINTAINERS |  6 ++++++
>  configs/mx6sxsabresd_defconfig           |  3 +++
>  4 files changed, 36 insertions(+)
>  create mode 100644 board/freescale/mx6sxsabresd/Kconfig
>  create mode 100644 board/freescale/mx6sxsabresd/MAINTAINERS
>  create mode 100644 configs/mx6sxsabresd_defconfig
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index e385eda..c041e8a 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -524,6 +524,9 @@ config TARGET_MX6SABRESD
>  config TARGET_MX6SLEVK
>  	bool "Support mx6slevk"
>  
> +config TARGET_MX6SXSABRESD
> +	bool "Support mx6sxsabresd"
> +
>  config TARGET_GW_VENTANA
>  	bool "Support gw_ventana"
>  
> @@ -880,6 +883,7 @@ source "board/freescale/mx6qarm2/Kconfig"
>  source "board/freescale/mx6qsabreauto/Kconfig"
>  source "board/freescale/mx6sabresd/Kconfig"
>  source "board/freescale/mx6slevk/Kconfig"
> +source "board/freescale/mx6sxsabresd/Kconfig"
>  source "board/freescale/vf610twr/Kconfig"
>  source "board/gateworks/gw_ventana/Kconfig"
>  source "board/genesi/mx51_efikamx/Kconfig"
> diff --git a/board/freescale/mx6sxsabresd/Kconfig b/board/freescale/mx6sxsabresd/Kconfig
> new file mode 100644
> index 0000000..ee8f4a6
> --- /dev/null
> +++ b/board/freescale/mx6sxsabresd/Kconfig
> @@ -0,0 +1,23 @@
> +if TARGET_MX6SXSABRESD
> +
> +config SYS_CPU
> +	string
> +	default "armv7"
> +
> +config SYS_BOARD
> +	string
> +	default "mx6sxsabresd"
> +
> +config SYS_VENDOR
> +	string
> +	default "freescale"
> +
> +config SYS_SOC
> +	string
> +	default "mx6"
> +
> +config SYS_CONFIG_NAME
> +	string
> +	default "mx6sxsabresd"
> +
> +endif
> diff --git a/board/freescale/mx6sxsabresd/MAINTAINERS b/board/freescale/mx6sxsabresd/MAINTAINERS
> new file mode 100644
> index 0000000..f52f300
> --- /dev/null
> +++ b/board/freescale/mx6sxsabresd/MAINTAINERS
> @@ -0,0 +1,6 @@
> +MX6SXSABRESD BOARD
> +M:	Fabio Estevam <fabio.estevam@freescale.com>
> +S:	Maintained
> +F:	board/freescale/mx6sxsabresd/
> +F:	include/configs/mx6sxsabresd.h
> +F:	configs/mx6sxsabresd_defconfig
> diff --git a/configs/mx6sxsabresd_defconfig b/configs/mx6sxsabresd_defconfig
> new file mode 100644
> index 0000000..f23d48f
> --- /dev/null
> +++ b/configs/mx6sxsabresd_defconfig
> @@ -0,0 +1,3 @@
> +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sxsabresd/imximage.cfg,MX6SX"
> +CONFIG_ARM=y
> +CONFIG_TARGET_MX6SXSABRESD=y
> 

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-20 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15  0:00 [U-Boot] [PATCH] mx6sxsabresd: Convert to the new Kconfig style Fabio Estevam
2014-08-20 11:12 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox