]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_SYS_I2C_SPEED et al to Kconfig
authorTom Rini <trini@konsulko.com>
Thu, 19 Aug 2021 03:12:32 +0000 (23:12 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 30 Aug 2021 18:10:07 +0000 (14:10 -0400)
This converts the following to Kconfig:
   CONFIG_SYS_I2C_SPEED
   CONFIG_SYS_I2C_SLAVE

Signed-off-by: Tom Rini <trini@konsulko.com>
171 files changed:
arch/arm/mach-kirkwood/include/mach/config.h
arch/arm/mach-mvebu/include/mach/config.h
board/compulab/imx8mm-cl-iot-gate/spl.c
cmd/eeprom.c
configs/A10-OLinuXino-Lime_defconfig
configs/A10s-OLinuXino-M_defconfig
configs/A13-OLinuXinoM_defconfig
configs/A13-OLinuXino_defconfig
configs/A20-OLinuXino-Lime2-eMMC_defconfig
configs/A20-OLinuXino-Lime2_defconfig
configs/A20-OLinuXino-Lime_defconfig
configs/A20-OLinuXino_MICRO-eMMC_defconfig
configs/A20-OLinuXino_MICRO_defconfig
configs/A20-Olimex-SOM-EVB_defconfig
configs/A20-Olimex-SOM204-EVB-eMMC_defconfig
configs/A20-Olimex-SOM204-EVB_defconfig
configs/Ainol_AW1_defconfig
configs/Ampe_A76_defconfig
configs/Auxtek-T003_defconfig
configs/Auxtek-T004_defconfig
configs/Bananapi_M2_Ultra_defconfig
configs/Bananapi_defconfig
configs/Bananapro_defconfig
configs/CHIP_defconfig
configs/CHIP_pro_defconfig
configs/Chuwi_V7_CW0825_defconfig
configs/Colombus_defconfig
configs/Cubieboard2_defconfig
configs/Cubieboard_defconfig
configs/Cubietruck_defconfig
configs/Cubietruck_plus_defconfig
configs/Empire_electronix_d709_defconfig
configs/Empire_electronix_m712_defconfig
configs/Hyundai_A7HD_defconfig
configs/Itead_Ibox_A20_defconfig
configs/Lamobo_R1_defconfig
configs/Linksprite_pcDuino3_Nano_defconfig
configs/Linksprite_pcDuino3_defconfig
configs/Linksprite_pcDuino_defconfig
configs/MK808C_defconfig
configs/MSI_Primo73_defconfig
configs/Marsboard_A10_defconfig
configs/Mele_A1000_defconfig
configs/Mele_M3_defconfig
configs/Mele_M5_defconfig
configs/Mini-X_defconfig
configs/Orangepi_defconfig
configs/Orangepi_mini_defconfig
configs/UTOO_P66_defconfig
configs/Wexler_TAB7200_defconfig
configs/Wits_Pro_A20_DKT_defconfig
configs/Wobo_i5_defconfig
configs/Yones_Toptech_BD1078_defconfig
configs/am335x_shc_defconfig
configs/am335x_shc_ict_defconfig
configs/am335x_shc_netboot_defconfig
configs/am335x_shc_sdboot_defconfig
configs/ba10_tv_box_defconfig
configs/bananapi_m1_plus_defconfig
configs/bananapi_m2_berry_defconfig
configs/d2net_v2_defconfig
configs/db-88f6720_defconfig
configs/db-88f6820-gp_defconfig
configs/db-mv784mp-gp_defconfig
configs/difrnce_dit4350_defconfig
configs/ds414_defconfig
configs/dserve_dsrv9703c_defconfig
configs/edminiv2_defconfig
configs/i12-tvbox_defconfig
configs/iNet_3F_defconfig
configs/iNet_3W_defconfig
configs/iNet_86VS_defconfig
configs/icnova-a20-swac_defconfig
configs/inet1_defconfig
configs/inet97fv2_defconfig
configs/inet98v_rev2_defconfig
configs/inet9f_rev03_defconfig
configs/inetspace_v2_defconfig
configs/jesurun_q5_defconfig
configs/km_kirkwood_128m16_defconfig
configs/km_kirkwood_defconfig
configs/km_kirkwood_pci_defconfig
configs/kmcoge5un_defconfig
configs/kmnusa_defconfig
configs/kmsuse2_defconfig
configs/maxbcm_defconfig
configs/mk802_a10s_defconfig
configs/mk802_defconfig
configs/mk802ii_defconfig
configs/net2big_v2_defconfig
configs/netspace_lite_v2_defconfig
configs/netspace_max_v2_defconfig
configs/netspace_mini_v2_defconfig
configs/netspace_v2_defconfig
configs/orangepi_zero2_defconfig
configs/pinecube_defconfig
configs/pov_protab2_ips9_defconfig
configs/pxm2_defconfig
configs/q8_a13_tablet_defconfig
configs/r7-tv-dongle_defconfig
configs/sunxi_Gemei_G9_defconfig
configs/theadorable_debug_defconfig
configs/work_92105_defconfig
drivers/i2c/Kconfig
drivers/i2c/mv_i2c.c
include/configs/am335x_shc.h
include/configs/apalis_imx6.h
include/configs/capricorn-common.h
include/configs/cl-som-imx7.h
include/configs/cm_fx6.h
include/configs/colibri-imx6ull.h
include/configs/colibri_imx6.h
include/configs/colibri_imx7.h
include/configs/colibri_pxa270.h
include/configs/dart_6ul.h
include/configs/db-88f6720.h
include/configs/db-88f6820-gp.h
include/configs/db-mv784mp-gp.h
include/configs/devkit3250.h
include/configs/draco.h
include/configs/ds414.h
include/configs/edminiv2.h
include/configs/el6x_common.h
include/configs/embestmx6boards.h
include/configs/etamin.h
include/configs/gw_ventana.h
include/configs/imx8mm-cl-iot-gate.h
include/configs/imx8mm_beacon.h
include/configs/imx8mm_evk.h
include/configs/imx8mm_icore_mx8mm.h
include/configs/imx8mm_venice.h
include/configs/imx8mn_evk.h
include/configs/imx8mp_evk.h
include/configs/imx8mq_evk.h
include/configs/imx8mq_phanbell.h
include/configs/km/pg-wcom-ls102xa.h
include/configs/maxbcm.h
include/configs/mvebu_armada-37xx.h
include/configs/mx6sabreauto.h
include/configs/mx6sabresd.h
include/configs/mx6slevk.h
include/configs/mx6sllevk.h
include/configs/mx6sxsabreauto.h
include/configs/mx6sxsabresd.h
include/configs/mx6ul_14x14_evk.h
include/configs/mx6ullevk.h
include/configs/mx7dsabresd.h
include/configs/nitrogen6x.h
include/configs/novena.h
include/configs/pcl063_ull.h
include/configs/phycore_imx8mm.h
include/configs/phycore_imx8mp.h
include/configs/pico-imx6ul.h
include/configs/pico-imx7d.h
include/configs/pico-imx8mq.h
include/configs/pxm2.h
include/configs/rastaban.h
include/configs/rut.h
include/configs/sunxi-common.h
include/configs/theadorable.h
include/configs/thuban.h
include/configs/tqma6.h
include/configs/turris_mox.h
include/configs/udoo_neo.h
include/configs/verdin-imx8mm.h
include/configs/vining_2000.h
include/configs/warp.h
include/configs/warp7.h
include/configs/work_92105.h
include/configs/xpress.h
include/i2c.h

index f7522d959f493e395821e6a03f96dfc4f5a17cc5..9002e26d75f240b2fc6a6d307689f28995c9758e 100644 (file)
 #define CONFIG_SYS_ATA_BASE_ADDR       MV_SATA_BASE
 #endif /* CONFIG_IDE */
 
-/*
- * I2C related stuff
- */
-#if defined(CONFIG_CMD_I2C) && !CONFIG_IS_ENABLED(DM_I2C)
-#define CONFIG_SYS_I2C_SLAVE           0x0
-#define CONFIG_SYS_I2C_SPEED           100000
-#endif
-
 /* Use common timer */
 #define CONFIG_SYS_TIMER_COUNTS_DOWN
 #define CONFIG_SYS_TIMER_COUNTER       (MVEBU_TIMER_BASE + 0x14)
index 02a5b880152e304a3ab584bb24dfee00ca87c2f7..80d0a85ec1c02e36006ef3c50066d225f0ef8bbf 100644 (file)
@@ -63,8 +63,6 @@
 #ifndef CONFIG_SYS_I2C_SOFT
 #define CONFIG_I2C_MVTWSI
 #endif
-#define CONFIG_SYS_I2C_SLAVE           0x0
-#define CONFIG_SYS_I2C_SPEED           100000
 #endif
 
 /* Use common timer */
index 8f592457d4c41b4d2707a1b97f5f2c361d16be22..2dc62d6682e041e1f96fbceeaf6262d808fbf5c6 100644 (file)
@@ -176,7 +176,7 @@ void board_init_f(ulong dummy)
 
        enable_tzc380();
 
-       setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1);
+       setup_i2c(1, 100000, 0x7f, &i2c_pad_info1);
 
        power_init_board();
 
