All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment
@ 2015-12-21 13:02 Chin Liang See
  2015-12-21 13:02 ` [U-Boot] [PATCH 2/7] arm: socfpga: cyclone5_socdk: " Chin Liang See
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Chin Liang See @ 2015-12-21 13:02 UTC (permalink / raw)
  To: u-boot

Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
---
 include/configs/socfpga_common.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 3a4df63..699e78a 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -271,6 +271,12 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
 #define CONFIG_SYS_CONSOLE_ENV_OVERWRITE
 #define CONFIG_ENV_SIZE			4096
 
+/* Environment for SDMMC boot */
+#if defined(CONFIG_ENV_IS_IN_MMC) && !defined(CONFIG_ENV_OFFSET)
+#define CONFIG_SYS_MMC_ENV_DEV		0	/* device 0 */
+#define CONFIG_ENV_OFFSET		512	/* just after the MBR */
+#endif
+
 /*
  * SPL
  *
-- 
1.7.7.4

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

* [U-Boot] [PATCH 2/7] arm: socfpga: cyclone5_socdk: Consolidate SDMMC environment
  2015-12-21 13:02 [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment Chin Liang See
@ 2015-12-21 13:02 ` Chin Liang See
  2015-12-21 13:02 ` [U-Boot] [PATCH 3/7] arm: socfpga: arria5_socdk: " Chin Liang See
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Chin Liang See @ 2015-12-21 13:02 UTC (permalink / raw)
  To: u-boot

Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
---
 include/configs/socfpga_cyclone5_socdk.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/configs/socfpga_cyclone5_socdk.h b/include/configs/socfpga_cyclone5_socdk.h
index d2efdda..3c2e2ae 100644
--- a/include/configs/socfpga_cyclone5_socdk.h
+++ b/include/configs/socfpga_cyclone5_socdk.h
@@ -52,8 +52,6 @@
 #endif
 
 #define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV		0	/* device 0 */
-#define CONFIG_ENV_OFFSET		512	/* just after the MBR */
 
 /* Extra Environment */
 #define CONFIG_EXTRA_ENV_SETTINGS \
-- 
1.7.7.4

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

* [U-Boot] [PATCH 3/7] arm: socfpga: arria5_socdk: Consolidate SDMMC environment
  2015-12-21 13:02 [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment Chin Liang See
  2015-12-21 13:02 ` [U-Boot] [PATCH 2/7] arm: socfpga: cyclone5_socdk: " Chin Liang See
@ 2015-12-21 13:02 ` Chin Liang See
  2015-12-21 13:02 ` [U-Boot] [PATCH 4/7] arm: socfpga: de0_nano_soc: " Chin Liang See
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Chin Liang See @ 2015-12-21 13:02 UTC (permalink / raw)
  To: u-boot

Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
---
 include/configs/socfpga_arria5_socdk.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/configs/socfpga_arria5_socdk.h b/include/configs/socfpga_arria5_socdk.h
index 3d5665d..af0f87f 100644
--- a/include/configs/socfpga_arria5_socdk.h
+++ b/include/configs/socfpga_arria5_socdk.h
@@ -52,8 +52,6 @@
 #endif
 
 #define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV		0	/* device 0 */
-#define CONFIG_ENV_OFFSET		512	/* just after the MBR */
 
 /* Extra Environment */
 #define CONFIG_EXTRA_ENV_SETTINGS \
-- 
1.7.7.4

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

