summaryrefslogtreecommitdiff
path: root/include/configs/cgtqmx8.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-12-11 22:55:52 +0300
committerTom Rini <trini@konsulko.com>2021-12-27 16:41:38 +0300
commitde35b8f9c5f36023055a424dcbf49b8cc301f901 (patch)
treedd87c27bacde2843ebd143ca6c991df26f61a02b /include/configs/cgtqmx8.h
parentf76750d1113380462413bad94d7a400af1aa4909 (diff)
downloadu-boot-de35b8f9c5f36023055a424dcbf49b8cc301f901.tar.xz
Remove CONFIG_SYS_MMC_IMG_LOAD_PART from CONFIG namespace
This option is used as part of configuring the default environment for a number of platforms. However, it is always set to 1 and the only time it is part of Kconfig, it is used in a hard-coded manner. Hard-code the value in the environment instead. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/cgtqmx8.h')
-rw-r--r--include/configs/cgtqmx8.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/configs/cgtqmx8.h b/include/configs/cgtqmx8.h
index 36ca471520..d5549f62ce 100644
--- a/include/configs/cgtqmx8.h
+++ b/include/configs/cgtqmx8.h
@@ -79,7 +79,7 @@
"boot_fdt=try\0" \
"fdt_file=imx8qm-cgt-qmx8.dtb\0" \
"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
- "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
+ "mmcpart=1\0" \
"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
"mmcautodetect=yes\0" \
"mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} earlycon\0 " \
@@ -124,8 +124,6 @@
#define CONFIG_SYS_INIT_SP_ADDR 0x80200000
-#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
-
#define CONFIG_MMCROOT "/dev/mmcblk1p2" /* USDHC2 */
#define CONFIG_SYS_FSL_USDHC_NUM 3