]> git.dujemihanovic.xyz Git - u-boot.git/commit
configs: drop CONFIG_MMCROOT
authorPeng Fan <peng.fan@nxp.com>
Fri, 15 Apr 2022 04:23:41 +0000 (12:23 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Apr 2022 13:18:17 +0000 (15:18 +0200)
commitadfaa4284c0941161baa191b35e3a866c6d5ef4d
treeb7dec29ae6e564442e88838c93c5a269681f2fe9
parentc82622acdf9495e6e2e843df8fbb05456e0158b8
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>
27 files changed:
include/configs/aristainetos2.h
include/configs/capricorn-common.h
include/configs/cgtqmx8.h
include/configs/cl-som-imx7.h
include/configs/imx7-cm.h
include/configs/imx8mm-cl-iot-gate.h
include/configs/imx8mm_evk.h
include/configs/imx8mn_evk.h
include/configs/imx8mp_evk.h
include/configs/imx8mp_rsb3720.h
include/configs/imx8mq_cm.h
include/configs/imx8mq_evk.h
include/configs/imx8mq_phanbell.h
include/configs/imx8qm_mek.h
include/configs/imx8qm_rom7720.h
include/configs/imx8qxp_mek.h
include/configs/imx8ulp_evk.h
include/configs/liteboard.h
include/configs/mx6sllevk.h
include/configs/mx6ul_14x14_evk.h
include/configs/mx6ullevk.h
include/configs/mx7ulp_com.h
include/configs/mx7ulp_evk.h
include/configs/phycore_imx8mm.h
include/configs/phycore_imx8mp.h
include/configs/pico-imx8mq.h
include/configs/xpress.h