aboutsummaryrefslogtreecommitdiff
path: root/include/configs/imx8qm_rom7720.h
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2022-04-15 12:23:41 +0800
committerStefano Babic <sbabic@denx.de>2022-04-21 15:18:17 +0200
commitadfaa4284c0941161baa191b35e3a866c6d5ef4d (patch)
treeb7dec29ae6e564442e88838c93c5a269681f2fe9 /include/configs/imx8qm_rom7720.h
parentc82622acdf9495e6e2e843df8fbb05456e0158b8 (diff)
downloadu-boot-adfaa4284c0941161baa191b35e3a866c6d5ef4d.zip
u-boot-adfaa4284c0941161baa191b35e3a866c6d5ef4d.tar.gz
u-boot-adfaa4284c0941161baa191b35e3a866c6d5ef4d.tar.bz2
configs: drop CONFIG_MMCROOT
CONFIG_MMCROOT is only used to set mmcroot, no need a dedicated macro. Script as below " for i in `ls include/configs/*.h` do mmcroot=`sed -n '/define.*MMCROOT/ p' $i | awk -F\" '{ print $2;}'` if [ ! -n "$mmcroot" ]; then continue fi sed -i '/define.*MMCROOT/ d' $i sed -i 's,\" CONFIG_MMCROOT \",'$mmcroot',g' $i done " Reviewed-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/configs/imx8qm_rom7720.h')
-rw-r--r--include/configs/imx8qm_rom7720.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/imx8qm_rom7720.h b/include/configs/imx8qm_rom7720.h
index 7532c6e..04a2216 100644
--- a/include/configs/imx8qm_rom7720.h
+++ b/include/configs/imx8qm_rom7720.h
@@ -66,7 +66,7 @@
"initrd_addr=0x83800000\0" \
"mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \
"mmcpart=1\0" \
- "mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
+ "mmcroot=/dev/mmcblk2p2 rootwait rw\0" \
"mmcautodetect=yes\0" \
"mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} earlycon\0 " \
"loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
@@ -114,7 +114,6 @@
* USDHC3 is for SD on base board On DDR4 board, USDHC1 is mux for NAND,
* USDHC2 is for SD, USDHC3 is for SD on base board
*/
-#define CONFIG_MMCROOT "/dev/mmcblk2p2" /* USDHC3 */
#define CONFIG_SYS_FSL_USDHC_NUM 3
#define CONFIG_SYS_SDRAM_BASE 0x80000000