index ea389c392ce917993c584656f3bfde918f4fa819..cdd65af763b04f13d08386d52c9490f67f209aca 100644 (file)
 #include <eeprom_layout.h>
 #include <linux/delay.h>
 
-#ifndef        CONFIG_SYS_I2C_SPEED
-#define        CONFIG_SYS_I2C_SPEED    50000
-#endif
-
 #ifndef        I2C_RXTX_LEN
 #define I2C_RXTX_LEN   128
 #endif
index 94824bacf45ab5c8230b660f016e339ab87dc6b9..90f12308bab919004c39b174dbd6525edb014bc5 100644 (file)
@@ -14,6 +14,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_AXP_ALDO3_VOLT=2800
index 0cf53c08c2c56ddd135ef865f98430da7a6002b9..99f5785751781bed19eb130cf96753449f26fe98 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_USB1_VBUS_PIN="PB10"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_AXP152_POWER=y
index 499f444d3e7420eedd4548ce178e9dbaa8a52f3e..f9d17b19500f14ec1e346e893f65f8c2b3e964dd 100644 (file)
@@ -14,6 +14,8 @@ CONFIG_VIDEO_LCD_POWER="PB10"
 CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_SUNXI_NO_PMIC=y
 CONFIG_CONS_INDEX=2
 CONFIG_USB_EHCI_HCD=y
index a15637f81cb8ea7343d2f88a311e0e0dd2094732..8c9043559bdb23ab1ecb8714f0859a779e69e0f0 100644 (file)
@@ -21,6 +21,8 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_DFU_RAM=y
 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_AXP_ALDO3_VOLT=3300
 CONFIG_CONS_INDEX=2
 CONFIG_USB_EHCI_HCD=y
index 49561046eafa2d2ffbb9dd2b330767fbcad0f8ca..918fc64e0e067d01fe5aa096d0987011db6c81ac 100644 (file)
@@ -20,6 +20,8 @@ CONFIG_SCSI_AHCI=y
 CONFIG_DFU_RAM=y
 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_PHY_REALTEK=y
index 11171d35e83b58079504dc026a311526258eafbe..903e3fdbcc875c0936ebeea7ccc73f28cec81598 100644 (file)
@@ -18,6 +18,8 @@ CONFIG_SCSI_AHCI=y
 CONFIG_DFU_RAM=y
 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_RTL8211X_PHY_FORCE_MASTER=y
 CONFIG_ETH_DESIGNWARE=y
index 5f51d624d34e1f075305d2e73fd4354b3a6a7965..c06050610de8a1eb74b624bacad9f35437a19465 100644 (file)
@@ -12,6 +12,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index 500dd4cf5b6c92ad127803f7fa281167144bce37..cf3fc682e447bc79b6a9503f8cff8cc09b4af7ff 100644 (file)
@@ -14,6 +14,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index 902df33422fd760940f780103716186eab2299b1..81c27432cdca18801ee8ed60824ff06b27478a00 100644 (file)
@@ -15,6 +15,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index 4bb98154bca75e6adfe2e92a8cc040ab224ce647..ececdaca150fe247d571ddaff8777dd7133c9bf3 100644 (file)
@@ -16,6 +16,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_RTL8211X_PHY_FORCE_MASTER=y
 CONFIG_ETH_DESIGNWARE=y
index 3d129f8ea2f6c87100effbe0d573b6e5ee7b51a7..829e7bbcd33ba0c43a7d5faa3ae69fd4da812f03 100644 (file)
@@ -17,6 +17,8 @@ CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_ADDR=3
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
index af3eb5b93a603a55c0fdfd5b1a2c5bfa32e717c8..5b96ddc68ba47d458b239c58e9e42c7b407dd3c7 100644 (file)
@@ -16,6 +16,8 @@ CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_ADDR=3
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
index ea4063130dbbbabee9dda21e4abcc15c9510c691..9a18af8c6e1129eae2c29bedbabe69c3b431b766 100644 (file)
@@ -16,4 +16,6 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
index 7cf572d0af484bc6e597457c0558ecd20bd81b00..7bf3dfcd8a5ef9f1f14fe5f63aae312c205f812a 100644 (file)
@@ -17,5 +17,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_CONS_INDEX=2
 CONFIG_USB_MUSB_HOST=y
index 8edb55e4fd4e353efbc641372399c3a1e557ddff..7d81f12f766df64a1b308dcaa995dcde80b47c2f 100644 (file)
@@ -10,6 +10,8 @@ CONFIG_VIDEO_COMPOSITE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_AXP152_POWER=y
 CONFIG_CONS_INDEX=2
 CONFIG_USB_EHCI_HCD=y
index 9c4922e1c4b49895822e069f742c24d8fb0b6119..4c7154b04c499e584507b505326078a3bdf64407 100644 (file)
@@ -8,6 +8,8 @@ CONFIG_USB1_VBUS_PIN="PG13"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_AXP152_POWER=y
 CONFIG_CONS_INDEX=2
 CONFIG_USB_EHCI_HCD=y
index 8896d2a3130c212b4b6f7429ba6470a0002487a8..a24c6003010f68f54f39979a44c0a30286fd7fa0 100644 (file)
@@ -15,6 +15,8 @@ CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_RGMII=y
 CONFIG_SUN8I_EMAC=y
 CONFIG_AXP_DLDO4_VOLT=2500
index 074f7471e13686cef6f560b79a7e76b68a1a9fe4..7f59fc9b3d3e507b85890bacc2265b9a70b1d753 100644 (file)
@@ -13,6 +13,8 @@ CONFIG_SPL_I2C=y
 CONFIG_NETCONSOLE=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
index 73714651374eec55c09be2be97cb55222a23afbc..e075635aaddf20194881586001238f1ec951ead2 100644 (file)
@@ -15,6 +15,8 @@ CONFIG_SPL_I2C=y
 CONFIG_NETCONSOLE=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
index c245ba95d55fc16c2e8d4c9e8f52e50adfb5ec6d..cd9bdbfd36f77a2b3e92794b4125528ee5faffd5 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_SPL_I2C=y
 CONFIG_CMD_DFU=y
 CONFIG_DFU_RAM=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 # CONFIG_MMC is not set
 CONFIG_AXP_ALDO3_VOLT=3300
 CONFIG_AXP_ALDO4_VOLT=3300
index 12db61bc3847d56c4a6d12478d1727be49c607f7..34f609a61d223d092c2c4e2c0e31ea535a2ab20d 100644 (file)
@@ -14,6 +14,8 @@ CONFIG_ENV_IS_IN_UBI=y
 CONFIG_ENV_UBI_PART="UBI"
 CONFIG_ENV_UBI_VOLUME="uboot-env"
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
index 4a51f326eb2159b4a8a318a51e93617869ed8a1f..02b3e69584f1857d07eb09eeefd8ae5195f39dc0 100644 (file)
@@ -16,6 +16,8 @@ CONFIG_VIDEO_LCD_PANEL_HITACHI_TX18D42VM=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
 CONFIG_VIDEO_LCD_SPI_CS="PA0"
 CONFIG_VIDEO_LCD_SPI_SCLK="PA1"
