arm: socfpga: Consolidate SDMMC environment
PATCH 1/7 arm: socfpga: Consolidate SDMMC environment
Remove the duplication of SDMMC environment configuration from each boards' configuration header file into socfpga_common.h
--- include/configs/socfpga_common.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
include/configs/socfpga_common.h +6 -0
@@ -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 *
Signature · 1 line
1.7.7.4
PATCH 2/7 arm: socfpga: cyclone5_socdk: Consolidate SDMMC environment
Remove the duplication of SDMMC environment configuration from each boards' configuration header file into socfpga_common.h
--- include/configs/socfpga_cyclone5_socdk.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
include/configs/socfpga_cyclone5_socdk.h +0 -2
@@ -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 \
Signature · 1 line
1.7.7.4
PATCH 3/7 arm: socfpga: arria5_socdk: Consolidate SDMMC environment
In reply to Chin Liang SeeRemove the duplication of SDMMC environment configuration from each boards' configuration header file into socfpga_common.h
--- include/configs/socfpga_arria5_socdk.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
include/configs/socfpga_arria5_socdk.h +0 -2
@@ -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 \
Signature · 1 line
1.7.7.4
PATCH 4/7 arm: socfpga: de0_nano_soc: Consolidate SDMMC environment
In reply to Chin Liang SeeRemove the duplication of SDMMC environment configuration from each boards' configuration header file into socfpga_common.h
--- include/configs/socfpga_de0_nano_soc.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
include/configs/socfpga_de0_nano_soc.h +0 -2
@@ -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 \
Signature · 1 line
1.7.7.4
PATCH 5/7 arm: socfpga: mcvevk: Consolidate SDMMC environment
In reply to Chin Liang SeeRemove the duplication of SDMMC environment configuration from each boards' configuration header file into socfpga_common.h
--- include/configs/socfpga_mcvevk.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
include/configs/socfpga_mcvevk.h +0 -2
@@ -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 \
Signature · 1 line
1.7.7.4
PATCH 6/7 arm: socfpga: sockit: Consolidate SDMMC environment
In reply to Chin Liang SeeRemove the duplication of SDMMC environment configuration from each boards' configuration header file into socfpga_common.h
--- include/configs/socfpga_sockit.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
include/configs/socfpga_sockit.h +0 -2
@@ -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 \
Signature · 1 line
1.7.7.4
PATCH 7/7 arm: socfpga: socrates: Consolidate SDMMC environment
In reply to Chin Liang SeeRemove the duplication of SDMMC environment configuration from each boards' configuration header file into socfpga_common.h
--- include/configs/socfpga_socrates.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
include/configs/socfpga_socrates.h +0 -2
@@ -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 \
Signature · 1 line
1.7.7.4
PATCH 1/7 arm: socfpga: Consolidate SDMMC environment
In reply to Chin Liang SeeQuoted 10 lines · Chin Liang See
Remove the duplication of SDMMC environment configuration from each boards' configuration header file into
socfpga_common.hSigned-off-by Chin Liang See <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Pavel Machek <[email protected]>Cc Marek Vasut <[email protected]>Cc Stefan Roese <[email protected]>
Applied all 7 to u-boot-socfpga/02-next, thanks.
Best regards,
Marek Vasut