diff options
author | Peng Fan | 2022-04-15 12:23:41 +0800 |
---|---|---|
committer | Stefano Babic | 2022-04-21 15:18:17 +0200 |
commit | adfaa4284c0941161baa191b35e3a866c6d5ef4d (patch) | |
tree | b7dec29ae6e564442e88838c93c5a269681f2fe9 /include/configs/phycore_imx8mp.h | |
parent | c82622acdf9495e6e2e843df8fbb05456e0158b8 (diff) |
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/phycore_imx8mp.h')
-rw-r--r-- | include/configs/phycore_imx8mp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/phycore_imx8mp.h b/include/configs/phycore_imx8mp.h index db530965a2a..0c963b62b3b 100644 --- a/include/configs/phycore_imx8mp.h +++ b/include/configs/phycore_imx8mp.h @@ -77,7 +77,6 @@ #define CONFIG_SYS_INIT_SP_ADDR \ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) -#define CONFIG_MMCROOT "/dev/mmcblk2p2" /* USDHC3 */ #define CONFIG_SYS_SDRAM_BASE 0x40000000 |