index f479d75465d8817e3a8d04f9ed7e1c1b6db2e1d7..31541f898d4e6dab41eb970028874fa12e33eb30 100644 (file)
@@ -23,6 +23,8 @@ CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SPEED=50000
 CONFIG_SYS_I2C_SOFT_SLAVE=0x00
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
index fde004ffee5f5ef3849782c36944465d132b5465..b06a3ae4238d97ec53da6ba1ff66345839865a66 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index 427dc11390deb1dc05b0f79ffc9bbe6382bde380..93a7932b76a83fa4f33a7f5c0953e14f393bbe41 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_SCSI=y
index cf77b0e88384606b2241d63acab5d3d55a93fe92..a4f7b872ff02cb49b57e9bb200d4c66373d848f7 100644 (file)
@@ -20,6 +20,8 @@ CONFIG_SCSI_AHCI=y
 CONFIG_DFU_RAM=y
 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
index 7eaf1a4c380e5d41ed36c459bfc78bee100d43e8..a4f88697312e5fe14f1c6f6255bf5c34b82cad91 100644 (file)
@@ -19,6 +19,8 @@ CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_SUN8I_EMAC=y
 CONFIG_AXP_DLDO3_VOLT=2500
index ac8f1522bffc0c2b0ebfab2b3afe140bb8bf7bb2..a9bbe8bcffac8b853c3d8f3a2a707f3e3ca81abf 100644 (file)
@@ -18,5 +18,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_CONS_INDEX=2
 CONFIG_USB_MUSB_HOST=y
index a795a4eaeb480ce17ed6061e4e50ccc9b8540cc8..fc1f26b7a998636e608b858efeb5af5b81ee50f0 100644 (file)
@@ -17,5 +17,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_CONS_INDEX=2
 CONFIG_USB_MUSB_HOST=y
index 28881b661be64e29729fa8e3043e636b09fd9122..482e0fb7a83d7ecc5f40571cf3f62c0fbf312221 100644 (file)
@@ -17,4 +17,6 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
index b7a38df7c93216b632a6323ede715c0325dd6da6..58184422147871cf4068ff2135eba5f5dd309ec1 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index a250875e5ac09982a26fc0d10556e286e4eee98b..6dd7b7ae7024a6123f86b5a789f66df51ad40134 100644 (file)
@@ -13,6 +13,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_B53_SWITCH=y
 CONFIG_B53_PHY_PORTS=0x1f
 CONFIG_PHY_REALTEK=y
index 3fb60d7e3f34021ce5ecee88f148b4e61bb285f8..25cea8437394bf646eef103a71117880b9d95dd1 100644 (file)
@@ -13,6 +13,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
index 5bca30816cca3493568904b26e2a94e55910cd56..de88dd0a3031081ff705b0008ebba1074d5f112a 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index 58e41314b22affd95e3f6cf1871017c4e809b214..49dcfa098ee2a5724c469c01874f219458d464c8 100644 (file)
@@ -8,6 +8,8 @@ CONFIG_USB2_VBUS_PIN=""
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_USB_EHCI_HCD=y
index 345625836963dafac0c01b06343d2fa75afb2aae..3ed962d7cd94e50a39b579c3cf84c3d26109c341 100644 (file)
@@ -7,5 +7,7 @@ CONFIG_DRAM_CLK=384
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
index cd45db3cd0d9260f71653b0fdad5e136e80b1ad0..071169fd298908af268a379350ef64d395654545 100644 (file)
@@ -12,3 +12,5 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
index e4ecb2894a2a6a6da48161124cd0cd8bd10e9acf..61d978319751156e28c7d143c7f30fd35946c577 100644 (file)
@@ -7,6 +7,8 @@ CONFIG_AHCI=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_SUNXI_NO_PMIC=y
index 8625adbf95176428f036bbf3df6c551b34a1059f..d3a01275cf51892618c1aea7d772fb039803ff4b 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_SCSI=y
index 29449455a5706a891d3006477be495eb58739bcb..77cb464c9326ac5cc83f567873917452553a8022 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_VIDEO_COMPOSITE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index ac095f1c37c7972bf33a2fda3cfe961f8050ee32..f2ee3b1c0cf0817130f165e8b25426dbd28f1cc2 100644 (file)
@@ -12,6 +12,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index 99c6115cbc4bc88d34b8645c9eae13eaa341c6b9..e8bc14857663150c4ab3b9c62de12188480b5745 100644 (file)
@@ -8,6 +8,8 @@ CONFIG_VIDEO_COMPOSITE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
index 1cb3aeaf044abc9751192c0c85c4796cb8c350e5..d69bc7af93b7ac6a50f7ee5980652042ff6a17b3 100644 (file)
@@ -15,6 +15,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
index 71b5dd7f6e0fd3d209ab448dcf28e1e6aa08cfef..508cace424c97493fb7fa725bf48128576742e88 100644 (file)
@@ -17,6 +17,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
index 0dfbeed5816b48a78ecd79d9add748dbfdefd833..b5728073086313f86f40b3362e3aa154cb4a835d 100644 (file)
@@ -25,6 +25,8 @@ CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SPEED=50000
 CONFIG_SYS_I2C_SOFT_SLAVE=0x00
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 # CONFIG_REQUIRE_SERIAL_CONSOLE is not set
 CONFIG_CONS_INDEX=2
 CONFIG_USB_MUSB_HOST=y
index 5f425ee9b3f46fb88add38ad69ba46649dd8376c..101ce57aa44dcbe4efcdcae55f3ab395a76c5a74 100644 (file)
@@ -15,6 +15,8 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
index f6657fb621e75d1cdbb5b943c53b901c3af87ff2..83b82133b96bc8b69fb83a4835dc41a50dba84d5 100644 (file)
@@ -15,6 +15,8 @@ CONFIG_AHCI=y
 CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
index e6894ecb70aacd6cb3c53246b6cdce958ea1f08c..e0687bf887dbd444c63e7eaf0711a37b5439e05e 100644 (file)
@@ -9,6 +9,8 @@ CONFIG_USB1_VBUS_PIN="PG12"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_AXP_ALDO3_VOLT=3300
 CONFIG_AXP_ALDO4_VOLT=3300
 CONFIG_CONS_INDEX=2
index f0082d93fbee13c8dce64b3f646cc889507938a1..1b88cfabf0447b57472288b7040136808d2f15e3 100644 (file)
@@ -21,4 +21,6 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
index 2f8c4b52a320df9b634194c519b158fc603d3d35..4c176ff62130c89598a9d6904e9a12b7970bc99d 100644 (file)
@@ -53,6 +53,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_BOOTP_SEND_HOSTNAME=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
+CONFIG_SYS_I2C_SLAVE=1
 CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MMC_OMAP_HS=y
 CONFIG_PHY_ADDR_ENABLE=y
index 4f8ca9242535b2f3bb9cfa25e231caa6c3047d4b..902820b425e6522d57fbd8981f8e48bcd4f5750c 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_BOOTP_SEND_HOSTNAME=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
+CONFIG_SYS_I2C_SLAVE=1
 CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MMC_OMAP_HS=y
 CONFIG_PHY_ADDR_ENABLE=y
index 1ed482940094bf7154f98865b835c02fdc53a16b..d7058f9cd03d4cb0028d877d78a5e1253007fe48 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_BOOTP_SEND_HOSTNAME=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
+CONFIG_SYS_I2C_SLAVE=1
 CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MMC_OMAP_HS=y
 CONFIG_PHY_ADDR_ENABLE=y
index a82972fcd3eb4d85d620d2dd82487a92bb1f90a1..564fa815d28021eff4bdc58e73812b3582e426d8 100644 (file)
@@ -53,6 +53,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_BOOTP_SEND_HOSTNAME=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
+CONFIG_SYS_I2C_SLAVE=1
 CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MMC_OMAP_HS=y
 CONFIG_PHY_ADDR_ENABLE=y
