mx6qsabre_common: Let mmc partition be board specific
PATCH 1/1 mx6qsabre_common: Let mmc partition be board specific
From: Fabio Estevam <[email protected]>
commit 49ea0ff5 (49ea0ff5) introduced CONFIG_SYS_MMC_ENV_PART into mx6qsabresd.h to store the mmc partition, but in order for it to have effect we should place it into 'mmcpart' variable.
Also add CONFIG_SYS_MMC_ENV_PART into mx6qsabreauto.h.
--- include/configs/mx6qsabre_common.h | 1 + include/configs/mx6qsabreauto.h | 1 + 2 files changed, 2 insertions(+)
include/configs/mx6qsabre_common.h +1 -0
@@ -91,6 +91,7 @@"fdt_high=0xffffffff\0" \"initrd_high=0xffffffff\0" \ "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \ + "mmcpart=" __stringify(CONFIG_SYS_MMC_ENV_PART) "\0" \"mmcpart=1\0" \"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \"mmcargs=setenv bootargs console=${console},${baudrate} " \
include/configs/mx6qsabreauto.h +1 -0
@@ -24,6 +24,7 @@#define CONFIG_SYS_FSL_USDHC_NUM 2#if defined(CONFIG_ENV_IS_IN_MMC )#define CONFIG_SYS_MMC_ENV_DEV 0 +#define CONFIG_SYS_MMC_ENV_PART 1/* Boot partition 1 */ #endif #endif /* __MX6QSABREAUTO_CONFIG_H */
Signature · 1 line
1.7.9.5
PATCH 1/1 mx6qsabre_common: Let mmc partition be board specific
Quoted 19 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
commit
49ea0ff5(49ea0ff5) introducedCONFIG_SYS_MMC_ENV_PARTintomx6qsabresd.hto store the mmc partition, but in order for it to have effect we should place it into 'mmcpart' variable.Also add
CONFIG_SYS_MMC_ENV_PARTintomx6qsabreauto.h.Signed-off-by Fabio Estevam <[email protected]>--- include/configs/mx6qsabre_common.h | 1 + include/configs/mx6qsabreauto.h | 1 + 2 files changed, 2 insertions(+)include/configs/mx6qsabre_common.h +0
-0
include/configs/mx6qsabre_common.h line 95
Quoted 5 lines
include/configs/mx6qsabre_common.h +1
-0@@ -91,6 +91,7 @@"fdt_high=0xffffffff\0" \"initrd_high=0xffffffff\0" \ "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \ + "mmcpart=" __stringify(CONFIG_SYS_MMC_ENV_PART) "\0" \"mmcpart=1\0" \
Duplicated. The below definition should be dropped.
Quoted 17 lines
include/configs/mx6qsabre_common.h +0
-0"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \"mmcargs=setenv bootargs console=${console},${baudrate} " \include/configs/mx6qsabreauto.h +1
-1@@ -24,6 +24,7 @@#define CONFIG_SYS_FSL_USDHC_NUM 2#if defined(CONFIG_ENV_IS_IN_MMC )#define CONFIG_SYS_MMC_ENV_DEV 0 +#define CONFIG_SYS_MMC_ENV_PART 1/* Boot partition 1 */ #endif #endif /* __MX6QSABREAUTO_CONFIG_H */ --1.7.9.5
Quoted 4 lines
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br