* [U-Boot] [PATCH 4/7] arm: socfpga: de0_nano_soc: Consolidate SDMMC environment
  2015-12-21 13:02 [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment Chin Liang See
  2015-12-21 13:02 ` [U-Boot] [PATCH 2/7] arm: socfpga: cyclone5_socdk: " Chin Liang See
  2015-12-21 13:02 ` [U-Boot] [PATCH 3/7] arm: socfpga: arria5_socdk: " Chin Liang See
@ 2015-12-21 13:02 ` Chin Liang See
  2015-12-21 13:02 ` [U-Boot] [PATCH 5/7] arm: socfpga: mcvevk: " Chin Liang See
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Chin Liang See @ 2015-12-21 13:02 UTC (permalink / raw)
  To: u-boot

Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
---
 include/configs/socfpga_de0_nano_soc.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/configs/socfpga_de0_nano_soc.h b/include/configs/socfpga_de0_nano_soc.h
index 959e3af..cbc7396 100644
--- a/include/configs/socfpga_de0_nano_soc.h
+++ b/include/configs/socfpga_de0_nano_soc.h
@@ -48,8 +48,6 @@
 #endif
 
 #define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV		0	/* device 0 */
-#define CONFIG_ENV_OFFSET		512	/* just after the MBR */
 
 /* Extra Environment */
 #define CONFIG_EXTRA_ENV_SETTINGS \
-- 
1.7.7.4

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

* [U-Boot] [PATCH 5/7] arm: socfpga: mcvevk: Consolidate SDMMC environment
  2015-12-21 13:02 [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment Chin Liang See
                   ` (2 preceding siblings ...)
  2015-12-21 13:02 ` [U-Boot] [PATCH 4/7] arm: socfpga: de0_nano_soc: " Chin Liang See
@ 2015-12-21 13:02 ` Chin Liang See
  2015-12-21 13:02 ` [U-Boot] [PATCH 6/7] arm: socfpga: sockit: " Chin Liang See
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Chin Liang See @ 2015-12-21 13:02 UTC (permalink / raw)
  To: u-boot

Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
---
 include/configs/socfpga_mcvevk.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/configs/socfpga_mcvevk.h b/include/configs/socfpga_mcvevk.h
index cd63faf..e7b5675 100644
--- a/include/configs/socfpga_mcvevk.h
+++ b/include/configs/socfpga_mcvevk.h
@@ -45,8 +45,6 @@
 /* Environment is in MMC */
 #define CONFIG_ENV_OVERWRITE
 #define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV		0	/* device 0 */
-#define CONFIG_ENV_OFFSET		512	/* just after the MBR */
 
 /* Extra Environment */
 #define CONFIG_EXTRA_ENV_SETTINGS					\
-- 
1.7.7.4

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

* [U-Boot] [PATCH 6/7] arm: socfpga: sockit: Consolidate SDMMC environment
  2015-12-21 13:02 [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment Chin Liang See
                   ` (3 preceding siblings ...)
  2015-12-21 13:02 ` [U-Boot] [PATCH 5/7] arm: socfpga: mcvevk: " Chin Liang See
@ 2015-12-21 13:02 ` Chin Liang See
  2015-12-21 13:02 ` [U-Boot] [PATCH 7/7] arm: socfpga: socrates: " Chin Liang See
  2015-12-21 14:26 ` [U-Boot] [PATCH 1/7] arm: socfpga: " Marek Vasut
  6 siblings, 0 replies; 8+ messages in thread
From: Chin Liang See @ 2015-12-21 13:02 UTC (permalink / raw)
  To: u-boot

Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
---
 include/configs/socfpga_sockit.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/configs/socfpga_sockit.h b/include/configs/socfpga_sockit.h
index 6cbe367..2356c74 100644
--- a/include/configs/socfpga_sockit.h
+++ b/include/configs/socfpga_sockit.h
@@ -48,8 +48,6 @@
 #endif
 
 #define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV		0	/* device 0 */
-#define CONFIG_ENV_OFFSET		512	/* just after the MBR */
 
 /* Extra Environment */
 #define CONFIG_EXTRA_ENV_SETTINGS \
-- 
1.7.7.4

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

* [U-Boot] [PATCH 7/7] arm: socfpga: socrates: Consolidate SDMMC environment
  2015-12-21 13:02 [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment Chin Liang See
                   ` (4 preceding siblings ...)
  2015-12-21 13:02 ` [U-Boot] [PATCH 6/7] arm: socfpga: sockit: " Chin Liang See
@ 2015-12-21 13:02 ` Chin Liang See
  2015-12-21 14:26 ` [U-Boot] [PATCH 1/7] arm: socfpga: " Marek Vasut
  6 siblings, 0 replies; 8+ messages in thread
From: Chin Liang See @ 2015-12-21 13:02 UTC (permalink / raw)
  To: u-boot

Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
---
 include/configs/socfpga_socrates.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/configs/socfpga_socrates.h b/include/configs/socfpga_socrates.h
index 1d88f4f..c32a40a 100644
--- a/include/configs/socfpga_socrates.h
+++ b/include/configs/socfpga_socrates.h
@@ -48,8 +48,6 @@
 #endif
 
 #define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_SYS_MMC_ENV_DEV		0	/* device 0 */
-#define CONFIG_ENV_OFFSET		512	/* just after the MBR */
 
 /* Extra Environment */
 #define CONFIG_EXTRA_ENV_SETTINGS \
-- 
1.7.7.4

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

* [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment
  2015-12-21 13:02 [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment Chin Liang See
                   ` (5 preceding siblings ...)
  2015-12-21 13:02 ` [U-Boot] [PATCH 7/7] arm: socfpga: socrates: " Chin Liang See
@ 2015-12-21 14:26 ` Marek Vasut
  6 siblings, 0 replies; 8+ messages in thread
From: Marek Vasut @ 2015-12-21 14:26 UTC (permalink / raw)
  To: u-boot

On Monday, December 21, 2015 at 02:02:45 PM, Chin Liang See wrote:
> Remove the duplication of SDMMC environment configuration
> from each boards' configuration header file into
> socfpga_common.h
> 
> Signed-off-by: Chin Liang See <clsee@altera.com>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> Cc: Dinh Nguyen <dinh.linux@gmail.com>
> Cc: Pavel Machek <pavel@denx.de>
> Cc: Marek Vasut <marex@denx.de>
> Cc: Stefan Roese <sr@denx.de>

Applied all 7 to u-boot-socfpga/02-next, thanks.

Best regards,
Marek Vasut

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

end of thread, other threads:[~2015-12-21 14:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-21 13:02 [U-Boot] [PATCH 1/7] arm: socfpga: Consolidate SDMMC environment Chin Liang See
2015-12-21 13:02 ` [U-Boot] [PATCH 2/7] arm: socfpga: cyclone5_socdk: " Chin Liang See
2015-12-21 13:02 ` [U-Boot] [PATCH 3/7] arm: socfpga: arria5_socdk: " Chin Liang See
2015-12-21 13:02 ` [U-Boot] [PATCH 4/7] arm: socfpga: de0_nano_soc: " Chin Liang See
2015-12-21 13:02 ` [U-Boot] [PATCH 5/7] arm: socfpga: mcvevk: " Chin Liang See
2015-12-21 13:02 ` [U-Boot] [PATCH 6/7] arm: socfpga: sockit: " Chin Liang See
2015-12-21 13:02 ` [U-Boot] [PATCH 7/7] arm: socfpga: socrates: " Chin Liang See
2015-12-21 14:26 ` [U-Boot] [PATCH 1/7] arm: socfpga: " Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.