index 747d205046422d42d26d9e477420a959559904ba..b89dd8ea62b4608cdc35d268223665858b0b4731 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_VIDEO_COMPOSITE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_USB_EHCI_HCD=y
index 1f5a51b078d3883553d8bad4a7328905007fc7e2..2f0c22f62fa8c807d9be406b082a349c73df1838 100644 (file)
@@ -13,6 +13,8 @@ CONFIG_SPL_I2C=y
 CONFIG_NETCONSOLE=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
index c9443c98cd508fc83ac6be8dc89bbf0cb0e5eb50..8b7f37675a17942699c9f2e7c53f3f4dac5fb394 100644 (file)
@@ -12,6 +12,8 @@ CONFIG_SPL_I2C=y
 CONFIG_SCSI_AHCI=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_RGMII=y
 CONFIG_SUN8I_EMAC=y
 CONFIG_AXP_DLDO4_VOLT=2500
index d0345165f48bd41d73d509756e0aece4813aa6bc..0b16e929155f3f13b1ee7f0126405adf16675af0 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_DM=y
 CONFIG_SATA_MV=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
index 3ad8b3f06fe11f533d617d44acb5a1d14111f046..4ac2109472eba25823013fb27423d4ed3e3e2b28 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_MISC=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH_MACRONIX=y
index 15808028b6e43700642f34fb079cb4a75218441f..f9f1fb8d8e4eb60571e01798d0afa4cc9a2caf4e 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_AHCI_MVEBU=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_MV=y
index 68580bcb13493fbca04960e4a23622f387b4bfff..6c4de4a098184a4d0437c754ec459cc691e9e1a7 100644 (file)
@@ -52,6 +52,7 @@ CONFIG_SATA_MV=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
index 086bd87c42628c1c45ba14d98eaf8883854c88fc..e1067b66eec2117f0e3c83c04ca304b3625535fa 100644 (file)
@@ -17,5 +17,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_CONS_INDEX=2
 CONFIG_USB_MUSB_HOST=y
index ee940ca0d8285f7f8e59caca92524ef9d4923bb6..90dd10ca0b028eb8606d5093f309834dffd6ca55 100644 (file)
@@ -49,6 +49,7 @@ CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_SPI_FLASH_STMICRO=y
index 75f1ec8574a5b92c9705f8f06c4c5c45cc671509..60910c3ce3542bd3a767631d69a267f6ea2aaa46 100644 (file)
@@ -16,4 +16,6 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
index 1b0b32ab78233c47dd17b075cb31fa440de3d795..ea3e4119441ba0e872ea61d5fdae2ed777c60dca 100644 (file)
@@ -34,6 +34,7 @@ CONFIG_NETCONSOLE=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
index 8e868bd699c04be323b72eb63d041b71bc9a95e8..257dd89af45b45b53205e94eb6a10d813338f8f3 100644 (file)
@@ -9,6 +9,8 @@ CONFIG_VIDEO_COMPOSITE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index cc17da3a19f247958922361c94e99f3c4ad884fb..436e3a8c209f88d42347cfc7f4488f8cd7907f08 100644 (file)
@@ -16,4 +16,6 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
index b04c4db4e4e53960670de70a5ec78d625ee313cf..6978f8b0aabd439a47d4b9e5ae8dbc5abe78801c 100644 (file)
@@ -16,4 +16,6 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
index 0f7056b9ba24a9cbf067196bff48f2554dfd2d38..2c8ecb51de05f7bc1372beec5c40b1611f144e6b 100644 (file)
@@ -15,5 +15,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_CONS_INDEX=2
 CONFIG_USB_MUSB_HOST=y
index 84fe310c871debdf56a9419d56a50437ee839e4e..de455608a375df9d5b70ae1b3aad62370f377f8b 100644 (file)
@@ -16,6 +16,8 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
 CONFIG_SPL_I2C=y
 CONFIG_CMD_UNZIP=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
index 0c4f7c28ed4949c791a7f46c7492b39ddec571ea..f81120b119755427b462d02a134f853e314e2cba 100644 (file)
@@ -16,6 +16,8 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_MUSB_HOST=y
index 4d3dfcba9da27495ee17323facf33e7bce768340..d5d2dc32c9356882be65c779675c85412cd282be 100644 (file)
@@ -15,4 +15,6 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
index f3eee3168740be11bd6b11e766d0a1835679ae60..bd6c45bd661adff7bfb2a2d88109fb02c5ece10a 100644 (file)
@@ -17,5 +17,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_CONS_INDEX=2
 CONFIG_USB_MUSB_HOST=y
index f511b57d8a7ce0ae2a0d8a664fb5e40afb314773..4485f9302364e1e303156a708297d49fdbb71084 100644 (file)
@@ -15,4 +15,6 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
index 33ae7cc4714c401b9df9044fdb3103ded290b5a0..7a0d9b6e96f04c84213f2ecfff0db2dc4d890028 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_DM=y
 CONFIG_SATA_MV=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
index 6a417ee6dec6ea0214d1765a6db2d0954ebdb6f1..0ff666b2ee5c0e5b3e54d0d7ebd08297073414ee 100644 (file)
@@ -10,6 +10,8 @@ CONFIG_VIDEO_COMPOSITE=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_MII=y
 CONFIG_SUN4I_EMAC=y
 CONFIG_USB_EHCI_HCD=y
index a4daa1a1f76d6c805f27df5d66a1ebeb5f0c645c..d77746ea2b605c62fe57cb2e2a8e9b1ecf625099 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_MTD=y
index a47593baf70f3d6524976fb39efa024ed7bc35c7..4aeb5e7f678cd3b51a23546e9c1ee302a7739d68 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_MTD=y
index 6b129a37c91fa56497913df130012ed8996eb652..249b42f4d409ba79cf5406637197d6fa83cb7880 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_MTD=y
index 311f379584705f7de3d447100c7980da836ca61f..6776c52ca8169ce2623ca24d8d5d49f330f53b61 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_MTD=y
index d30fd069af4945569e385f1ffddee4a9a8e70d57..3a2ca303c8d1516f1b178c3baa83a3706dba3f06 100644 (file)
@@ -54,6 +54,7 @@ CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_MTD=y
index dc7de9838637f759b0c440e86339f6e7bc30c796..ce727d67da8764eb349a185f7e82237e721252bf 100644 (file)
@@ -55,6 +55,7 @@ CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SOFT=y
 CONFIG_SYS_I2C_SOFT_SLAVE=0x0
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_MTD=y
index 238ff0bbc2530889d9f1741d1b062fc376ab5119..b9ca2fc8cc188221d761749f5f83396406d9c6b7 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_SPANSION=y
index d2d07d2a94709de3c2b0ab91300f7b3ef17ed718..21f7a6e535d2091d4731e8cb404143852475ad69 100644 (file)
@@ -9,6 +9,8 @@ CONFIG_USB1_VBUS_PIN="PB10"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_AXP152_POWER=y
 CONFIG_CONS_INDEX=2
 CONFIG_USB_EHCI_HCD=y
index 1dd7436bd7db086d177cb32bbf265eba79ae5b7d..416565e5af2bc655d29028927c54c127da1cee0b 100644 (file)
@@ -6,6 +6,8 @@ CONFIG_MACH_SUN4I=y
 CONFIG_USB2_VBUS_PIN="PH12"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_SUNXI_NO_PMIC=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
index 075c2b899297529d43ee386fcb39c20b8746179e..965a9cd5c4b09658ffe15c846f0a5803c5836381 100644 (file)
@@ -6,5 +6,7 @@ CONFIG_MACH_SUN4I=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
index fb424c8798c5e8ac95d9156a56a1b7798c0112e4..e884dce639a0dd4eb3f47c2ef8cb200d7ffb9f08 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_DM=y
 CONFIG_SATA_MV=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
index 7a4f1594ef11e32419964fd2e678d3baaf4d5b74..fd690f394e9adff70359eff3bed7c503b8c5a478 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_DM=y
 CONFIG_SATA_MV=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
