[PATCH v3 2/3] board: freescale: drop CONFIG_DM_I2C undefs

Heiko Schocher hs at denx.de
Sun Feb 21 08:02:50 CET 2021


Hello Igor,

On 09.02.21 12:52, Igor Opaniuk wrote:
> From: Igor Opaniuk <igor.opaniuk at foundries.io>
> 
> 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 at foundries.io>
> ---
> 
> Changes in v3:
> - Drop CONFIG_DM_I2C undefs from board header files (instead of
> replacing them with another undef for CONFIG_SPL_DM_I2C), and make them
> disabled on these boards in defconfigs.
> 
>  configs/imx8mp_evk_defconfig                        | 1 +
>  configs/ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 1 +
>  configs/ls1046ardb_sdcard_SECURE_BOOT_defconfig     | 1 +
>  configs/phycore-imx8mp_defconfig                    | 1 +
>  include/configs/T104xRDB.h                          | 1 -
>  include/configs/imx8mp_evk.h                        | 1 -
>  include/configs/ls1021atwr.h                        | 1 -
>  include/configs/ls1046a_common.h                    | 1 -
>  include/configs/phycore_imx8mp.h                    | 1 -
>  9 files changed, 4 insertions(+), 5 deletions(-)


Applied to u-boot-i2c.git master

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list