mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
mx6qsabre_common: Let mmc partition be board specific
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. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
73448b1f80
commit
e4f8d96423
@ -91,7 +91,7 @@
|
|||||||
"fdt_high=0xffffffff\0" \
|
"fdt_high=0xffffffff\0" \
|
||||||
"initrd_high=0xffffffff\0" \
|
"initrd_high=0xffffffff\0" \
|
||||||
"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
|
"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
|
||||||
"mmcpart=1\0" \
|
"mmcpart=" __stringify(CONFIG_SYS_MMC_ENV_PART) "\0" \
|
||||||
"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
|
"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
|
||||||
"mmcargs=setenv bootargs console=${console},${baudrate} " \
|
"mmcargs=setenv bootargs console=${console},${baudrate} " \
|
||||||
"root=${mmcroot}\0" \
|
"root=${mmcroot}\0" \
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
#define CONFIG_SYS_FSL_USDHC_NUM 2
|
#define CONFIG_SYS_FSL_USDHC_NUM 2
|
||||||
#if defined(CONFIG_ENV_IS_IN_MMC)
|
#if defined(CONFIG_ENV_IS_IN_MMC)
|
||||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||||
|
#define CONFIG_SYS_MMC_ENV_PART 1 /* Boot partition 1 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __MX6QSABREAUTO_CONFIG_H */
|
#endif /* __MX6QSABREAUTO_CONFIG_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user