index bfa606a386c27149767d99cd93bc812628422919..41e4bf71ebcc40704fa683d315a916bf2c27bc0b 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_DM=y
 CONFIG_SATA_MV=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
index d8a64de6ba9e193c7850fd4d416846c424a7d774..bafc05773319e4ce288a6188f7e7445873a65c2f 100644 (file)
@@ -45,6 +45,7 @@ CONFIG_SATA_MV=y
 CONFIG_BLK=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
index 89b1e731f565986619287ce93b0b67354fa57b2a..aba687609d348b025d9e4c1f36c673a1f30d8ec0 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_DM=y
 CONFIG_SATA_MV=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 # CONFIG_MMC is not set
 CONFIG_DM_SPI_FLASH=y
index f4ea04c607b4255a7bfa9f486dcd9b74a5e2a7a4..edb765f02fd5e619f6308879853492b0c7725184 100644 (file)
@@ -14,5 +14,7 @@ CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_PHY_REALTEK=y
 CONFIG_SUN8I_EMAC=y
index b2a8370fc67a1574f10014b8c7a78d41655c33b7..742da36502ed5b163bd09a425dc6cf5ac2affd90 100644 (file)
@@ -11,6 +11,8 @@ CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 # CONFIG_NETDEVICES is not set
 CONFIG_AXP209_POWER=y
 CONFIG_AXP_DCDC2_VOLT=1250
index 0f0cf279cdd95053a8f82d0cdb45767e0db6da57..a62c9f8fa37f7603238b3196775b675ba708441e 100644 (file)
@@ -16,4 +16,6 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_MUSB_HOST=y
index b88b7c9e5190b173b0bc34314e52372f9173a3d2..6a12cce8bf107cb16b769379340ad9fc969e7be6 100644 (file)
@@ -77,6 +77,7 @@ CONFIG_DFU_NAND=y
 CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
+CONFIG_SYS_I2C_SPEED=400000
 # CONFIG_SPL_DM_MMC is not set
 CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD=y
index 39ac90b2cf88a329e0f0b1fec739d0151c370bfb..f269b8a588950f3619819277e2aef20707d23f29 100644 (file)
@@ -17,5 +17,7 @@ CONFIG_VIDEO_LCD_BL_PWM="PB2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_CONS_INDEX=2
 CONFIG_USB_MUSB_HOST=y
index 71520a8c770036729317426f72acc03ab09a9fe3..8875a09b2c98c5ded62c62a7f5173bd7d101c584 100644 (file)
@@ -8,6 +8,8 @@ CONFIG_USB1_VBUS_PIN="PG13"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_AXP152_POWER=y
 CONFIG_CONS_INDEX=2
 CONFIG_USB_EHCI_HCD=y
index b1612645a5223f99c9fccb2b856fd11586ed5637..3fee7c2e50c0d159a233d5a5237d3fc4a6ec4847 100644 (file)
@@ -13,5 +13,7 @@ CONFIG_VIDEO_LCD_PANEL_LVDS=y
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x7f
+CONFIG_SYS_I2C_SPEED=400000
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y
index 6650f6303ccc2a86b385a82990f88392bacba6b8..b94ecab3f8cdab93d312709a30ea91975eea129f 100644 (file)
@@ -60,6 +60,7 @@ CONFIG_FPGA_ALTERA=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_SYS_I2C_SLAVE=0x0
 # CONFIG_MMC is not set
 CONFIG_SF_DEFAULT_SPEED=27777777
 CONFIG_SPI_FLASH_MACRONIX=y
index bfb3cd0790bc1078ea25a3cf895941d61e4823e0..7fc43f3ce2e04f7d749aaf0ced4c7b13c174ff9f 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_SYS_I2C_LEGACY=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_LPC32XX=y
+CONFIG_SYS_I2C_SPEED=350000
 CONFIG_SYS_I2C_EEPROM_ADDR=0x56
 # CONFIG_MMC is not set
 CONFIG_MTD=y
index 7bc0740f93d1aa533e046349687331e8d48758f5..fb7736c62aed248db3e5c9afb06db324aff8ab78 100644 (file)
@@ -423,20 +423,6 @@ config SYS_I2C_OMAP24XX
        help
          Add support for the OMAP2+ I2C driver.
 
-if SYS_I2C_OMAP24XX
-config SYS_I2C_SLAVE
-       int "I2C Slave addr channel 0"
-       default 1
-       help
-         OMAP24xx I2C Slave address channel 0
-
-config SYS_I2C_SPEED
-       int "I2C Slave channel 0 speed"
-       default 100000
-       help
-         OMAP24xx Slave speed channel 0
-endif
-
 config SYS_I2C_RCAR_I2C
        bool "Renesas RCar I2C driver"
        depends on (RCAR_GEN3 || RCAR_GEN2) && DM_I2C
@@ -573,6 +559,25 @@ config TEGRA186_BPMP_I2C
          by the BPMP, and can only be accessed by the main CPU via IPC
          requests to the BPMP. This driver covers the latter case.
 
+config SYS_I2C_SLAVE
+       hex "I2C Slave address channel (all buses)"
+       depends on SYS_I2C_LEGACY || SPL_SYS_I2C_LEGACY || TPL_SYS_I2C_LEGACY
+       default 0xfe
+       help
+         I2C Slave address channel 0 for all buses in the legacy drivers.
+         Many boards/controllers/drivers don't support an I2C slave
+         interface so provide a default slave address for them for use in
+         common code.  A real value for CONFIG_SYS_I2C_SLAVE should be
+         defined for any board which does support a slave interface and
+         this default used otherwise.
+
+config SYS_I2C_SPEED
+       int "I2C Slave channel 0 speed (all buses)"
+       depends on SYS_I2C_LEGACY || SPL_SYS_I2C_LEGACY || TPL_SYS_I2C_LEGACY
+       default 100000
+       help
+         I2C Slave speed channel 0 for all buses in the legacy drivers.
+
 config SYS_I2C_BUS_MAX
        int "Max I2C busses"
        depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_SOCFPGA
index 20c5de0007a872a0ba620b4737f92f188d9fdb38..0eff3531618cdf48c6fee61be32828789fc97db9 100644 (file)
@@ -80,7 +80,7 @@ static void i2c_reset(struct mv_i2c *base)
 
        i2c_clk_enable();
 
-       writel(CONFIG_SYS_I2C_SLAVE, &base->isar); /* set our slave address */
+       writel(0x0, &base->isar); /* set our slave address */
        /* set control reg values */
        writel(I2C_ICR_INIT | icr_mode, &base->icr);
        writel(I2C_ISR_INIT, &base->isr); /* set clear interrupt bits */
index d96618846bab0421d616036ddac8b596030867f0..584b0250c4cca0c1f133f5b6017b6bdddfc01422 100644 (file)
 #endif
 
 #define CONFIG_NET_RETRY_COUNT         10
-
-/* I2C configuration */
-#define CONFIG_SYS_I2C_SPEED           400000
-#define CONFIG_SYS_I2C_SLAVE           1
 #endif /* ! __CONFIG_AM335X_SHC_H */
index 12de0105c6c73d8713283e7c7150887c2e66ebcd..2d2a0346b1dc5071a96010517ff84ffca3b47013 100644 (file)
@@ -39,7 +39,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED           100000
 #define CONFIG_SYS_MXC_I2C3_SPEED      400000
 
 /* MMC Configs */
index b310e6c9e565e2413c14dc1d50088bfd3e9e6970..37d4beefef0b933fea02ccbc806a9b7b24dae40f 100644 (file)
@@ -51,7 +51,6 @@
 
 /* I2C Configuration */
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_SYS_I2C_SPEED   400000
 /* EEPROM */
 #define  EEPROM_I2C_BUS                0 /* I2C0 */
 #define  EEPROM_I2C_ADDR       0x50
index 8c00cdd7ea26c6036ae1bd496a59804634378d6b..6e47b5b54456aab1f4c01cef95753d612d5d9180 100644 (file)
@@ -33,7 +33,6 @@
 /* I2C configs */
 #define CONFIG_SYS_I2C_MXC
 #define CONFIG_SYS_I2C_MXC_I2C2                /* Enable I2C bus 2 */
