diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-01-14 08:59:24 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-01-28 06:45:18 +0100 |
commit | e4f8d96423fed68d7a8c88a61ab9d15c34696737 (patch) | |
tree | cf69d14b74b18693c6af99c6009d4fa0f00b7a83 /include | |
parent | 73448b1f800fa31971f12090c27ff89952301c8b (diff) | |
download | u-boot-imx-e4f8d96423fed68d7a8c88a61ab9d15c34696737.zip u-boot-imx-e4f8d96423fed68d7a8c88a61ab9d15c34696737.tar.gz u-boot-imx-e4f8d96423fed68d7a8c88a61ab9d15c34696737.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6qsabre_common.h | 2 | ||||
-rw-r--r-- | include/configs/mx6qsabreauto.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h index cda4512..d76357c 100644 --- a/include/configs/mx6qsabre_common.h +++ b/include/configs/mx6qsabre_common.h @@ -91,7 +91,7 @@ "fdt_high=0xffffffff\0" \ "initrd_high=0xffffffff\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" \ "mmcargs=setenv bootargs console=${console},${baudrate} " \ "root=${mmcroot}\0" \ diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h index f2ff3e1..1583c11 100644 --- a/include/configs/mx6qsabreauto.h +++ b/include/configs/mx6qsabreauto.h @@ -35,6 +35,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 */ |