diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-04-15 12:23:41 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-21 15:18:17 +0200 |
commit | adfaa4284c0941161baa191b35e3a866c6d5ef4d (patch) | |
tree | b7dec29ae6e564442e88838c93c5a269681f2fe9 /include/configs/aristainetos2.h | |
parent | c82622acdf9495e6e2e843df8fbb05456e0158b8 (diff) | |
download | u-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/aristainetos2.h')
-rw-r--r-- | include/configs/aristainetos2.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/aristainetos2.h b/include/configs/aristainetos2.h index 611b6d7..0dcd4ca 100644 --- a/include/configs/aristainetos2.h +++ b/include/configs/aristainetos2.h @@ -26,7 +26,6 @@ #include "mx6_common.h" -#define CONFIG_MMCROOT "/dev/mmcblk0p1" /* MMC Configs */ #define CONFIG_SYS_FSL_ESDHC_ADDR USDHC1_BASE_ADDR @@ -183,7 +182,7 @@ "${pubkey}\0" \ "mainRargs=setenv bootargs console=${console},${baudrate} " \ "rescue_sysnum=${rescue_sysnum} root=${emmcroot} rootfstype=ext4\0" \ - "mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \ + "mmcroot=/dev/mmcblk0p1 rootwait rw\0" \ "mmcargs=setenv bootargs console=${console},${baudrate} " \ "root=${mmcroot}\0" \ "mmcRargs=setenv bootargs console=${console},${baudrate} " \ |