-#define CONFIG_SYS_I2C_SPEED           100000
 
 #define CONFIG_PCA953X
 #define CONFIG_SYS_I2C_PCA953X_ADDR    0x20
index b6cbb0f4956a047d877d3f4183d7d339a5bb0d83..5e4c4472e13fffd5a5919bef517740763ba4692b 100644 (file)
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED           100000
 #define CONFIG_SYS_MXC_I2C3_SPEED      400000
 
 /* SATA */
index 2fa348517305420b25d389d509b33ceb05d2ccbf..3799b4a99970ec79e737478cbe33cada3bc3afa2 100644 (file)
@@ -25,9 +25,6 @@
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 #define CONFIG_SYS_FSL_USDHC_NUM       1
 
-/* I2C configs */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #define CONFIG_IPADDR                  192.168.10.2
 #define CONFIG_NETMASK                 255.255.255.0
 #define CONFIG_SERVERIP                        192.168.10.1
index 804a144a03e1a9788c452fca1fb4a54ad4304df1..4601539be3b98c71f9188dc177856b1c9b0eb794 100644 (file)
@@ -37,7 +37,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED           100000
 #define CONFIG_SYS_MXC_I2C3_SPEED      400000
 
 /* MMC Configs */
index 2fffaa39c02d23020a7684e5f7f6132d8feaf712..369048fbf5b3d594532abef723aa434b2a928278 100644 (file)
@@ -26,7 +26,6 @@
 
 /* I2C configs */
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_I2C_SPEED           100000
 
 #define CONFIG_IPADDR                  192.168.10.2
 #define CONFIG_NETMASK                 255.255.255.0
index 15cbd23b1ba56f9ea642d6d707e623a6370404b0..46ddec68686536223f36312fb3f440b61488d08d 100644 (file)
@@ -45,7 +45,6 @@
 #define CONFIG_SYS_I2C_PXA
 #define CONFIG_PXA_STD_I2C
 #define CONFIG_PXA_PWR_I2C
-#define CONFIG_SYS_I2C_SPEED           100000
 #endif
 
 /* LCD support */
index dccfa034a4edb40c0b229bf49c92e91f2d9ff026..04422ddf467bb7d1c457ae7266404ce4e93f7aa5 100644 (file)
@@ -50,7 +50,6 @@
 #ifdef CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
-#define CONFIG_SYS_I2C_SPEED           100000
 #endif
 
 /* Miscellaneous configurable options */
index 3aa3617b854078947b2ab2183a8bbcae68914d3a..95f5cf005689bd8f458d3787545da2d5bbc0292a 100644 (file)
@@ -18,8 +18,6 @@
 
 /* I2C */
 #define CONFIG_I2C_MVTWSI_BASE0                MVEBU_TWSI_BASE
-#define CONFIG_SYS_I2C_SLAVE           0x0
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* USB/EHCI configuration */
 #define CONFIG_EHCI_IS_TDI
index 78802e5ca4baaf913abc025e93586f9264a30732..6bae063ae4809d41afcf53da49515b0b4b042425 100644 (file)
@@ -12,8 +12,6 @@
 
 /* I2C */
 #define CONFIG_I2C_MVTWSI_BASE0                MVEBU_TWSI_BASE
-#define CONFIG_SYS_I2C_SLAVE           0x0
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /*
  * SATA/SCSI/AHCI configuration
index ba22fcd6f815132518437f8dfe06256166901fd1..9f5e665e6f6673a03b8b6121283235af3a75069b 100644 (file)
@@ -19,8 +19,6 @@
 
 /* I2C */
 #define CONFIG_I2C_MVTWSI_BASE0                MVEBU_TWSI_BASE
-#define CONFIG_SYS_I2C_SLAVE           0x0
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* USB/EHCI configuration */
 #define CONFIG_EHCI_IS_TDI
index caabd9795f0e55dea637f6f812d44b8c03ca0997..9cfeb5ae308dc2d5a0050f6735f6f340d43f4262 100644 (file)
 #define CONFIG_DMA_LPC32XX
 #endif
 
-/*
- * I2C
- */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 /*
  * GPIO
  */
index 7c1f071d99ec5438f917852e48ba1a916a43aa86..6bc7a0b43ea9d6c3687b12ecd17fb91a85e43827 100644 (file)
@@ -29,9 +29,6 @@
  /* Physical Memory Map */
 #define CONFIG_MAX_RAM_BANK_SIZE       (1024 << 20)    /* 1GB */
 
-/* I2C Configuration */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #define CONFIG_FACTORYSET
 
 /* Define own nand partitions */
index 1205e8597d9a94c1e95cf56987536c8549f9ecae..8b8dc2245ba3e17310470aab2ec8b67344cfaffb 100644 (file)
@@ -21,8 +21,6 @@
 
 /* I2C */
 #define CONFIG_I2C_MVTWSI_BASE0                MVEBU_TWSI_BASE
-#define CONFIG_SYS_I2C_SLAVE           0x0
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* PCIe support */
 #ifndef CONFIG_SPL_BUILD
index 686d122537a370742322ed1ae2f160da788e3ac1..fffad6ee11db85596a474ebe01f5d35020e7b12a 100644 (file)
  */
 #ifdef CONFIG_CMD_I2C
 #define CONFIG_I2C_MVTWSI_BASE0                ORION5X_TWSI_BASE
-#define CONFIG_SYS_I2C_SLAVE           0x0
-#define CONFIG_SYS_I2C_SPEED           100000
 #endif
 
 /*
index ecd0ee240a50c527027664400aa861a129867eaa..213d6d2acd403c701e6def9bff2a29d389f2d633 100644 (file)
@@ -30,7 +30,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED                   100000
 
 /* PMIC */
 #define CONFIG_POWER
index a4c312f9cdd807384f877da9b05d496d56799f95..745fd092fb1d1047801b503bc3070995c1ef6c67 100644 (file)
@@ -25,7 +25,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* USB Configs */
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET       /* For OTG port */
index e3e483e07201188f4d9620e8f517946e73dbebb8..47617c2ab39c30fc5394ed3550e11795d68e7885 100644 (file)
@@ -86,9 +86,6 @@
 /* Physical Memory Map */
 #define CONFIG_MAX_RAM_BANK_SIZE       (1024 << 20)    /* 1GB */
 
-/* I2C Configuration */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #define EEPROM_ADDR_DDR3 0x90
 #define EEPROM_ADDR_CHIP 0x120
 
index d9f19a57704dc0993f65d6ae72091e9a587ef23f..e51eef528c68db6acbd16e72f830aecbdce5e50b 100644 (file)
@@ -46,7 +46,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED           100000
 #define CONFIG_I2C_GSC                 0
 #define CONFIG_I2C_EDID
 
index faeee2178c2deffa4f4c23605e69ad43fa73a183..f5b3b67ab84dde86914a96210c138562d9cee87e 100644 (file)
 
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #define CONFIG_ETHPRIME                        "FEC"
 
 #define CONFIG_FEC_XCV_TYPE            RGMII
index 94f4a1232fbf1d00f5b38a8b5183eb5c9de8fa8e..13705f63df55c9755e03e723d30d58ac7bedd808 100644 (file)
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
-/* I2C */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 /* FEC*/
 #define CONFIG_ETHPRIME                 "FEC"
 #define CONFIG_FEC_XCV_TYPE             RGMII
index 8f3dd8fb61a30bad3e35593868470e92678db6ec..9cd074661628446ab8b248c323794efda070a940 100644 (file)
@@ -94,8 +94,6 @@
 
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #define CONFIG_ETHPRIME                 "FEC"
 
 #define CONFIG_FEC_XCV_TYPE             RGMII
