board: freescale: drop CONFIG_DM_I2C undefs
authorIgor Opaniuk <igor.opaniuk@foundries.io>
Tue, 9 Feb 2021 11:52:44 +0000 (13:52 +0200)
committerHeiko Schocher <hs@denx.de>
Sun, 21 Feb 2021 05:07:45 +0000 (06:07 +0100)
commita907dce88e462251d96be9cdd72900543e4798df
treee23fb9104b086c9dfc4c9fe8dd2cb03908576959
parentd1f3abe1e71f8e160ca09272ff0463b1b927635d
board: freescale: drop CONFIG_DM_I2C undefs

Drop CONFIG_DM_I2C undefs from board header files, and make them
disabled on these boards in defconfigs instead.

Disabling on Kconfig symbol was done automatically with this script:

cd configs
files=(*ls1046a*)
files2=(*T104*RDB*)
files3=(ls1021atwr_*)
files4=("imx8mp_evk_defconfig phycore-imx8mp_defconfig")
combine=("${files[@]}" "${files2[@]}" "${files3[@]}" "${files4[@]}")
cd ..

for item in ${combine[*]}
do
   echo "Adjusting  $item"
   echo "# CONFIG_SPL_DM_I2C is not set" >> configs/$item
   make $item && make savedefconfig && cp defconfig configs/$item
done

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Reviewed-by: Tom Rini <trini@konsulko.com>
configs/imx8mp_evk_defconfig
configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig
configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig
configs/phycore-imx8mp_defconfig
include/configs/T104xRDB.h
include/configs/imx8mp_evk.h
include/configs/ls1021atwr.h
include/configs/ls1046a_common.h
include/configs/phycore_imx8mp.h