]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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)
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

index e70c4306169fe81c416bb28b43e74b1ca64d2271..47a52eedb9909bf6506ede1f9254d1aec40565f2 100644 (file)
@@ -69,6 +69,7 @@ CONFIG_CLK_IMX8MP=y
 CONFIG_MXC_GPIO=y
 CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
+# CONFIG_SPL_DM_I2C is not set
 CONFIG_SYS_I2C_MXC=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
index 4f11196c010dcecf68050d719b4bf659ca3badd6..d72172981984558aa8a3d8165b77d50cfebad52d 100644 (file)
@@ -52,6 +52,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM=y
 CONFIG_SPL_DM=y
 CONFIG_DM_I2C=y
+# CONFIG_SPL_DM_I2C is not set
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
index 5e7dd4622962b43cd166bfc879401adf42b5f0b5..54f489df553d63188e41d5bb94541727b2b2b799 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM=y
 CONFIG_SPL_DM=y
 CONFIG_DM_I2C=y
+# CONFIG_SPL_DM_I2C is not set
 CONFIG_FSL_ESDHC=y
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
index 3d662e8b48f3c7c9c0ba99e86135cbcbb9a35a8e..d09841a7f60abcbd36361b9c08a5d09fffb36789 100644 (file)
@@ -63,6 +63,7 @@ CONFIG_CLK_COMPOSITE_CCF=y
 CONFIG_CLK_IMX8MP=y
 CONFIG_MXC_GPIO=y
 CONFIG_DM_I2C=y
+# CONFIG_SPL_DM_I2C is not set
 CONFIG_SYS_I2C_MXC=y
 CONFIG_MISC=y
 CONFIG_I2C_EEPROM=y
index aee00a86cfed4b5667dccc785e8a8523506e77b1..cf0f9823758a024fa205604be6e8b683dbdbb606 100644 (file)
@@ -30,7 +30,6 @@
 #define CONFIG_SPL_SKIP_RELOCATE
 #define CONFIG_SPL_COMMON_INIT_DDR
 #define CONFIG_SYS_CCSR_DO_NOT_RELOCATE
-#undef CONFIG_DM_I2C
 #endif
 #define RESET_VECTOR_OFFSET            0x27FFC
 #define BOOT_PAGE_OFFSET               0x27000
index 4850b1b934c31c1268d98dd4e8790749be4979ec..61a5c6fb79c22efad78ad85eca1efbbb8576e6d7 100644 (file)
@@ -37,7 +37,6 @@
 #define CONFIG_POWER_I2C
 #define CONFIG_POWER_PCA9450
 
-#undef CONFIG_DM_I2C
 #define CONFIG_SYS_I2C
 
 #endif
index dfb56437d97ac257cc991d4d2a22184dc1e5044f..068e744a614c7a290ed6111fb966aa2e1fe785a6 100644 (file)
 
 #ifdef CONFIG_SPL_BUILD
 #define CONFIG_SYS_MONITOR_BASE CONFIG_SPL_TEXT_BASE
-#undef CONFIG_DM_I2C
 #else
 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE    /* start of monitor */
 #endif
index 32658cf641f0a9617a3b8ccae75bfcfa84d3bacd..0c32fceec270b2fd055dbb711a031d2df3c19f22 100644 (file)
@@ -16,7 +16,6 @@
 #define SPL_NO_QSPI
 #define SPL_NO_USB
 #define SPL_NO_SATA
-#undef CONFIG_DM_I2C
 #endif
 #if defined(CONFIG_SPL_BUILD) && \
        (defined(CONFIG_NAND_BOOT) || defined(CONFIG_QSPI_BOOT))
index 889dd36e6e57b3f15f81a3b0e52317bdfaa43e55..04900498507a1d8c545774d0236f069fd876f56b 100644 (file)
@@ -33,7 +33,6 @@
 #define CONFIG_POWER_I2C
 #define CONFIG_POWER_PCA9450
 
-#undef CONFIG_DM_I2C
 #define CONFIG_SYS_I2C
 
 #endif