index af5be6889dff237611a7420aba36bd0fd7563b97..6d822fa82562c11b3c5de7e40533bd3607ed80bd 100644 (file)
@@ -94,7 +94,4 @@
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
-/* I2C */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #endif /* __IMX8MM_ICORE_MX8MM_H */
index 91669255e12a59fcaf82b05a36fbe084d5391d60..a0cc2c897ba164f7c2cd6a18a247cc0730ef676b 100644 (file)
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
-/* I2C */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 /* FEC */
 #define CONFIG_ETHPRIME                 "eth0"
 #define CONFIG_FEC_XCV_TYPE             RGMII
index 985bec803ad96ac5a78787d47c086a04b4b34b6c..42f9041b5dd3053c4aa1c72bd8c564ffc4ecb64a 100644 (file)
@@ -93,6 +93,4 @@
 
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #endif
index 474ef2b4fd13d7ad5c7463b97f8b4497fb713480..da5cf3d61f1638a58ab669668cad5bd3792b4ebf 100644 (file)
 
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #endif
index 859e8ece0b20d476715d8ce0f3a5626a6636b6f8..eff713f84a493ccd2ed8eafdb14f849bb87fe52c 100644 (file)
 
 #define CONFIG_MXC_GPIO
 
-/* I2C Configs */
-#define CONFIG_SYS_I2C_SPEED             100000
-
 #define CONFIG_OF_SYSTEM_SETUP
 
 #ifndef CONFIG_SPL_BUILD
index 40ae866e55029c3380a63549cd0fe231dc3c0bab..da59e12f654b7be11a26071efbb0f9168ae89738 100644 (file)
 
 #define CONFIG_MXC_GPIO
 
-/* I2C Configs */
-#define CONFIG_SYS_I2C_SPEED             100000
-
 #define CONFIG_OF_SYSTEM_SETUP
 
 #ifndef CONFIG_SPL_BUILD
index 35da691980f42152a08f9aaaea8d4c61899eb3b9..23494657a4487c1b771f04031cf12948bf23ecc6 100644 (file)
  * I2C
  */
 #define CONFIG_SYS_I2C_INIT_BOARD
-#define CONFIG_SYS_I2C_SPEED           100000
 
 #define CONFIG_I2C_MULTI_BUS
 #define CONFIG_SYS_I2C_MAX_HOPS                1
index 8b6d0b0d2d29363e2437875fbb9f1a1a70acdad7..6028097c451cbf43cbe71364e10b9d47cb528d7f 100644 (file)
@@ -18,8 +18,6 @@
 
 /* I2C */
 #define CONFIG_I2C_MVTWSI_BASE0                MVEBU_TWSI_BASE
-#define CONFIG_SYS_I2C_SLAVE           0x0
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* SPI NOR flash default params, used by sf commands */
 
index c8c34d7d92dd57625bfc476696d0d4426f3bec1b..46d05692708d84fb60b036d922e73f8f220e1944 100644 (file)
@@ -55,7 +55,6 @@
  * I2C
  */
 #define CONFIG_I2C_MV
-#define CONFIG_SYS_I2C_SLAVE           0x0
 
 /*
  * Environment
index c18135f4f49d2a4bfbefeb6cbb7fff8f2009f1bc..cefff470eacf6e63f04a5a9fcc72eb4309936930 100644 (file)
@@ -55,7 +55,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* NAND stuff */
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
index 8cf0d334f5187de36534a86d36b9305fbe519d1a..227c59b608694ac25a95e45010a7a6e712b0a0ab 100644 (file)
@@ -42,7 +42,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED             100000
 
 /* PMIC */
 #define CONFIG_POWER
index ab32f4e151e8aa4cfa9377131a627bcf138437a5..6dabd71bd2e6401fb40143d71fcf0ec03ab9f958 100644 (file)
@@ -29,7 +29,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED             100000
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "script=boot.scr\0" \
index a38ce4d09777512512f20523cce990e791826070..f4092056d06218573b11b0104b4a9e2aaf2bc5df 100644 (file)
@@ -21,7 +21,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED             100000
 #endif
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
index 58cc3f0ee2b69251ffb7a10e12238756c85c2429..1d47f6591f746edc940c2a4a634dc06ebaa5cb4a 100644 (file)
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED             100000
 
 /* NAND stuff */
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
index 036881f6ea3ec986fbc7efb4a2fc705a3b67ad16..fa7025a82a794c37047a8ad56edac780817de37b 100644 (file)
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED             100000
 
 /* Network */
 #define CONFIG_FEC_MXC
index 7d36c1e4d90aecae5ec3f3080faf592f791a1f99..5fe004b0ee0a7d147c84d274bbb3287db68ff3b5 100644 (file)
@@ -41,7 +41,6 @@
 #define CONFIG_SYS_I2C_MXC
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
-#define CONFIG_SYS_I2C_SPEED           100000
 #endif
 
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
index 23f6de9050cdf0e0b33619aaa0e5c85999d467c2..d9d400f73f1627fb2c28cb3e9272e4feca7480cf 100644 (file)
@@ -38,7 +38,6 @@
 #define CONFIG_SYS_I2C_MXC
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
-#define CONFIG_SYS_I2C_SPEED           100000
 #endif
 
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
index 5801da0cfac44df9ed1d309b3d36f105b3147b79..4bdd05b34c19c0ebeaccb14fb082ef35da3d363d 100644 (file)
@@ -22,7 +22,6 @@
 
 /* I2C configs */
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_I2C_SPEED           100000
 
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
index 91798f944570f4198e024df856d403eccd366bd5..15257753fbef9076eed96c606d6648680a06bae5 100644 (file)
@@ -25,7 +25,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED           100000
 #define CONFIG_I2C_EDID
 
 /* MMC Configs */
index 60bace6ab6c2c64c94c20c8af08e38107dfc4918..4abc44e9d30ae62afd147da7a5d132bbb8a10ee1 100644 (file)
@@ -57,7 +57,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
 #define CONFIG_I2C_MULTI_BUS
-#define CONFIG_SYS_I2C_SPEED           100000
 #define CONFIG_SYS_SPD_BUS_NUM         0
 
 /* I2C EEPROM */
index 6009521c9f727461a3b016e073b68c2266819713..2ba77edda9481bd605d0e6758e8779be823ad9f4 100644 (file)
@@ -38,7 +38,6 @@
 /* I2C configs */
 #ifdef CONFIG_CMD_I2C
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
-#define CONFIG_SYS_I2C_SPEED           100000
 #endif
 
 /* Miscellaneous configurable options */
index fd69dc41a86e9e7d063f6cb1390eedd29590ac90..987335aa70d211b7ff5a83e13e8d65ba94eb671d 100644 (file)
 #define CONFIG_SYS_FSL_ESDHC_ADDR       0
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
-/* I2C */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 /* ENET1 */
 #define CONFIG_ETHPRIME                        "FEC"
 #define CONFIG_FEC_XCV_TYPE            RGMII
index fbb804d9d7573a0cbcd455883d670f2afd76ebb5..95eb707c545746f2e89ae94096b668ce1330e434 100644 (file)
 #define CONFIG_SYS_FSL_ESDHC_ADDR       0
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
 
-/* I2C */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #endif /* __PHYCORE_IMX8MP_H */
index 04a2531f744764c91dfe3bba1c3a883a16d82369..828c779d4e92de2539e2ad2addf3ef66cc8c0067 100644 (file)
 
 /* I2C configs */
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* environment organization */
 /* Environment starts at 768k = 768 * 1024 = 786432 */
index 6b94ad2d4e7c90229f03cb963ffb9633a7e15b1d..528e48cdba49ff8921122f3a8bad59fde883004c 100644 (file)
 #define CONFIG_SYS_I2C_MXC_I2C2
 #define CONFIG_SYS_I2C_MXC_I2C3
 #define CONFIG_SYS_I2C_MXC_I2C4
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* PMIC */
 #define CONFIG_POWER
index 2df532b7d936a3176472a539db3b30e3b49a28a9..10956a202f2a4a2c8a1d60f72c53a64ee76c609c 100644 (file)
 
 #define CONFIG_MXC_GPIO
 
-/* I2C Configs */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #define CONFIG_OF_SYSTEM_SETUP
 
 #ifndef CONFIG_SPL_BUILD
index 3c7d81cfc0b8d27d1c5b9c6273b99b40e76aeeba..1438130bf013a596b9d2c2973179298bfadcb34c 100644 (file)
@@ -32,9 +32,6 @@
  /* Physical Memory Map */
 #define CONFIG_MAX_RAM_BANK_SIZE       (512 << 20)     /* 1GB */
 
-/* I2C Configuration */
-#define CONFIG_SYS_I2C_SPEED           400000
-
 #define CONFIG_FACTORYSET
 
 #ifndef CONFIG_SPL_BUILD
index cd6c7dcb9163f5ab5baf42bacff13818ceb3f77d..de8ea8b850a097ede453bae089d1623e3c25072f 100644 (file)
@@ -34,9 +34,6 @@
  /* Physical Memory Map */
 #define CONFIG_MAX_RAM_BANK_SIZE       (1024 << 20)    /* 1GB */
 
-/* I2C Configuration */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #define EEPROM_ADDR_DDR3 0x90
 #define EEPROM_ADDR_CHIP 0x120
 
index a0e065ca9e3b7c439f7781a6d4c9cdfec1338f46..d240d8e1d3fb92873242a12a64f9fd270705205a 100644 (file)
@@ -23,9 +23,6 @@
  /* Physical Memory Map */
 #define CONFIG_MAX_RAM_BANK_SIZE       (256 << 20) /* 256 MiB */
 
-/* I2C Configuration */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #define CONFIG_FACTORYSET
 
 /* Watchdog */
index 292b8c394533f0a415a9bde2c434d9f1a2e15ffe..eeada873fbd5c0646a9c44a264f91054ae6da190 100644 (file)
 
 
 /* I2C */
-#if defined CONFIG_I2C0_ENABLE || defined CONFIG_I2C1_ENABLE || \
-    defined CONFIG_I2C2_ENABLE || defined CONFIG_I2C3_ENABLE || \
-    defined CONFIG_I2C4_ENABLE || defined CONFIG_R_I2C_ENABLE
-#if !CONFIG_IS_ENABLED(DM_I2C)
-#define CONFIG_SYS_I2C_SPEED           400000
-#define CONFIG_SYS_I2C_SLAVE           0x7f
-#endif
-#endif
-
 #if defined(CONFIG_VIDEO_LCD_PANEL_I2C)
 /* We use pin names in Kconfig and sunxi_name_to_gpio() */
 #define CONFIG_SOFT_I2C_GPIO_SDA       soft_i2c_gpio_sda
index 417b41d28818fca4cceb4271824ff7f03fd06860..746bdb74e2b5fb96824e14127910ad72736000a8 100644 (file)
@@ -25,8 +25,6 @@
 /* I2C */
 #define CONFIG_I2C_MVTWSI_BASE0                MVEBU_TWSI_BASE
 #define CONFIG_I2C_MVTWSI_BASE1                MVEBU_TWSI1_BASE
-#define CONFIG_SYS_I2C_SLAVE           0x0
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* USB/EHCI configuration */
 #define CONFIG_EHCI_IS_TDI
index f09dc4af65d27524160c1ef05d93bcd9b56a917c..d45ff7d84da72b0de8edc9bce9c4049e0a442ccc 100644 (file)
@@ -27,9 +27,6 @@
  /* Physical Memory Map */
 #define CONFIG_MAX_RAM_BANK_SIZE       (1024 << 20)    /* 1GB */
 
-/* I2C Configuration */
-#define CONFIG_SYS_I2C_SPEED           100000
-
 #define EEPROM_ADDR_DDR3 0x90
 #define EEPROM_ADDR_CHIP 0x120
 
index 1d967ca2c18eb88be149910153ca54eb2c60462b..1bb0b84eba96815f18094920adcb58d50a4cf23c 100644 (file)
@@ -36,7 +36,6 @@
 
 /* I2C Configs */
 #define CONFIG_I2C_MULTI_BUS
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* I2C EEPROM (M24C64) */
 #define CONFIG_SYS_I2C_EEPROM_PAGE_WRITE_BITS          5 /* 32 Bytes */
index 671283982356f9f4505f0fb8e3e83cd3ee248ff1..6d6925cfab5d235241ed34946f6cd743e23a3dc2 100644 (file)
@@ -60,7 +60,6 @@
  * I2C
  */
 #define CONFIG_I2C_MV
-#define CONFIG_SYS_I2C_SLAVE           0x0
 
 /* Environment in SPI NOR flash */
 
index 275727da54d2055a9064e5e6bde60db4ebf35c78..ca57258f6e07b3b808075fa73f8a387d5b1ed495 100644 (file)
@@ -73,7 +73,6 @@
 /* I2C configs */
 #define CONFIG_SYS_I2C_MXC
 #define CONFIG_SYS_I2C_MXC_I2C1
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* PMIC */
 #define CONFIG_POWER
index 7be5e5ddf11ffe768a2f6834bf8cdc72cb5bc0ad..bd26a40e85468baa7f3a54eb713d81a4249f9b3e 100644 (file)
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 #define CONFIG_SYS_MMC_IMG_LOAD_PART   1
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* ENET */
 #define CONFIG_ETHPRIME                 "FEC"
index 5c4c346354de301e8e51b45f2a8fde4ec84f1e65..09dbadba005800ff9962f00f98bbfd27b31c12dc 100644 (file)
@@ -46,7 +46,6 @@
 #define CONFIG_SYS_I2C_MXC
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C3                /* enable I2C bus 3 */
-#define CONFIG_SYS_I2C_SPEED             100000
 
 /* PMIC */
 #define CONFIG_POWER
index 5a190d7b4c0c714a0b9ab486d06821c2d3b8eaba..466250648434b3149330ea82121fdccec9bbbf43 100644 (file)
@@ -56,7 +56,6 @@
 #define CONFIG_SYS_I2C_MXC
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
-#define CONFIG_SYS_I2C_SPEED             100000
 
 /* PMIC */
 #define CONFIG_POWER
index a5d52e3977fd359e8c47f84f1e8820fccf706284..5f91332d98e756ad925ca362b47a1c133667ac4d 100644 (file)
 
 /* I2C configs */
 #define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* environment organization */
 
index 27a89195c07a7762839f8e38d0ca1edfe8e2a330..2255958db036186e2209c4b064cfd530d23ab0aa 100644 (file)
 #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
 /* FIXME: remove "Waiting for PHY auto negotiation to complete..." message */
 
-/*
- * I2C driver
- */
-
-#define CONFIG_SYS_I2C_SPEED 350000
-
-/*
- * I2C EEPROM
- */
-
-/*
- * I2C RTC
- */
-
 #define CONFIG_RTC_DS1374
 
 /*
index a04ce865335b1486af5fdc5f12a046b47f328615..f1de3abed72fbc9b96a9f4e4e2ac444b4af61ed9 100644 (file)
@@ -26,7 +26,6 @@
 #define CONFIG_SYS_I2C_MXC_I2C1                /* enable I2C bus 1 */
 #define CONFIG_SYS_I2C_MXC_I2C2                /* enable I2C bus 2 */
 #define CONFIG_SYS_I2C_MXC_I2C4                /* enable I2C bus 4 */
-#define CONFIG_SYS_I2C_SPEED           100000
 
 /* Miscellaneous configurable options */
 
index 2a8649e95ec818307b2cdcbd9759c77779ab811c..a35e99bf87e8d0cfb8698b3361aebce1d9c30df8 100644 (file)
@@ -746,16 +746,6 @@ extern struct i2c_bus_hose i2c_bus[];
 # endif
 #endif
 
-/*
- * Many boards/controllers/drivers don't support an I2C slave interface so
- * provide a default slave address for them for use in common code.  A real
- * value for CONFIG_SYS_I2C_SLAVE should be defined for any board which does
- * support a slave interface.
- */
-#ifndef        CONFIG_SYS_I2C_SLAVE
-#define        CONFIG_SYS_I2C_SLAVE    0xfe
-#endif
-
 /*
  * Initialization, must be called once on start up, may be called
  * repeatedly to change the speed and slave addresses.