From patchwork Tue Oct 17 13:36:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116123 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4958438qgn; Tue, 17 Oct 2017 07:20:20 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAvfU3IpZUNkCuv8PiM3kXykTJXOMVd2Ju9z/9H6UTzO+gDmJIStR8yPHDDzY9ZusPnTxvD X-Received: by 10.80.173.150 with SMTP id a22mr16334804edd.49.1508250020086; Tue, 17 Oct 2017 07:20:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508250020; cv=none; d=google.com; s=arc-20160816; b=sjxSwsL39P65Xv1tNTkk6gOzUYucBFpV2FJstvP8K6TGiKAGhJzPnwAE087foL7lRu 7jk4ZK56VaeqbVe2BQr9hSWoqvYIXKpH8BtEMQ1WquDCrVzfTA3dBeTvQlQWwnuVhmup RdomebsUs+Y9UF2uelm97itkXSp1+heu6HwLh05YRdTXreRpKiCy7lUqp+k1ztRe662E QKjR8Zlj3U0Ue0N5dSqOoQFF7FZ/QI6BPId09bhEr3Boa/ySfs032vBI6VEmjNvLKY4k 3VW7q+4dpfeenAVtZKxBmmmpoaaZq+9ZRUF/Di2DRh+l+qbv8kgVi2zUHPohftYPp3aI MBgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=j+Q1IGzARfLOiGeLvxASUCafs1PUBnG6XFBsCcYqx4g=; b=I1c6gRSRBtEqtn4NoSHB6TDoNR3JAaNT9nxyNNpBchxYIYZ6gXIBtByEgXnXAWtkrZ h2mIrPiH4nYmDEkGpoZeYCKjmhAimu/9fqQ71kEeY1H405zYDIcqWzsYbjmwuYFFs8tU sYkaPaCmTcg1qbhZT0Epu7IYe9mVKw+25SikJ2fdL6fbxFaZuN/0929voBgvMfJe3FV6 D1S37FKNGcq9p9Q5TIC/APXTAPEBSx4gTCI1mioEfjNwU/GaAvC3wkHNmfpqjtcKKmA4 sZRDXLnwiL6aphHlF79ykaD/ghKuBaEcRHXQOADEjoq8Al0rSYrcy/1jUogFWRNWs8oZ 43DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=NFCaM53f; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id e30si347980edd.37.2017.10.17.07.20.19; Tue, 17 Oct 2017 07:20:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=NFCaM53f; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 8983EC21DC1; Tue, 17 Oct 2017 14:20:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 6CC19C21DA0; Tue, 17 Oct 2017 14:19:37 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 456DCC21D5D; Tue, 17 Oct 2017 13:37:21 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 420BAC21C71 for ; Tue, 17 Oct 2017 13:37:03 +0000 (UTC) Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9HDaIV6024408; Tue, 17 Oct 2017 22:36:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9HDaIV6024408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508247379; bh=g6Ym0mq2mOGCE4/iy0h9DHiFrUxycJY/xWAnpxBjcGc=; h=From:To:Cc:Subject:Date:From; b=NFCaM53fDNO/U/7Vo4mtdJ3xaB3lN5ie6GcMYHync5J9PxUjLQiOUKMIdk3Cv66dX 6U5Vuvk2hR9pHhX1ZmZCFX21ZH3ZsWxr0YzDUkMd6Op653UUyUlgL94v2JMsixE7u4 YbRtnZBgthLrDrm6EZpPXxPnkU7jnXO31vTXqJbuV9IA+6qwJ6300qTjzowFbF5IyQ hVKJnZUq686fxIKtVFLFbR17B6qHEcJmBWIvgXS+gEJQM7qSU5Sm5SNylamjs51K+h ZZ8wt4BqqybY3GMw2vsUwbVfk45HXJuZkbckhc8sIryZMhxiV1uqi/ZN/BKd2SJkrG fwE5JgQlDIJjw== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Tue, 17 Oct 2017 22:36:10 +0900 Message-Id: <1508247370-19818-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-Mailman-Approved-At: Tue, 17 Oct 2017 14:19:34 +0000 Cc: Prafulla Wadaskar , Luka Perkov , Angelo Dureghello , Huan Wang , Fabio Estevam , Stefan Roese Subject: [U-Boot] [PATCH] i2c: remove SYS_ prefix from CONFIG options X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Historically, U-Boot added CONFIG_SYS_ prefix to user-unconfigurable options. Somehow, this rule was not observed in some places, and getting meaningless with Kconfig introduction where platforms can "select" to force options. Actually, I2C drivers are generally configurable. Convert the options in drivers/i2c/Kconfig. This commit was generated by the following command. find . -name .git -prune -o -type f -print | \ xargs sed -i -e ' s/SYS_I2C_AT91/I2C_AT91/g s/SYS_I2C_FSL/I2C_FSL/g s/SYS_I2C_CADENCE/I2C_CADENCE/g s/SYS_I2C_DW/I2C_DW/g s/SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED/I2C_DW_ENABLE_STATUS_UNSUPPORTED/g s/SYS_I2C_ASPEED/I2C_ASPEED/g s/SYS_I2C_INTEL/I2C_INTEL/g s/SYS_I2C_IMX_LPI2C/I2C_IMX_LPI2C/g s/SYS_I2C_MXC/I2C_MXC/g s/SYS_I2C_OMAP24XX/I2C_OMAP24XX/g s/SYS_I2C_ROCKCHIP/I2C_ROCKCHIP/g s/SYS_I2C_SANDBOX/I2C_SANDBOX/g s/SYS_I2C_S3C24X0/I2C_S3C24X0/g s/SYS_I2C_STM32F7/I2C_STM32F7/g s/SYS_I2C_UNIPHIER/I2C_UNIPHIER/g s/SYS_I2C_UNIPHIER_F/I2C_UNIPHIER_F/g s/SYS_I2C_MVTWSI/I2C_MVTWSI/g s/TEGRA186_BPMP_I2C/I2C_TEGRA186_BPMP/g s/SYS_I2C_BUS_MAX/I2C_BUS_MAX/g ' Signed-off-by: Masahiro Yamada --- README | 16 ++++----- arch/arm/cpu/arm926ejs/spear/cpu.c | 2 +- arch/arm/include/asm/arch-mx7/clock.h | 2 +- arch/arm/mach-imx/Makefile | 4 +-- arch/arm/mach-imx/mx5/clock.c | 2 +- arch/arm/mach-imx/mx6/clock.c | 2 +- arch/arm/mach-imx/mx7/clock.c | 2 +- arch/arm/mach-kirkwood/include/mach/config.h | 2 +- arch/arm/mach-omap2/Kconfig | 10 +++--- arch/arm/mach-omap2/omap3/clock.c | 2 +- arch/m68k/cpu/mcf5227x/cpu_init.c | 2 +- arch/m68k/cpu/mcf5227x/speed.c | 2 +- arch/m68k/cpu/mcf523x/cpu_init.c | 2 +- arch/m68k/cpu/mcf523x/speed.c | 2 +- arch/m68k/cpu/mcf52x2/cpu_init.c | 4 +-- arch/m68k/cpu/mcf52x2/speed.c | 2 +- arch/m68k/cpu/mcf532x/cpu_init.c | 4 +-- arch/m68k/cpu/mcf532x/speed.c | 2 +- arch/m68k/cpu/mcf5445x/speed.c | 2 +- arch/m68k/cpu/mcf547x_8x/cpu_init.c | 2 +- arch/m68k/cpu/mcf547x_8x/speed.c | 2 +- arch/m68k/include/asm/global_data.h | 2 +- board/compulab/cl-som-imx7/cl-som-imx7.c | 6 ++-- board/compulab/cm_fx6/cm_fx6.c | 2 +- board/compulab/cm_t35/cm_t35.c | 2 +- board/dhelectronics/dh_imx6/dh_imx6.c | 2 +- board/freescale/m52277evb/README | 2 +- board/freescale/m53017evb/README | 2 +- board/freescale/m5373evb/README | 2 +- board/freescale/m547xevb/README | 2 +- board/freescale/mx6sxsabresd/mx6sxsabresd.c | 2 +- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 4 +-- board/logicpd/am3517evm/am3517evm.c | 2 +- board/phytec/pcm058/pcm058.c | 2 +- board/phytec/pfla02/pfla02.c | 2 +- board/samtec/vining_2000/vining_2000.c | 2 +- board/technexion/pico-imx6ul/pico-imx6ul.c | 4 +-- board/technexion/pico-imx7d/pico-imx7d.c | 4 +-- board/ti/am3517crane/am3517crane.c | 2 +- board/ti/evm/evm.c | 2 +- board/udoo/neo/neo.c | 4 +-- board/warp7/warp7.c | 4 +-- configs/chromebit_mickey_defconfig | 2 +- configs/chromebook_jerry_defconfig | 2 +- configs/chromebook_link64_defconfig | 2 +- configs/chromebook_link_defconfig | 2 +- configs/chromebook_minnie_defconfig | 2 +- ...conga-qeval20-qa3-e3845-internal-uart_defconfig | 2 +- configs/conga-qeval20-qa3-e3845_defconfig | 2 +- configs/controlcenterdc_defconfig | 2 +- configs/db-88f6820-amc_defconfig | 2 +- configs/evb-ast2500_defconfig | 2 +- configs/evb-rk3036_defconfig | 2 +- configs/evb-rk3229_defconfig | 2 +- configs/evb-rk3288_defconfig | 2 +- configs/evb-rk3328_defconfig | 2 +- configs/evb-rk3399_defconfig | 2 +- configs/evb-rv1108_defconfig | 2 +- configs/fennec-rk3288_defconfig | 2 +- configs/firefly-rk3288_defconfig | 2 +- configs/firefly-rk3399_defconfig | 2 +- configs/imx6q_logic_defconfig | 2 +- configs/imx6qdl_icore_mmc_defconfig | 2 +- configs/imx6qdl_icore_nand_defconfig | 2 +- configs/imx6qdl_icore_rqs_defconfig | 2 +- configs/imx6ul_geam_mmc_defconfig | 2 +- configs/imx6ul_geam_nand_defconfig | 2 +- configs/imx6ul_isiot_mmc_defconfig | 2 +- configs/imx6ul_isiot_nand_defconfig | 2 +- configs/kylin-rk3036_defconfig | 2 +- configs/miqi-rk3288_defconfig | 2 +- configs/mvebu_db_armada8k_defconfig | 2 +- configs/mvebu_mcbin-88f8040_defconfig | 2 +- configs/odroid_defconfig | 2 +- configs/opos6uldev_defconfig | 2 +- configs/p2771-0000-000_defconfig | 2 +- configs/p2771-0000-500_defconfig | 2 +- configs/phycore-rk3288_defconfig | 2 +- configs/popmetal-rk3288_defconfig | 2 +- configs/puma-rk3399_defconfig | 2 +- configs/rock2_defconfig | 2 +- configs/rock_defconfig | 2 +- configs/s5pc210_universal_defconfig | 2 +- configs/sama5d27_som1_ek_mmc_defconfig | 2 +- configs/sama5d2_xplained_mmc_defconfig | 2 +- configs/sama5d2_xplained_spiflash_defconfig | 2 +- configs/sama5d4_xplained_mmc_defconfig | 2 +- configs/sama5d4_xplained_nandflash_defconfig | 2 +- configs/sama5d4_xplained_spiflash_defconfig | 2 +- configs/sandbox_defconfig | 2 +- configs/sandbox_flattree_defconfig | 2 +- configs/sandbox_noblk_defconfig | 2 +- configs/sandbox_spl_defconfig | 2 +- configs/socfpga_arria5_defconfig | 2 +- configs/socfpga_cyclone5_defconfig | 2 +- configs/socfpga_de0_nano_soc_defconfig | 2 +- configs/socfpga_de10_nano_defconfig | 2 +- configs/socfpga_de1_soc_defconfig | 2 +- configs/socfpga_is1_defconfig | 2 +- configs/socfpga_mcvevk_defconfig | 2 +- configs/socfpga_sockit_defconfig | 2 +- configs/socfpga_socrates_defconfig | 2 +- configs/socfpga_sr1500_defconfig | 2 +- configs/spear300_defconfig | 2 +- configs/spear300_nand_defconfig | 2 +- configs/spear300_usbtty_defconfig | 2 +- configs/spear300_usbtty_nand_defconfig | 2 +- configs/spear310_defconfig | 2 +- configs/spear310_nand_defconfig | 2 +- configs/spear310_pnor_defconfig | 2 +- configs/spear310_usbtty_defconfig | 2 +- configs/spear310_usbtty_nand_defconfig | 2 +- configs/spear310_usbtty_pnor_defconfig | 2 +- configs/spear320_defconfig | 2 +- configs/spear320_nand_defconfig | 2 +- configs/spear320_pnor_defconfig | 2 +- configs/spear320_usbtty_defconfig | 2 +- configs/spear320_usbtty_nand_defconfig | 2 +- configs/spear320_usbtty_pnor_defconfig | 2 +- configs/spear600_defconfig | 2 +- configs/spear600_nand_defconfig | 2 +- configs/spear600_usbtty_defconfig | 2 +- configs/spear600_usbtty_nand_defconfig | 2 +- ...eadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 2 +- configs/theadorable-x86-conga-qa3-e3845_defconfig | 2 +- configs/ti816x_evm_defconfig | 2 +- configs/tinker-rk3288_defconfig | 2 +- configs/trats2_defconfig | 2 +- configs/trats_defconfig | 2 +- configs/vyasa-rk3288_defconfig | 2 +- configs/x600_defconfig | 2 +- configs/xilinx_zynqmp_ep_defconfig | 2 +- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 2 +- configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 2 +- configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 2 +- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 2 +- drivers/i2c/Kconfig | 40 +++++++++++----------- drivers/i2c/Makefile | 34 +++++++++--------- drivers/i2c/davinci_i2c.c | 8 ++--- drivers/i2c/designware_i2c.c | 14 ++++---- drivers/i2c/mxc_i2c.c | 8 ++--- drivers/i2c/omap24xx_i2c.c | 12 +++---- drivers/i2c/s3c24x0_i2c.c | 8 ++--- include/asm-generic/global_data.h | 2 +- include/configs/B4860QDS.h | 2 +- include/configs/BSC9131RDB.h | 2 +- include/configs/BSC9132QDS.h | 2 +- include/configs/C29XPCIE.h | 2 +- include/configs/M5208EVBE.h | 2 +- include/configs/M52277EVB.h | 2 +- include/configs/M5253DEMO.h | 2 +- include/configs/M5275EVB.h | 2 +- include/configs/M53017EVB.h | 2 +- include/configs/M5329EVB.h | 2 +- include/configs/M5373EVB.h | 2 +- include/configs/M54451EVB.h | 2 +- include/configs/M54455EVB.h | 2 +- include/configs/M5475EVB.h | 2 +- include/configs/M5485EVB.h | 2 +- include/configs/MPC8308RDB.h | 2 +- include/configs/MPC8313ERDB.h | 2 +- include/configs/MPC8315ERDB.h | 2 +- include/configs/MPC8323ERDB.h | 2 +- include/configs/MPC832XEMDS.h | 2 +- include/configs/MPC8349EMDS.h | 2 +- include/configs/MPC8349ITX.h | 2 +- include/configs/MPC837XEMDS.h | 2 +- include/configs/MPC837XERDB.h | 2 +- include/configs/MPC8536DS.h | 2 +- include/configs/MPC8540ADS.h | 2 +- include/configs/MPC8541CDS.h | 2 +- include/configs/MPC8544DS.h | 2 +- include/configs/MPC8548CDS.h | 2 +- include/configs/MPC8555CDS.h | 2 +- include/configs/MPC8560ADS.h | 2 +- include/configs/MPC8568MDS.h | 2 +- include/configs/MPC8569MDS.h | 2 +- include/configs/MPC8572DS.h | 2 +- include/configs/MPC8610HPCD.h | 2 +- include/configs/MPC8641HPCN.h | 2 +- include/configs/P1010RDB.h | 2 +- include/configs/P1022DS.h | 2 +- include/configs/P1023RDB.h | 2 +- include/configs/P2041RDB.h | 2 +- include/configs/T102xQDS.h | 2 +- include/configs/T102xRDB.h | 2 +- include/configs/T1040QDS.h | 2 +- include/configs/T104xRDB.h | 2 +- include/configs/T208xQDS.h | 2 +- include/configs/T208xRDB.h | 2 +- include/configs/T4240RDB.h | 2 +- include/configs/TQM834x.h | 2 +- include/configs/UCP1020.h | 2 +- include/configs/advantech_dms-ba16.h | 8 ++--- include/configs/apalis_imx6.h | 8 ++--- include/configs/apf27.h | 6 ++-- include/configs/aristainetos-common.h | 8 ++--- include/configs/aristainetos2.h | 2 +- include/configs/aristainetos2b.h | 2 +- include/configs/astro_mcf5373l.h | 2 +- include/configs/cgtqmx6eval.h | 8 ++--- include/configs/cl-som-imx7.h | 4 +-- include/configs/clearfog.h | 2 +- include/configs/cm_fx6.h | 8 ++--- include/configs/colibri_imx6.h | 8 ++--- include/configs/colibri_imx7.h | 2 +- include/configs/controlcenterd.h | 2 +- include/configs/corenet_ds.h | 2 +- include/configs/cyrus.h | 2 +- include/configs/db-88f6720.h | 2 +- include/configs/db-88f6820-gp.h | 2 +- include/configs/db-mv784mp-gp.h | 2 +- include/configs/dh_imx6.h | 8 ++--- include/configs/ds414.h | 2 +- include/configs/eb_cpu5282.h | 2 +- include/configs/edminiv2.h | 2 +- include/configs/el6x_common.h | 8 ++--- include/configs/embestmx6boards.h | 8 ++--- include/configs/exynos5-common.h | 6 ++-- include/configs/flea3.h | 8 ++--- include/configs/ge_bx50v3.h | 8 ++--- include/configs/gw_ventana.h | 8 ++--- include/configs/hrcon.h | 2 +- include/configs/ids8313.h | 2 +- include/configs/imx31_phycore.h | 8 ++--- include/configs/km/km83xx-common.h | 2 +- include/configs/km/kmp204x-common.h | 2 +- include/configs/ls1012a_common.h | 6 ++-- include/configs/ls1021aiot.h | 8 ++--- include/configs/ls1021aqds.h | 8 ++--- include/configs/ls1021atwr.h | 8 ++--- include/configs/ls1043a_common.h | 10 +++--- include/configs/ls1046a_common.h | 10 +++--- include/configs/ls1088a_common.h | 10 +++--- include/configs/ls2080a_common.h | 10 +++--- include/configs/m53evk.h | 8 ++--- include/configs/maxbcm.h | 2 +- include/configs/mccmon6.h | 6 ++-- include/configs/mpc8308_p1m.h | 2 +- include/configs/mx25pdk.h | 6 ++-- include/configs/mx35pdk.h | 8 ++--- include/configs/mx53ard.h | 8 ++--- include/configs/mx53evk.h | 8 ++--- include/configs/mx53loco.h | 8 ++--- include/configs/mx53smd.h | 8 ++--- include/configs/mx6sabreauto.h | 8 ++--- include/configs/mx6sabresd.h | 8 ++--- include/configs/mx6slevk.h | 8 ++--- include/configs/mx6sllevk.h | 8 ++--- include/configs/mx6sxsabreauto.h | 8 ++--- include/configs/mx6sxsabresd.h | 8 ++--- include/configs/mx6ul_14x14_evk.h | 6 ++-- include/configs/mx6ullevk.h | 6 ++-- include/configs/mx7dsabresd.h | 2 +- include/configs/nitrogen6x.h | 8 ++--- include/configs/novena.h | 8 ++--- include/configs/ot1200.h | 8 ++--- include/configs/p1_p2_rdb_pc.h | 2 +- include/configs/p1_twr.h | 2 +- include/configs/pcm052.h | 4 +-- include/configs/pcm058.h | 4 +-- include/configs/pfla02.h | 4 +-- include/configs/pico-imx6ul.h | 4 +-- include/configs/pico-imx7d.h | 10 +++--- include/configs/platinum.h | 8 ++--- include/configs/sbc8349.h | 2 +- include/configs/sbc8548.h | 2 +- include/configs/sbc8641d.h | 2 +- include/configs/socrates.h | 2 +- include/configs/strider.h | 2 +- include/configs/sunxi-common.h | 2 +- include/configs/t4qds.h | 2 +- include/configs/tbs2910.h | 8 ++--- include/configs/theadorable.h | 2 +- include/configs/titanium.h | 8 ++--- include/configs/tqma6.h | 8 ++--- include/configs/turris_omnia.h | 2 +- include/configs/udoo_neo.h | 4 +-- include/configs/usbarmory.h | 6 ++-- include/configs/vf610twr.h | 6 ++-- include/configs/vining_2000.h | 6 ++-- include/configs/vme8349.h | 2 +- include/configs/wandboard.h | 8 ++--- include/configs/warp.h | 6 ++-- include/configs/warp7.h | 4 +-- include/configs/woodburn_common.h | 8 ++--- include/configs/xpedite517x.h | 2 +- include/configs/xpedite520x.h | 2 +- include/configs/xpedite537x.h | 2 +- include/configs/xpedite550x.h | 2 +- include/configs/xpress.h | 8 ++--- scripts/config_whitelist.txt | 12 +++---- 292 files changed, 536 insertions(+), 536 deletions(-) diff --git a/README b/README index 242287c..f778728 100644 --- a/README +++ b/README @@ -1711,7 +1711,7 @@ The following options need to be configured: for defining speed and slave address - drivers/i2c/fsl_i2c.c: - - activate i2c driver with CONFIG_SYS_I2C_FSL + - activate i2c driver with CONFIG_I2C_FSL define CONFIG_SYS_FSL_I2C_OFFSET for setting the register offset CONFIG_SYS_FSL_I2C_SPEED for the i2c speed and CONFIG_SYS_FSL_I2C_SLAVE for the slave addr of the first @@ -1733,11 +1733,11 @@ The following options need to be configured: - CONFIG_SYS_I2C_PPC4XX_CH1 activate hardware channel 1 - drivers/i2c/i2c_mxc.c - - activate this driver with CONFIG_SYS_I2C_MXC - - enable bus 1 with CONFIG_SYS_I2C_MXC_I2C1 - - enable bus 2 with CONFIG_SYS_I2C_MXC_I2C2 - - enable bus 3 with CONFIG_SYS_I2C_MXC_I2C3 - - enable bus 4 with CONFIG_SYS_I2C_MXC_I2C4 + - activate this driver with CONFIG_I2C_MXC + - enable bus 1 with CONFIG_I2C_MXC_I2C1 + - enable bus 2 with CONFIG_I2C_MXC_I2C2 + - enable bus 3 with CONFIG_I2C_MXC_I2C3 + - enable bus 4 with CONFIG_I2C_MXC_I2C4 - define speed for bus 1 with CONFIG_SYS_MXC_I2C1_SPEED - define slave for bus 1 with CONFIG_SYS_MXC_I2C1_SLAVE - define speed for bus 2 with CONFIG_SYS_MXC_I2C2_SPEED @@ -1780,7 +1780,7 @@ The following options need to be configured: - CONFIG_SYS_I2C_SH_NUM_CONTROLLERS for number of i2c buses - drivers/i2c/omap24xx_i2c.c - - activate this driver with CONFIG_SYS_I2C_OMAP24XX + - activate this driver with CONFIG_I2C_OMAP24XX - CONFIG_SYS_OMAP24_I2C_SPEED speed channel 0 - CONFIG_SYS_OMAP24_I2C_SLAVE slave addr channel 0 - CONFIG_SYS_OMAP24_I2C_SPEED1 speed channel 1 @@ -1798,7 +1798,7 @@ The following options need to be configured: - set CONFIG_SYS_I2C_ZYNQ_SLAVE for slave addr - drivers/i2c/s3c24x0_i2c.c: - - activate this driver with CONFIG_SYS_I2C_S3C24X0 + - activate this driver with CONFIG_I2C_S3C24X0 - This driver adds i2c buses (11 for Exynos5250, Exynos5420 9 i2c buses for Exynos4 and 1 for S3C24X0 SoCs from Samsung) with a fix speed from 100000 and the slave addr 0! diff --git a/arch/arm/cpu/arm926ejs/spear/cpu.c b/arch/arm/cpu/arm926ejs/spear/cpu.c index 7b9dc65..0d8da99 100644 --- a/arch/arm/cpu/arm926ejs/spear/cpu.c +++ b/arch/arm/cpu/arm926ejs/spear/cpu.c @@ -38,7 +38,7 @@ int arch_cpu_init(void) #if defined(CONFIG_DW_UDC) periph1_clken |= MISC_USBDENB; #endif -#if defined(CONFIG_SYS_I2C_DW) +#if defined(CONFIG_I2C_DW) periph1_clken |= MISC_I2CENB; #endif #if defined(CONFIG_ST_SMI) diff --git a/arch/arm/include/asm/arch-mx7/clock.h b/arch/arm/include/asm/arch-mx7/clock.h index 3b115ad..f2f7549 100644 --- a/arch/arm/include/asm/arch-mx7/clock.h +++ b/arch/arm/include/asm/arch-mx7/clock.h @@ -328,7 +328,7 @@ u32 mxc_get_clock(enum mxc_clock clk); u32 imx_get_uartclk(void); u32 imx_get_fecclk(void); void clock_init(void); -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC int enable_i2c_clk(unsigned char enable, unsigned i2c_num); #endif #ifdef CONFIG_FEC_MXC diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index d77c10e..06b7a8a 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -12,7 +12,7 @@ obj-y = iomux-v3.o endif ifeq ($(SOC),$(filter $(SOC),mx5 mx6)) obj-y += timer.o cpu.o speed.o -obj-$(CONFIG_SYS_I2C_MXC) += i2c-mxv7.o +obj-$(CONFIG_I2C_MXC) += i2c-mxv7.o endif ifeq ($(SOC),$(filter $(SOC),mx7 mx6 mxs)) obj-y += misc.o @@ -20,7 +20,7 @@ obj-$(CONFIG_SPL_BUILD) += spl.o endif ifeq ($(SOC),$(filter $(SOC),mx7)) obj-y += cpu.o -obj-$(CONFIG_SYS_I2C_MXC) += i2c-mxv7.o +obj-$(CONFIG_I2C_MXC) += i2c-mxv7.o obj-$(CONFIG_SYSCOUNTER_TIMER) += syscounter.o endif ifeq ($(SOC),$(filter $(SOC),mx6 mx7)) diff --git a/arch/arm/mach-imx/mx5/clock.c b/arch/arm/mach-imx/mx5/clock.c index 610098c..05abab5 100644 --- a/arch/arm/mach-imx/mx5/clock.c +++ b/arch/arm/mach-imx/mx5/clock.c @@ -94,7 +94,7 @@ void enable_usboh3_clk(bool enable) MXC_CCM_CCGR2_USBOH3_60M(cg)); } -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC /* i2c_num can be from 0, to 1 for i.MX51 and 2 for i.MX53 */ int enable_i2c_clk(unsigned char enable, unsigned i2c_num) { diff --git a/arch/arm/mach-imx/mx6/clock.c b/arch/arm/mach-imx/mx6/clock.c index 71a9e6b..42d2e9b 100644 --- a/arch/arm/mach-imx/mx6/clock.c +++ b/arch/arm/mach-imx/mx6/clock.c @@ -150,7 +150,7 @@ int enable_usdhc_clk(unsigned char enable, unsigned bus_num) } #endif -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC /* i2c_num can be from 0 - 3 */ int enable_i2c_clk(unsigned char enable, unsigned i2c_num) { diff --git a/arch/arm/mach-imx/mx7/clock.c b/arch/arm/mach-imx/mx7/clock.c index 8150faa..c4ee59f 100644 --- a/arch/arm/mach-imx/mx7/clock.c +++ b/arch/arm/mach-imx/mx7/clock.c @@ -520,7 +520,7 @@ unsigned int mxc_get_clock(enum mxc_clock clk) return 0; } -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC /* i2c_num can be 0 - 3 */ int enable_i2c_clk(unsigned char enable, unsigned i2c_num) { diff --git a/arch/arm/mach-kirkwood/include/mach/config.h b/arch/arm/mach-kirkwood/include/mach/config.h index ba60071..33eeab4 100644 --- a/arch/arm/mach-kirkwood/include/mach/config.h +++ b/arch/arm/mach-kirkwood/include/mach/config.h @@ -123,7 +123,7 @@ #ifdef CONFIG_CMD_I2C #ifndef CONFIG_SYS_I2C_SOFT #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #endif #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 7efef6b..c70aad8 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -23,7 +23,7 @@ config OMAP34XX imply SPL_OMAP3_ID_NAND imply SPL_POWER_SUPPORT imply SPL_SERIAL_SUPPORT - imply SYS_I2C_OMAP24XX + imply I2C_OMAP24XX imply SYS_THUMB_BUILD imply TWL4030_POWER @@ -42,7 +42,7 @@ config OMAP44XX imply SPL_NAND_SUPPORT imply SPL_POWER_SUPPORT imply SPL_SERIAL_SUPPORT - imply SYS_I2C_OMAP24XX + imply I2C_OMAP24XX imply SYS_THUMB_BUILD config OMAP54XX @@ -62,7 +62,7 @@ config OMAP54XX imply SPL_NAND_SUPPORT imply SPL_POWER_SUPPORT imply SPL_SERIAL_SUPPORT - imply SYS_I2C_OMAP24XX + imply I2C_OMAP24XX config TI814X bool "TI814X SoC" @@ -86,7 +86,7 @@ config AM43XX imply SPL_OF_TRANSLATE imply SPL_SEPARATE_BSS imply SPL_SYS_MALLOC_SIMPLE - imply SYS_I2C_OMAP24XX + imply I2C_OMAP24XX imply SYS_THUMB_BUILD help Support for AM43xx SOC from Texas Instruments. @@ -97,7 +97,7 @@ config AM43XX config AM33XX bool "AM33XX SoC" - imply SYS_I2C_OMAP24XX + imply I2C_OMAP24XX imply SYS_THUMB_BUILD imply USE_TINY_PRINTF help diff --git a/arch/arm/mach-omap2/omap3/clock.c b/arch/arm/mach-omap2/omap3/clock.c index 3daae61..3de0e01 100644 --- a/arch/arm/mach-omap2/omap3/clock.c +++ b/arch/arm/mach-omap2/omap3/clock.c @@ -772,7 +772,7 @@ void per_clocks_enable(void) setbits_le32(&prcm_base->iclken_per, 0x00020000); #endif -#ifdef CONFIG_SYS_I2C_OMAP24XX +#ifdef CONFIG_I2C_OMAP24XX /* Turn on all 3 I2C clocks */ setbits_le32(&prcm_base->fclken1_core, 0x00038000); setbits_le32(&prcm_base->iclken1_core, 0x00038000); /* I2C1,2,3 = on */ diff --git a/arch/m68k/cpu/mcf5227x/cpu_init.c b/arch/m68k/cpu/mcf5227x/cpu_init.c index 91b5fad..9f3aaa8 100644 --- a/arch/m68k/cpu/mcf5227x/cpu_init.c +++ b/arch/m68k/cpu/mcf5227x/cpu_init.c @@ -89,7 +89,7 @@ void cpu_init_f(void) out_be32(&fbcs->csmr5, CONFIG_SYS_CS5_MASK); #endif -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL out_8(&gpio->par_i2c, GPIO_PAR_I2C_SCL_SCL | GPIO_PAR_I2C_SDA_SDA); #endif diff --git a/arch/m68k/cpu/mcf5227x/speed.c b/arch/m68k/cpu/mcf5227x/speed.c index 44de4a6..784183a 100644 --- a/arch/m68k/cpu/mcf5227x/speed.c +++ b/arch/m68k/cpu/mcf5227x/speed.c @@ -118,7 +118,7 @@ int get_clocks(void) gd->bus_clk = gd->arch.flb_clk; } -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL gd->arch.i2c1_clk = gd->bus_clk; #endif diff --git a/arch/m68k/cpu/mcf523x/cpu_init.c b/arch/m68k/cpu/mcf523x/cpu_init.c index af1fd56..ca91ff0 100644 --- a/arch/m68k/cpu/mcf523x/cpu_init.c +++ b/arch/m68k/cpu/mcf523x/cpu_init.c @@ -106,7 +106,7 @@ void cpu_init_f(void) out_be32(&fbcs->csmr7, CONFIG_SYS_CS7_MASK); #endif -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL CONFIG_SYS_I2C_PINMUX_REG &= CONFIG_SYS_I2C_PINMUX_CLR; CONFIG_SYS_I2C_PINMUX_REG |= CONFIG_SYS_I2C_PINMUX_SET; #endif diff --git a/arch/m68k/cpu/mcf523x/speed.c b/arch/m68k/cpu/mcf523x/speed.c index a4aa05b..062029b 100644 --- a/arch/m68k/cpu/mcf523x/speed.c +++ b/arch/m68k/cpu/mcf523x/speed.c @@ -31,7 +31,7 @@ int get_clocks(void) gd->bus_clk = CONFIG_SYS_CLK; gd->cpu_clk = (gd->bus_clk * 2); -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL gd->arch.i2c1_clk = gd->bus_clk; #endif diff --git a/arch/m68k/cpu/mcf52x2/cpu_init.c b/arch/m68k/cpu/mcf52x2/cpu_init.c index 7b66720..a09bd6d 100644 --- a/arch/m68k/cpu/mcf52x2/cpu_init.c +++ b/arch/m68k/cpu/mcf52x2/cpu_init.c @@ -212,7 +212,7 @@ void cpu_init_f(void) /* FlexBus Chipselect */ init_fbcs(); -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL CONFIG_SYS_I2C_PINMUX_REG = CONFIG_SYS_I2C_PINMUX_REG & CONFIG_SYS_I2C_PINMUX_CLR; CONFIG_SYS_I2C_PINMUX_REG |= CONFIG_SYS_I2C_PINMUX_SET; @@ -470,7 +470,7 @@ void cpu_init_f(void) init_fbcs(); #endif /* #ifndef CONFIG_MONITOR_IS_IN_RAM */ -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL CONFIG_SYS_I2C_PINMUX_REG &= CONFIG_SYS_I2C_PINMUX_CLR; CONFIG_SYS_I2C_PINMUX_REG |= CONFIG_SYS_I2C_PINMUX_SET; #endif diff --git a/arch/m68k/cpu/mcf52x2/speed.c b/arch/m68k/cpu/mcf52x2/speed.c index c5961d4..4e6a68d 100644 --- a/arch/m68k/cpu/mcf52x2/speed.c +++ b/arch/m68k/cpu/mcf52x2/speed.c @@ -74,7 +74,7 @@ int get_clocks (void) gd->bus_clk = gd->cpu_clk; #endif -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL gd->arch.i2c1_clk = gd->bus_clk; #ifdef CONFIG_SYS_I2C2_FSL_OFFSET gd->arch.i2c2_clk = gd->bus_clk; diff --git a/arch/m68k/cpu/mcf532x/cpu_init.c b/arch/m68k/cpu/mcf532x/cpu_init.c index 8d01f5f..a33049e 100644 --- a/arch/m68k/cpu/mcf532x/cpu_init.c +++ b/arch/m68k/cpu/mcf532x/cpu_init.c @@ -82,7 +82,7 @@ void cpu_init_f(void) out_be32(&fbcs->csmr5, CONFIG_SYS_CS5_MASK); #endif -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL out_8(&gpio->par_feci2c, GPIO_PAR_FECI2C_SDA_SDA | GPIO_PAR_FECI2C_SCL_SCL); #endif @@ -276,7 +276,7 @@ void cpu_init_f(void) out_be32(&fbcs->csmr5, CONFIG_SYS_CS5_MASK); #endif -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL out_8(&gpio->par_feci2c, GPIO_PAR_FECI2C_SCL_SCL | GPIO_PAR_FECI2C_SDA_SDA); #endif diff --git a/arch/m68k/cpu/mcf532x/speed.c b/arch/m68k/cpu/mcf532x/speed.c index a440bbb..6524614 100644 --- a/arch/m68k/cpu/mcf532x/speed.c +++ b/arch/m68k/cpu/mcf532x/speed.c @@ -254,7 +254,7 @@ int get_clocks(void) gd->bus_clk = clock_pll(CONFIG_SYS_CLK / 1000, 0) * 1000; gd->cpu_clk = (gd->bus_clk * 3); -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL gd->arch.i2c1_clk = gd->bus_clk; #endif diff --git a/arch/m68k/cpu/mcf5445x/speed.c b/arch/m68k/cpu/mcf5445x/speed.c index 4e363a4..924c26c 100644 --- a/arch/m68k/cpu/mcf5445x/speed.c +++ b/arch/m68k/cpu/mcf5445x/speed.c @@ -257,7 +257,7 @@ void setup_5445x_clocks(void) #endif } -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL gd->arch.i2c1_clk = gd->bus_clk; #endif } diff --git a/arch/m68k/cpu/mcf547x_8x/cpu_init.c b/arch/m68k/cpu/mcf547x_8x/cpu_init.c index c3df831..69f7ac7 100644 --- a/arch/m68k/cpu/mcf547x_8x/cpu_init.c +++ b/arch/m68k/cpu/mcf547x_8x/cpu_init.c @@ -79,7 +79,7 @@ void cpu_init_f(void) out_be32(&fbcs->csmr5, CONFIG_SYS_CS5_MASK); #endif -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL out_be16(&gpio->par_feci2cirq, GPIO_PAR_FECI2CIRQ_SCL | GPIO_PAR_FECI2CIRQ_SDA); #endif diff --git a/arch/m68k/cpu/mcf547x_8x/speed.c b/arch/m68k/cpu/mcf547x_8x/speed.c index 2bc4c44..6543f21 100644 --- a/arch/m68k/cpu/mcf547x_8x/speed.c +++ b/arch/m68k/cpu/mcf547x_8x/speed.c @@ -24,7 +24,7 @@ int get_clocks(void) gd->bus_clk = CONFIG_SYS_CLK; gd->cpu_clk = (gd->bus_clk * 2); -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL gd->arch.i2c1_clk = gd->bus_clk; #endif diff --git a/arch/m68k/include/asm/global_data.h b/arch/m68k/include/asm/global_data.h index b55c91e..9f77179 100644 --- a/arch/m68k/include/asm/global_data.h +++ b/arch/m68k/include/asm/global_data.h @@ -10,7 +10,7 @@ /* Architecture-specific global data */ struct arch_global_data { -#ifdef CONFIG_SYS_I2C_FSL +#ifdef CONFIG_I2C_FSL unsigned long i2c1_clk; unsigned long i2c2_clk; #endif diff --git a/board/compulab/cl-som-imx7/cl-som-imx7.c b/board/compulab/cl-som-imx7/cl-som-imx7.c index f8b1cda..f2aaccc 100644 --- a/board/compulab/cl-som-imx7/cl-som-imx7.c +++ b/board/compulab/cl-som-imx7/cl-som-imx7.c @@ -25,7 +25,7 @@ DECLARE_GLOBAL_DATA_PTR; -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC #define I2C_PAD_CTRL (PAD_CTL_DSE_3P3V_32OHM | PAD_CTL_SRE_SLOW | \ PAD_CTL_HYS) @@ -57,9 +57,9 @@ static void cl_som_imx7_setup_i2c(void) { setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &cl_som_imx7_i2c_pad_info2); } -#else /* !CONFIG_SYS_I2C_MXC */ +#else /* !CONFIG_I2C_MXC */ static void cl_som_imx7_setup_i2c(void) {} -#endif /* CONFIG_SYS_I2C_MXC */ +#endif /* CONFIG_I2C_MXC */ int dram_init(void) { diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c index 638e9f3..8c32098 100644 --- a/board/compulab/cm_fx6/cm_fx6.c +++ b/board/compulab/cm_fx6/cm_fx6.c @@ -256,7 +256,7 @@ int sata_stop(void) static int cm_fx6_setup_issd(void) { return 0; } #endif -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC #define I2C_PAD_CTRL (PAD_CTL_PUS_100K_UP | PAD_CTL_SPEED_MED | \ PAD_CTL_DSE_40ohm | PAD_CTL_HYS | \ PAD_CTL_ODE | PAD_CTL_SRE_FAST) diff --git a/board/compulab/cm_t35/cm_t35.c b/board/compulab/cm_t35/cm_t35.c index be938eb..7d1b106 100644 --- a/board/compulab/cm_t35/cm_t35.c +++ b/board/compulab/cm_t35/cm_t35.c @@ -398,7 +398,7 @@ void board_mmc_power_init(void) } #endif -#ifdef CONFIG_SYS_I2C_OMAP24XX +#ifdef CONFIG_I2C_OMAP24XX /* * Routine: reset_net_chip * Description: reset the Ethernet controller via TPS65930 GPIO diff --git a/board/dhelectronics/dh_imx6/dh_imx6.c b/board/dhelectronics/dh_imx6/dh_imx6.c index c76da4d..c349b6f 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6.c +++ b/board/dhelectronics/dh_imx6/dh_imx6.c @@ -345,7 +345,7 @@ int board_init(void) /* Enable eim_slow clocks */ setbits_le32(&mxc_ccm->CCGR6, 0x1 << MXC_CCM_CCGR6_EMI_SLOW_OFFSET); -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC if (is_mx6dq()) { setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &dh6dq_i2c_pad_info0); setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &dh6dq_i2c_pad_info1); diff --git a/board/freescale/m52277evb/README b/board/freescale/m52277evb/README index 89e033e..bd46779 100644 --- a/board/freescale/m52277evb/README +++ b/board/freescale/m52277evb/README @@ -82,7 +82,7 @@ CONFIG_CMD_DATE -- enable to use date feature in U-Boot CONFIG_MCFTMR -- define to use DMA timer CONFIG_MCFPIT -- define to use PIT timer -CONFIG_SYS_I2C_FSL -- define to use FSL common I2C driver +CONFIG_I2C_FSL -- define to use FSL common I2C driver CONFIG_SYS_I2C_SOFT -- define for I2C bit-banged CONFIG_SYS_I2C_SPEED -- define for I2C speed CONFIG_SYS_I2C_SLAVE -- define for I2C slave address diff --git a/board/freescale/m53017evb/README b/board/freescale/m53017evb/README index 2fca12c..b09c93b 100644 --- a/board/freescale/m53017evb/README +++ b/board/freescale/m53017evb/README @@ -90,7 +90,7 @@ MCFFEC_TOUT_LOOP -- set FEC timeout loop CONFIG_MCFTMR -- define to use DMA timer CONFIG_MCFPIT -- define to use PIT timer -CONFIG_SYS_I2C_FSL -- define to use FSL common I2C driver +CONFIG_I2C_FSL -- define to use FSL common I2C driver CONFIG_SYS_I2C_SOFT -- define for I2C bit-banged CONFIG_SYS_I2C_SPEED -- define for I2C speed CONFIG_SYS_I2C_SLAVE -- define for I2C slave address diff --git a/board/freescale/m5373evb/README b/board/freescale/m5373evb/README index 757f0ab..40f7de1 100644 --- a/board/freescale/m5373evb/README +++ b/board/freescale/m5373evb/README @@ -89,7 +89,7 @@ MCFFEC_TOUT_LOOP -- set FEC timeout loop CONFIG_MCFTMR -- define to use DMA timer CONFIG_MCFPIT -- define to use PIT timer -CONFIG_SYS_I2C_FSL -- define to use FSL common I2C driver +CONFIG_I2C_FSL -- define to use FSL common I2C driver CONFIG_SYS_I2C_SOFT -- define for I2C bit-banged CONFIG_SYS_I2C_SPEED -- define for I2C speed CONFIG_SYS_I2C_SLAVE -- define for I2C slave address diff --git a/board/freescale/m547xevb/README b/board/freescale/m547xevb/README index ce7b27b..549a0a0 100644 --- a/board/freescale/m547xevb/README +++ b/board/freescale/m547xevb/README @@ -97,7 +97,7 @@ CONFIG_DOS_PARTITION -- enable DOS read/write CONFIG_SLTTMR -- define to use SLT timer -CONFIG_SYS_I2C_FSL -- define to use FSL common I2C driver +CONFIG_I2C_FSL -- define to use FSL common I2C driver CONFIG_SYS_I2C_SOFT -- define for I2C bit-banged CONFIG_SYS_I2C_SPEED -- define for I2C speed CONFIG_SYS_I2C_SLAVE -- define for I2C slave address diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index 2aeef61..3f99db3 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c @@ -525,7 +525,7 @@ int board_init(void) /* Address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1); #endif diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index cf7a069..2c21370 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c @@ -153,7 +153,7 @@ static void iox74lv_init(void) gpio_direction_output(IOX_STCP, 1); }; -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC #define PC MUX_PAD_CTRL(I2C_PAD_CTRL) /* I2C1 for PMIC and EEPROM */ static struct i2c_pads_info i2c_pad_info1 = { @@ -634,7 +634,7 @@ int board_init(void) iox74lv_init(); -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1); #endif diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c index 29f136a..458289b 100644 --- a/board/logicpd/am3517evm/am3517evm.c +++ b/board/logicpd/am3517evm/am3517evm.c @@ -123,7 +123,7 @@ int misc_init_r(void) volatile unsigned int ctr; u32 reset; -#ifdef CONFIG_SYS_I2C_OMAP24XX +#ifdef CONFIG_I2C_OMAP24XX i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); #endif diff --git a/board/phytec/pcm058/pcm058.c b/board/phytec/pcm058/pcm058.c index 1538158..f56d30f 100644 --- a/board/phytec/pcm058/pcm058.c +++ b/board/phytec/pcm058/pcm058.c @@ -350,7 +350,7 @@ int board_init(void) /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC setup_i2c(2, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info2); #endif diff --git a/board/phytec/pfla02/pfla02.c b/board/phytec/pfla02/pfla02.c index 136f1d5..a005f51 100644 --- a/board/phytec/pfla02/pfla02.c +++ b/board/phytec/pfla02/pfla02.c @@ -346,7 +346,7 @@ int board_init(void) /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info); #endif diff --git a/board/samtec/vining_2000/vining_2000.c b/board/samtec/vining_2000/vining_2000.c index af1a3e7..7ab2f71 100644 --- a/board/samtec/vining_2000/vining_2000.c +++ b/board/samtec/vining_2000/vining_2000.c @@ -502,7 +502,7 @@ int board_init(void) /* Address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1); #endif diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c index 39f7e01..ff96d8e 100644 --- a/board/technexion/pico-imx6ul/pico-imx6ul.c +++ b/board/technexion/pico-imx6ul/pico-imx6ul.c @@ -57,7 +57,7 @@ DECLARE_GLOBAL_DATA_PTR; #define RMII_PHY_RESET IMX_GPIO_NR(1, 28) -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC #define PC MUX_PAD_CTRL(I2C_PAD_CTRL) /* I2C2 for PMIC */ struct i2c_pads_info i2c_pad_info1 = { @@ -275,7 +275,7 @@ int board_init(void) /* Address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; - #ifdef CONFIG_SYS_I2C_MXC + #ifdef CONFIG_I2C_MXC setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1); #endif diff --git a/board/technexion/pico-imx7d/pico-imx7d.c b/board/technexion/pico-imx7d/pico-imx7d.c index 67bab51..eee2d68 100644 --- a/board/technexion/pico-imx7d/pico-imx7d.c +++ b/board/technexion/pico-imx7d/pico-imx7d.c @@ -40,7 +40,7 @@ DECLARE_GLOBAL_DATA_PTR; #define I2C_PAD_CTRL (PAD_CTL_DSE_3P3V_32OHM | PAD_CTL_SRE_SLOW | \ PAD_CTL_HYS | PAD_CTL_PUE | PAD_CTL_PUS_PU100KOHM) -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC #define PC MUX_PAD_CTRL(I2C_PAD_CTRL) /* I2C4 for PMIC */ static struct i2c_pads_info i2c_pad_info4 = { @@ -240,7 +240,7 @@ int board_early_init_f(void) { setup_iomux_uart(); -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC setup_i2c(3, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info4); #endif diff --git a/board/ti/am3517crane/am3517crane.c b/board/ti/am3517crane/am3517crane.c index 136cc43..08318be 100644 --- a/board/ti/am3517crane/am3517crane.c +++ b/board/ti/am3517crane/am3517crane.c @@ -43,7 +43,7 @@ int board_init(void) */ int misc_init_r(void) { -#ifdef CONFIG_SYS_I2C_OMAP24XX +#ifdef CONFIG_I2C_OMAP24XX i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); #endif diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index 1f0433d..83268a3 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -203,7 +203,7 @@ int misc_init_r(void) { twl4030_power_init(); -#ifdef CONFIG_SYS_I2C_OMAP24XX +#ifdef CONFIG_I2C_OMAP24XX i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); #endif diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index 7fa1289..693dcd2 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -79,7 +79,7 @@ int dram_init(void) return 0; } -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC #define PC MUX_PAD_CTRL(I2C_PAD_CTRL) /* I2C1 for PMIC */ static struct i2c_pads_info i2c_pad_info1 = { @@ -349,7 +349,7 @@ int board_init(void) /* Active high for ncp692 */ gpio_direction_output(IMX_GPIO_NR(4, 16) , 1); -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1); #endif diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c index d422d63..4cf9b00 100644 --- a/board/warp7/warp7.c +++ b/board/warp7/warp7.c @@ -34,7 +34,7 @@ DECLARE_GLOBAL_DATA_PTR; #define I2C_PAD_CTRL (PAD_CTL_DSE_3P3V_32OHM | PAD_CTL_SRE_SLOW | \ PAD_CTL_HYS | PAD_CTL_PUE | PAD_CTL_PUS_PU100KOHM) -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC #define PC MUX_PAD_CTRL(I2C_PAD_CTRL) /* I2C1 for PMIC */ static struct i2c_pads_info i2c_pad_info1 = { @@ -157,7 +157,7 @@ int board_init(void) /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; - #ifdef CONFIG_SYS_I2C_MXC + #ifdef CONFIG_I2C_MXC setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i2c_pad_info1); #endif diff --git a/configs/chromebit_mickey_defconfig b/configs/chromebit_mickey_defconfig index c74a006..366ab1e 100644 --- a/configs/chromebit_mickey_defconfig +++ b/configs/chromebit_mickey_defconfig @@ -43,7 +43,7 @@ CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y CONFIG_I2C_CROS_EC_TUNNEL=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_I2C_MUX=y CONFIG_DM_KEYBOARD=y CONFIG_CROS_EC_KEYB=y diff --git a/configs/chromebook_jerry_defconfig b/configs/chromebook_jerry_defconfig index 9576c30..b9e62e0 100644 --- a/configs/chromebook_jerry_defconfig +++ b/configs/chromebook_jerry_defconfig @@ -45,7 +45,7 @@ CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y CONFIG_I2C_CROS_EC_TUNNEL=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_I2C_MUX=y CONFIG_DM_KEYBOARD=y CONFIG_CROS_EC_KEYB=y diff --git a/configs/chromebook_link64_defconfig b/configs/chromebook_link64_defconfig index db22ae5..d4837ab 100644 --- a/configs/chromebook_link64_defconfig +++ b/configs/chromebook_link64_defconfig @@ -58,7 +58,7 @@ CONFIG_SYSCON=y CONFIG_SPL_SYSCON=y CONFIG_CPU=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_INTEL=y +CONFIG_I2C_INTEL=y CONFIG_CROS_EC=y CONFIG_CROS_EC_LPC=y CONFIG_DEBUG_UART_BASE=0x3f8 diff --git a/configs/chromebook_link_defconfig b/configs/chromebook_link_defconfig index 61d184f..5ca88f5 100644 --- a/configs/chromebook_link_defconfig +++ b/configs/chromebook_link_defconfig @@ -41,7 +41,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CPU=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_INTEL=y +CONFIG_I2C_INTEL=y CONFIG_CROS_EC=y CONFIG_CROS_EC_LPC=y CONFIG_DEBUG_UART_BASE=0x3f8 diff --git a/configs/chromebook_minnie_defconfig b/configs/chromebook_minnie_defconfig index 197c242..a30bb15 100644 --- a/configs/chromebook_minnie_defconfig +++ b/configs/chromebook_minnie_defconfig @@ -44,7 +44,7 @@ CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y CONFIG_I2C_CROS_EC_TUNNEL=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_I2C_MUX=y CONFIG_DM_KEYBOARD=y CONFIG_CROS_EC_KEYB=y diff --git a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig index 971cfc6..fbb1a84 100644 --- a/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig +++ b/configs/conga-qeval20-qa3-e3845-internal-uart_defconfig @@ -45,7 +45,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CPU=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_INTEL=y +CONFIG_I2C_INTEL=y CONFIG_WINBOND_W83627=y CONFIG_E1000=y CONFIG_DEBUG_UART_BASE=0x3f8 diff --git a/configs/conga-qeval20-qa3-e3845_defconfig b/configs/conga-qeval20-qa3-e3845_defconfig index aeeb9f6..73cec8d 100644 --- a/configs/conga-qeval20-qa3-e3845_defconfig +++ b/configs/conga-qeval20-qa3-e3845_defconfig @@ -45,7 +45,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CPU=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_INTEL=y +CONFIG_I2C_INTEL=y CONFIG_WINBOND_W83627=y CONFIG_E1000=y CONFIG_USB_STORAGE=y diff --git a/configs/controlcenterdc_defconfig b/configs/controlcenterdc_defconfig index f65e525..dd948c2 100644 --- a/configs/controlcenterdc_defconfig +++ b/configs/controlcenterdc_defconfig @@ -38,7 +38,7 @@ CONFIG_SPL_OF_TRANSLATE=y CONFIG_DM_GPIO=y CONFIG_DM_PCA953X=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_MVTWSI=y +CONFIG_I2C_MVTWSI=y CONFIG_LED=y CONFIG_LED_GPIO=y CONFIG_MMC_SDHCI=y diff --git a/configs/db-88f6820-amc_defconfig b/configs/db-88f6820-amc_defconfig index abd793c..24cd29a 100644 --- a/configs/db-88f6820-amc_defconfig +++ b/configs/db-88f6820-amc_defconfig @@ -38,7 +38,7 @@ CONFIG_EFI_PARTITION=y CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_SPL_OF_TRANSLATE=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_MVTWSI=y +CONFIG_I2C_MVTWSI=y # CONFIG_MMC is not set CONFIG_NAND=y CONFIG_NAND_PXA3XX=y diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig index 75c62a9..68bbdaa 100644 --- a/configs/evb-ast2500_defconfig +++ b/configs/evb-ast2500_defconfig @@ -13,7 +13,7 @@ CONFIG_CMD_I2C=y CONFIG_REGMAP=y CONFIG_CLK=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_ASPEED=y +CONFIG_I2C_ASPEED=y CONFIG_PINCTRL=y CONFIG_RAM=y CONFIG_DM_RESET=y diff --git a/configs/evb-rk3036_defconfig b/configs/evb-rk3036_defconfig index 783683a..81e9299 100644 --- a/configs/evb-rk3036_defconfig +++ b/configs/evb-rk3036_defconfig @@ -30,7 +30,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_LED=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y diff --git a/configs/evb-rk3229_defconfig b/configs/evb-rk3229_defconfig index b226f66..e3226ee 100644 --- a/configs/evb-rk3229_defconfig +++ b/configs/evb-rk3229_defconfig @@ -28,7 +28,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_PINCTRL=y diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288_defconfig index e944f97..5b951ab 100644 --- a/configs/evb-rk3288_defconfig +++ b/configs/evb-rk3288_defconfig @@ -39,7 +39,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_LED=y CONFIG_LED_GPIO=y CONFIG_MMC_DW=y diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig index 3b8b104..c846c9c 100644 --- a/configs/evb-rk3328_defconfig +++ b/configs/evb-rk3328_defconfig @@ -21,7 +21,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_PINCTRL=y diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index 42df743..18709a5 100644 --- a/configs/evb-rk3399_defconfig +++ b/configs/evb-rk3399_defconfig @@ -32,7 +32,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ROCKCHIP=y diff --git a/configs/evb-rv1108_defconfig b/configs/evb-rv1108_defconfig index 239676b..99fee97 100644 --- a/configs/evb-rv1108_defconfig +++ b/configs/evb-rv1108_defconfig @@ -20,7 +20,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_GIGADEVICE=y diff --git a/configs/fennec-rk3288_defconfig b/configs/fennec-rk3288_defconfig index 008776e..1509edb 100644 --- a/configs/fennec-rk3288_defconfig +++ b/configs/fennec-rk3288_defconfig @@ -42,7 +42,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_DM_ETH=y diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig index bd7e1a0..15f8c33 100644 --- a/configs/firefly-rk3288_defconfig +++ b/configs/firefly-rk3288_defconfig @@ -42,7 +42,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_DM_KEYBOARD=y CONFIG_LED=y CONFIG_LED_GPIO=y diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig index 2620488..ad60a0d 100644 --- a/configs/firefly-rk3399_defconfig +++ b/configs/firefly-rk3399_defconfig @@ -32,7 +32,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig index 8018198..ad00edb 100644 --- a/configs/imx6q_logic_defconfig +++ b/configs/imx6q_logic_defconfig @@ -29,7 +29,7 @@ CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_MTDPARTS=y CONFIG_ENV_IS_IN_NAND=y # CONFIG_BLK is not set -CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MXC=y CONFIG_NAND=y CONFIG_NAND_MXS=y CONFIG_PHYLIB=y diff --git a/configs/imx6qdl_icore_mmc_defconfig b/configs/imx6qdl_icore_mmc_defconfig index 28e4ce9..1909852 100644 --- a/configs/imx6qdl_icore_mmc_defconfig +++ b/configs/imx6qdl_icore_mmc_defconfig @@ -36,7 +36,7 @@ CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_LIST="imx6q-icore imx6dl-icore" CONFIG_ENV_IS_IN_MMC=y -CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MXC=y CONFIG_PHYLIB=y CONFIG_PHY_SMSC=y CONFIG_FEC_MXC=y diff --git a/configs/imx6qdl_icore_nand_defconfig b/configs/imx6qdl_icore_nand_defconfig index c341b17..cdac47b 100644 --- a/configs/imx6qdl_icore_nand_defconfig +++ b/configs/imx6qdl_icore_nand_defconfig @@ -33,7 +33,7 @@ CONFIG_CMD_UBI=y CONFIG_OF_LIST="imx6q-icore imx6dl-icore" CONFIG_ENV_IS_IN_NAND=y # CONFIG_BLK is not set -CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MXC=y CONFIG_NAND=y CONFIG_NAND_MXS=y CONFIG_PHYLIB=y diff --git a/configs/imx6qdl_icore_rqs_defconfig b/configs/imx6qdl_icore_rqs_defconfig index fbe9651..e5e75d9 100644 --- a/configs/imx6qdl_icore_rqs_defconfig +++ b/configs/imx6qdl_icore_rqs_defconfig @@ -33,7 +33,7 @@ CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_LIST="imx6q-icore-rqs imx6dl-icore-rqs" CONFIG_ENV_IS_IN_MMC=y -CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MXC=y CONFIG_PHYLIB=y CONFIG_PHY_MICREL=y CONFIG_FEC_MXC=y diff --git a/configs/imx6ul_geam_mmc_defconfig b/configs/imx6ul_geam_mmc_defconfig index 7c79873..23a22a2 100644 --- a/configs/imx6ul_geam_mmc_defconfig +++ b/configs/imx6ul_geam_mmc_defconfig @@ -33,7 +33,7 @@ CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_ENV_IS_IN_MMC=y # CONFIG_BLK is not set -CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MXC=y CONFIG_PHYLIB=y CONFIG_PHY_SMSC=y CONFIG_FEC_MXC=y diff --git a/configs/imx6ul_geam_nand_defconfig b/configs/imx6ul_geam_nand_defconfig index d6038c1..2b0df93 100644 --- a/configs/imx6ul_geam_nand_defconfig +++ b/configs/imx6ul_geam_nand_defconfig @@ -32,7 +32,7 @@ CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_UBI=y CONFIG_ENV_IS_IN_NAND=y # CONFIG_BLK is not set -CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MXC=y CONFIG_NAND=y CONFIG_NAND_MXS=y CONFIG_PHYLIB=y diff --git a/configs/imx6ul_isiot_mmc_defconfig b/configs/imx6ul_isiot_mmc_defconfig index c673d93..3e25beb 100644 --- a/configs/imx6ul_isiot_mmc_defconfig +++ b/configs/imx6ul_isiot_mmc_defconfig @@ -33,7 +33,7 @@ CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_ENV_IS_IN_MMC=y # CONFIG_BLK is not set -CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MXC=y CONFIG_PHYLIB=y CONFIG_PHY_SMSC=y CONFIG_FEC_MXC=y diff --git a/configs/imx6ul_isiot_nand_defconfig b/configs/imx6ul_isiot_nand_defconfig index e481151..185ce23 100644 --- a/configs/imx6ul_isiot_nand_defconfig +++ b/configs/imx6ul_isiot_nand_defconfig @@ -32,7 +32,7 @@ CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_UBI=y CONFIG_ENV_IS_IN_NAND=y # CONFIG_BLK is not set -CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MXC=y CONFIG_NAND=y CONFIG_NAND_MXS=y CONFIG_PHYLIB=y diff --git a/configs/kylin-rk3036_defconfig b/configs/kylin-rk3036_defconfig index 7af01e2..e23e3d5 100644 --- a/configs/kylin-rk3036_defconfig +++ b/configs/kylin-rk3036_defconfig @@ -30,7 +30,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_LED=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y diff --git a/configs/miqi-rk3288_defconfig b/configs/miqi-rk3288_defconfig index 7478f9b..338cd9f 100644 --- a/configs/miqi-rk3288_defconfig +++ b/configs/miqi-rk3288_defconfig @@ -42,7 +42,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_DM_ETH=y diff --git a/configs/mvebu_db_armada8k_defconfig b/configs/mvebu_db_armada8k_defconfig index 9fa4d9f..852f0eb 100644 --- a/configs/mvebu_db_armada8k_defconfig +++ b/configs/mvebu_db_armada8k_defconfig @@ -40,7 +40,7 @@ CONFIG_EFI_PARTITION=y CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_BLOCK_CACHE=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_MVTWSI=y +CONFIG_I2C_MVTWSI=y CONFIG_MISC=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y diff --git a/configs/mvebu_mcbin-88f8040_defconfig b/configs/mvebu_mcbin-88f8040_defconfig index 9afe651..1700f71 100644 --- a/configs/mvebu_mcbin-88f8040_defconfig +++ b/configs/mvebu_mcbin-88f8040_defconfig @@ -43,7 +43,7 @@ CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_BLOCK_CACHE=y CONFIG_DM_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_MVTWSI=y +CONFIG_I2C_MVTWSI=y CONFIG_MISC=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig index bca423e..1209dbf 100644 --- a/configs/odroid_defconfig +++ b/configs/odroid_defconfig @@ -40,7 +40,7 @@ CONFIG_CMD_FS_GENERIC=y CONFIG_ISO_PARTITION=y CONFIG_OF_CONTROL=y CONFIG_DFU_MMC=y -CONFIG_SYS_I2C_S3C24X0=y +CONFIG_I2C_S3C24X0=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y diff --git a/configs/opos6uldev_defconfig b/configs/opos6uldev_defconfig index 6b1aa7b..52de71f 100644 --- a/configs/opos6uldev_defconfig +++ b/configs/opos6uldev_defconfig @@ -59,7 +59,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y # CONFIG_BLK is not set CONFIG_DM_I2C=y -CONFIG_SYS_I2C_MXC=y +CONFIG_I2C_MXC=y CONFIG_PWRSEQ=y CONFIG_PHYLIB=y CONFIG_PHY_MICREL=y diff --git a/configs/p2771-0000-000_defconfig b/configs/p2771-0000-000_defconfig index 83f2ccc..27cc74d 100644 --- a/configs/p2771-0000-000_defconfig +++ b/configs/p2771-0000-000_defconfig @@ -19,7 +19,7 @@ CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_NFS is not set CONFIG_CMD_EXT4_WRITE=y -CONFIG_TEGRA186_BPMP_I2C=y +CONFIG_I2C_TEGRA186_BPMP=y CONFIG_DWC_ETH_QOS=y CONFIG_E1000=y CONFIG_RTL8169=y diff --git a/configs/p2771-0000-500_defconfig b/configs/p2771-0000-500_defconfig index b684e33..29c18c3 100644 --- a/configs/p2771-0000-500_defconfig +++ b/configs/p2771-0000-500_defconfig @@ -19,7 +19,7 @@ CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_NFS is not set CONFIG_CMD_EXT4_WRITE=y -CONFIG_TEGRA186_BPMP_I2C=y +CONFIG_I2C_TEGRA186_BPMP=y CONFIG_DWC_ETH_QOS=y CONFIG_E1000=y CONFIG_RTL8169=y diff --git a/configs/phycore-rk3288_defconfig b/configs/phycore-rk3288_defconfig index bebc877..fc8e01f 100644 --- a/configs/phycore-rk3288_defconfig +++ b/configs/phycore-rk3288_defconfig @@ -44,7 +44,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MISC=y CONFIG_I2C_EEPROM=y CONFIG_MMC_DW=y diff --git a/configs/popmetal-rk3288_defconfig b/configs/popmetal-rk3288_defconfig index 7453aca..b209d5f 100644 --- a/configs/popmetal-rk3288_defconfig +++ b/configs/popmetal-rk3288_defconfig @@ -42,7 +42,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_DM_ETH=y diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index d8b24f1..4ff3b02 100644 --- a/configs/puma-rk3399_defconfig +++ b/configs/puma-rk3399_defconfig @@ -47,7 +47,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MISC=y CONFIG_ROCKCHIP_EFUSE=y CONFIG_MMC_DW=y diff --git a/configs/rock2_defconfig b/configs/rock2_defconfig index c76a0b9..62027e4 100644 --- a/configs/rock2_defconfig +++ b/configs/rock2_defconfig @@ -41,7 +41,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_DM_ETH=y diff --git a/configs/rock_defconfig b/configs/rock_defconfig index 557ed88..78ae964 100644 --- a/configs/rock_defconfig +++ b/configs/rock_defconfig @@ -31,7 +31,7 @@ CONFIG_SYSCON=y # CONFIG_SPL_SIMPLE_BUS is not set CONFIG_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_LED=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y diff --git a/configs/s5pc210_universal_defconfig b/configs/s5pc210_universal_defconfig index 09c5a50..bad5d24 100644 --- a/configs/s5pc210_universal_defconfig +++ b/configs/s5pc210_universal_defconfig @@ -34,7 +34,7 @@ CONFIG_CMD_FS_GENERIC=y CONFIG_ISO_PARTITION=y CONFIG_OF_CONTROL=y CONFIG_DFU_MMC=y -CONFIG_SYS_I2C_S3C24X0=y +CONFIG_I2C_S3C24X0=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y diff --git a/configs/sama5d27_som1_ek_mmc_defconfig b/configs/sama5d27_som1_ek_mmc_defconfig index b9675a9..0ee018b 100644 --- a/configs/sama5d27_som1_ek_mmc_defconfig +++ b/configs/sama5d27_som1_ek_mmc_defconfig @@ -49,7 +49,7 @@ CONFIG_AT91_GENERIC_CLK=y CONFIG_DM_GPIO=y CONFIG_ATMEL_PIO4=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_AT91=y +CONFIG_I2C_AT91=y CONFIG_I2C_EEPROM=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y diff --git a/configs/sama5d2_xplained_mmc_defconfig b/configs/sama5d2_xplained_mmc_defconfig index 2248d67..9052f6b 100644 --- a/configs/sama5d2_xplained_mmc_defconfig +++ b/configs/sama5d2_xplained_mmc_defconfig @@ -50,7 +50,7 @@ CONFIG_AT91_GENERIC_CLK=y CONFIG_DM_GPIO=y CONFIG_ATMEL_PIO4=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_AT91=y +CONFIG_I2C_AT91=y CONFIG_I2C_EEPROM=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y diff --git a/configs/sama5d2_xplained_spiflash_defconfig b/configs/sama5d2_xplained_spiflash_defconfig index 4c5d029..101fb97 100644 --- a/configs/sama5d2_xplained_spiflash_defconfig +++ b/configs/sama5d2_xplained_spiflash_defconfig @@ -47,7 +47,7 @@ CONFIG_AT91_GENERIC_CLK=y CONFIG_DM_GPIO=y CONFIG_ATMEL_PIO4=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_AT91=y +CONFIG_I2C_AT91=y CONFIG_I2C_EEPROM=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y diff --git a/configs/sama5d4_xplained_mmc_defconfig b/configs/sama5d4_xplained_mmc_defconfig index b7faf70..825bbc1 100644 --- a/configs/sama5d4_xplained_mmc_defconfig +++ b/configs/sama5d4_xplained_mmc_defconfig @@ -47,7 +47,7 @@ CONFIG_AT91_H32MX=y CONFIG_DM_GPIO=y CONFIG_AT91_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_AT91=y +CONFIG_I2C_AT91=y CONFIG_I2C_EEPROM=y CONFIG_DM_MMC=y CONFIG_GENERIC_ATMEL_MCI=y diff --git a/configs/sama5d4_xplained_nandflash_defconfig b/configs/sama5d4_xplained_nandflash_defconfig index 7255d47..b9448eb 100644 --- a/configs/sama5d4_xplained_nandflash_defconfig +++ b/configs/sama5d4_xplained_nandflash_defconfig @@ -44,7 +44,7 @@ CONFIG_AT91_H32MX=y CONFIG_DM_GPIO=y CONFIG_AT91_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_AT91=y +CONFIG_I2C_AT91=y CONFIG_I2C_EEPROM=y CONFIG_DM_MMC=y CONFIG_GENERIC_ATMEL_MCI=y diff --git a/configs/sama5d4_xplained_spiflash_defconfig b/configs/sama5d4_xplained_spiflash_defconfig index c93705b..a28a784 100644 --- a/configs/sama5d4_xplained_spiflash_defconfig +++ b/configs/sama5d4_xplained_spiflash_defconfig @@ -46,7 +46,7 @@ CONFIG_AT91_H32MX=y CONFIG_DM_GPIO=y CONFIG_AT91_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_AT91=y +CONFIG_I2C_AT91=y CONFIG_I2C_EEPROM=y CONFIG_DM_MMC=y CONFIG_GENERIC_ATMEL_MCI=y diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 08eec8e..fd3f65a 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -87,7 +87,7 @@ CONFIG_DM_I2C_COMPAT=y CONFIG_I2C_CROS_EC_TUNNEL=y CONFIG_I2C_CROS_EC_LDO=y CONFIG_DM_I2C_GPIO=y -CONFIG_SYS_I2C_SANDBOX=y +CONFIG_I2C_SANDBOX=y CONFIG_I2C_MUX=y CONFIG_SPL_I2C_MUX=y CONFIG_I2C_ARB_GPIO_CHALLENGE=y diff --git a/configs/sandbox_flattree_defconfig b/configs/sandbox_flattree_defconfig index 1aa28c7..133ad25 100644 --- a/configs/sandbox_flattree_defconfig +++ b/configs/sandbox_flattree_defconfig @@ -73,7 +73,7 @@ CONFIG_DM_I2C_COMPAT=y CONFIG_I2C_CROS_EC_TUNNEL=y CONFIG_I2C_CROS_EC_LDO=y CONFIG_DM_I2C_GPIO=y -CONFIG_SYS_I2C_SANDBOX=y +CONFIG_I2C_SANDBOX=y CONFIG_I2C_MUX=y CONFIG_SPL_I2C_MUX=y CONFIG_I2C_ARB_GPIO_CHALLENGE=y diff --git a/configs/sandbox_noblk_defconfig b/configs/sandbox_noblk_defconfig index b2f55d9..563b029 100644 --- a/configs/sandbox_noblk_defconfig +++ b/configs/sandbox_noblk_defconfig @@ -88,7 +88,7 @@ CONFIG_DM_I2C_COMPAT=y CONFIG_I2C_CROS_EC_TUNNEL=y CONFIG_I2C_CROS_EC_LDO=y CONFIG_DM_I2C_GPIO=y -CONFIG_SYS_I2C_SANDBOX=y +CONFIG_I2C_SANDBOX=y CONFIG_I2C_MUX=y CONFIG_SPL_I2C_MUX=y CONFIG_I2C_ARB_GPIO_CHALLENGE=y diff --git a/configs/sandbox_spl_defconfig b/configs/sandbox_spl_defconfig index dd03220..048b38f 100644 --- a/configs/sandbox_spl_defconfig +++ b/configs/sandbox_spl_defconfig @@ -94,7 +94,7 @@ CONFIG_DM_I2C_COMPAT=y CONFIG_I2C_CROS_EC_TUNNEL=y CONFIG_I2C_CROS_EC_LDO=y CONFIG_DM_I2C_GPIO=y -CONFIG_SYS_I2C_SANDBOX=y +CONFIG_I2C_SANDBOX=y CONFIG_I2C_MUX=y CONFIG_SPL_I2C_MUX=y CONFIG_I2C_ARB_GPIO_CHALLENGE=y diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig index 8e4df34..5b309ea 100644 --- a/configs/socfpga_arria5_defconfig +++ b/configs/socfpga_arria5_defconfig @@ -43,7 +43,7 @@ CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_SPI_FLASH=y diff --git a/configs/socfpga_cyclone5_defconfig b/configs/socfpga_cyclone5_defconfig index 97262d5..ef4a31d 100644 --- a/configs/socfpga_cyclone5_defconfig +++ b/configs/socfpga_cyclone5_defconfig @@ -43,7 +43,7 @@ CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_SPI_FLASH=y diff --git a/configs/socfpga_de0_nano_soc_defconfig b/configs/socfpga_de0_nano_soc_defconfig index 18724df..1064a56 100644 --- a/configs/socfpga_de0_nano_soc_defconfig +++ b/configs/socfpga_de0_nano_soc_defconfig @@ -45,7 +45,7 @@ CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_PHY_MICREL=y diff --git a/configs/socfpga_de10_nano_defconfig b/configs/socfpga_de10_nano_defconfig index 3f20159..3365044 100644 --- a/configs/socfpga_de10_nano_defconfig +++ b/configs/socfpga_de10_nano_defconfig @@ -40,7 +40,7 @@ CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_PHY_MICREL=y diff --git a/configs/socfpga_de1_soc_defconfig b/configs/socfpga_de1_soc_defconfig index 8a33aee..e8ef7e0 100644 --- a/configs/socfpga_de1_soc_defconfig +++ b/configs/socfpga_de1_soc_defconfig @@ -41,7 +41,7 @@ CONFIG_SPL_DM=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_PHY_MICREL=y diff --git a/configs/socfpga_is1_defconfig b/configs/socfpga_is1_defconfig index fa55ca2..68d4b49 100644 --- a/configs/socfpga_is1_defconfig +++ b/configs/socfpga_is1_defconfig @@ -39,7 +39,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y diff --git a/configs/socfpga_mcvevk_defconfig b/configs/socfpga_mcvevk_defconfig index aa8f564..65bbb44 100644 --- a/configs/socfpga_mcvevk_defconfig +++ b/configs/socfpga_mcvevk_defconfig @@ -43,7 +43,7 @@ CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_DM_ETH=y diff --git a/configs/socfpga_sockit_defconfig b/configs/socfpga_sockit_defconfig index 65afa77..2dc424a 100644 --- a/configs/socfpga_sockit_defconfig +++ b/configs/socfpga_sockit_defconfig @@ -43,7 +43,7 @@ CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_SPI_FLASH=y diff --git a/configs/socfpga_socrates_defconfig b/configs/socfpga_socrates_defconfig index 81a66af..05327c2 100644 --- a/configs/socfpga_socrates_defconfig +++ b/configs/socfpga_socrates_defconfig @@ -44,7 +44,7 @@ CONFIG_DFU_MMC=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_SPI_FLASH=y diff --git a/configs/socfpga_sr1500_defconfig b/configs/socfpga_sr1500_defconfig index 09de96b..9d0c2d7 100644 --- a/configs/socfpga_sr1500_defconfig +++ b/configs/socfpga_sr1500_defconfig @@ -43,7 +43,7 @@ CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_FPGA_SOCFPGA=y CONFIG_DM_GPIO=y CONFIG_DWAPB_GPIO=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_SPI_FLASH=y diff --git a/configs/spear300_defconfig b/configs/spear300_defconfig index 22a4685..da3410f 100644 --- a/configs/spear300_defconfig +++ b/configs/spear300_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear300_nand_defconfig b/configs/spear300_nand_defconfig index 53dfc12..f49d37d 100644 --- a/configs/spear300_nand_defconfig +++ b/configs/spear300_nand_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_NAND=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y diff --git a/configs/spear300_usbtty_defconfig b/configs/spear300_usbtty_defconfig index adbf408..f6d788d 100644 --- a/configs/spear300_usbtty_defconfig +++ b/configs/spear300_usbtty_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear300_usbtty_nand_defconfig b/configs/spear300_usbtty_nand_defconfig index e4e31df..c5f453f 100644 --- a/configs/spear300_usbtty_nand_defconfig +++ b/configs/spear300_usbtty_nand_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_NAND=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y diff --git a/configs/spear310_defconfig b/configs/spear310_defconfig index 9517ac0..942ca72 100644 --- a/configs/spear310_defconfig +++ b/configs/spear310_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear310_nand_defconfig b/configs/spear310_nand_defconfig index e601b04..d1f958f 100644 --- a/configs/spear310_nand_defconfig +++ b/configs/spear310_nand_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_NAND=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y diff --git a/configs/spear310_pnor_defconfig b/configs/spear310_pnor_defconfig index 5c1b142..b483c9c 100644 --- a/configs/spear310_pnor_defconfig +++ b/configs/spear310_pnor_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear310_usbtty_defconfig b/configs/spear310_usbtty_defconfig index 7b438ec..e2ecb3e 100644 --- a/configs/spear310_usbtty_defconfig +++ b/configs/spear310_usbtty_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear310_usbtty_nand_defconfig b/configs/spear310_usbtty_nand_defconfig index b7aac14..99aef68 100644 --- a/configs/spear310_usbtty_nand_defconfig +++ b/configs/spear310_usbtty_nand_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_NAND=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y diff --git a/configs/spear310_usbtty_pnor_defconfig b/configs/spear310_usbtty_pnor_defconfig index 611517d..a76df98 100644 --- a/configs/spear310_usbtty_pnor_defconfig +++ b/configs/spear310_usbtty_pnor_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear320_defconfig b/configs/spear320_defconfig index 66fb6b7..76dab3f 100644 --- a/configs/spear320_defconfig +++ b/configs/spear320_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear320_nand_defconfig b/configs/spear320_nand_defconfig index cfe510b..c502ce1 100644 --- a/configs/spear320_nand_defconfig +++ b/configs/spear320_nand_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_NAND=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y diff --git a/configs/spear320_pnor_defconfig b/configs/spear320_pnor_defconfig index a08cd7e..b8c39d0 100644 --- a/configs/spear320_pnor_defconfig +++ b/configs/spear320_pnor_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear320_usbtty_defconfig b/configs/spear320_usbtty_defconfig index 34b3622..ddda903 100644 --- a/configs/spear320_usbtty_defconfig +++ b/configs/spear320_usbtty_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear320_usbtty_nand_defconfig b/configs/spear320_usbtty_nand_defconfig index eb8ab9d..ad081f9 100644 --- a/configs/spear320_usbtty_nand_defconfig +++ b/configs/spear320_usbtty_nand_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_NAND=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y diff --git a/configs/spear320_usbtty_pnor_defconfig b/configs/spear320_usbtty_pnor_defconfig index 7f09cfb..cf4f5b8 100644 --- a/configs/spear320_usbtty_pnor_defconfig +++ b/configs/spear320_usbtty_pnor_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear600_defconfig b/configs/spear600_defconfig index dc58179..27311cd 100644 --- a/configs/spear600_defconfig +++ b/configs/spear600_defconfig @@ -18,7 +18,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear600_nand_defconfig b/configs/spear600_nand_defconfig index 6e6e62b..d25cb14 100644 --- a/configs/spear600_nand_defconfig +++ b/configs/spear600_nand_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_NAND=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y diff --git a/configs/spear600_usbtty_defconfig b/configs/spear600_usbtty_defconfig index 80e93e3..14f0b27 100644 --- a/configs/spear600_usbtty_defconfig +++ b/configs/spear600_usbtty_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NETDEVICES=y diff --git a/configs/spear600_usbtty_nand_defconfig b/configs/spear600_usbtty_nand_defconfig index a2cf866..1bf125e 100644 --- a/configs/spear600_usbtty_nand_defconfig +++ b/configs/spear600_usbtty_nand_defconfig @@ -15,7 +15,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_ENV_IS_IN_NAND=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_NAND=y diff --git a/configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig b/configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig index 740ed06..ea0406c 100644 --- a/configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig +++ b/configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig @@ -43,7 +43,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CPU=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_INTEL=y +CONFIG_I2C_INTEL=y CONFIG_WINBOND_W83627=y CONFIG_E1000=y CONFIG_USB_STORAGE=y diff --git a/configs/theadorable-x86-conga-qa3-e3845_defconfig b/configs/theadorable-x86-conga-qa3-e3845_defconfig index 0c85620..2d71458 100644 --- a/configs/theadorable-x86-conga-qa3-e3845_defconfig +++ b/configs/theadorable-x86-conga-qa3-e3845_defconfig @@ -42,7 +42,7 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_CPU=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_INTEL=y +CONFIG_I2C_INTEL=y CONFIG_WINBOND_W83627=y CONFIG_E1000=y CONFIG_USB_STORAGE=y diff --git a/configs/ti816x_evm_defconfig b/configs/ti816x_evm_defconfig index fa97ad6..152ffc6 100644 --- a/configs/ti816x_evm_defconfig +++ b/configs/ti816x_evm_defconfig @@ -37,7 +37,7 @@ CONFIG_ENV_IS_IN_NAND=y CONFIG_DM=y CONFIG_DM_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_OMAP24XX=y +CONFIG_I2C_OMAP24XX=y CONFIG_MMC_OMAP_HS=y CONFIG_NAND=y CONFIG_SYS_NS16550=y diff --git a/configs/tinker-rk3288_defconfig b/configs/tinker-rk3288_defconfig index 1315be3..49cb64c 100644 --- a/configs/tinker-rk3288_defconfig +++ b/configs/tinker-rk3288_defconfig @@ -43,7 +43,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_MISC=y CONFIG_I2C_EEPROM=y CONFIG_MMC_DW=y diff --git a/configs/trats2_defconfig b/configs/trats2_defconfig index aaa25a9..aa32f34 100644 --- a/configs/trats2_defconfig +++ b/configs/trats2_defconfig @@ -38,7 +38,7 @@ CONFIG_ISO_PARTITION=y CONFIG_OF_CONTROL=y CONFIG_DFU_MMC=y CONFIG_DM_I2C_GPIO=y -CONFIG_SYS_I2C_S3C24X0=y +CONFIG_I2C_S3C24X0=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y diff --git a/configs/trats_defconfig b/configs/trats_defconfig index e0285aa..896293a 100644 --- a/configs/trats_defconfig +++ b/configs/trats_defconfig @@ -37,7 +37,7 @@ CONFIG_ISO_PARTITION=y CONFIG_OF_CONTROL=y CONFIG_DFU_MMC=y CONFIG_DM_I2C_GPIO=y -CONFIG_SYS_I2C_S3C24X0=y +CONFIG_I2C_S3C24X0=y CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y diff --git a/configs/vyasa-rk3288_defconfig b/configs/vyasa-rk3288_defconfig index 7091586..0de1963 100644 --- a/configs/vyasa-rk3288_defconfig +++ b/configs/vyasa-rk3288_defconfig @@ -37,7 +37,7 @@ CONFIG_SPL_SYSCON=y CONFIG_CLK=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_I2C_ROCKCHIP=y CONFIG_LED=y CONFIG_LED_GPIO=y CONFIG_MMC_DW=y diff --git a/configs/x600_defconfig b/configs/x600_defconfig index 3f81b18..52e5306 100644 --- a/configs/x600_defconfig +++ b/configs/x600_defconfig @@ -35,7 +35,7 @@ CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_CMD_UBI=y CONFIG_ENV_IS_IN_FLASH=y -CONFIG_SYS_I2C_DW=y +CONFIG_I2C_DW=y # CONFIG_MMC is not set CONFIG_MTD_NOR_FLASH=y CONFIG_PHY_MICREL=y diff --git a/configs/xilinx_zynqmp_ep_defconfig b/configs/xilinx_zynqmp_ep_defconfig index 95665ec..529c7b6 100644 --- a/configs/xilinx_zynqmp_ep_defconfig +++ b/configs/xilinx_zynqmp_ep_defconfig @@ -55,7 +55,7 @@ CONFIG_FPGA_XILINX=y CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_CADENCE=y +CONFIG_I2C_CADENCE=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y diff --git a/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig b/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig index 15f4cb7..e023a90 100644 --- a/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig +++ b/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig @@ -46,7 +46,7 @@ CONFIG_FPGA_XILINX=y CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_CADENCE=y +CONFIG_I2C_CADENCE=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y diff --git a/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig b/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig index 37b0185..2be3164 100644 --- a/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig +++ b/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig @@ -45,7 +45,7 @@ CONFIG_FPGA_XILINX=y CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_CADENCE=y +CONFIG_I2C_CADENCE=y # CONFIG_MMC is not set CONFIG_DM_MMC=y CONFIG_NAND=y diff --git a/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig b/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig index 07be751..24ae8ca 100644 --- a/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig +++ b/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig @@ -34,7 +34,7 @@ CONFIG_FPGA_XILINX=y CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_CADENCE=y +CONFIG_I2C_CADENCE=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y diff --git a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig b/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig index 4d0d394..f9af74a 100644 --- a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig +++ b/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig @@ -33,7 +33,7 @@ CONFIG_FPGA_XILINX=y CONFIG_FPGA_ZYNQMPPL=y CONFIG_DM_GPIO=y CONFIG_DM_I2C=y -CONFIG_SYS_I2C_CADENCE=y +CONFIG_I2C_CADENCE=y CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_ZYNQ=y diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index c296985..58160c6 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -72,7 +72,7 @@ config DM_I2C_GPIO bindings are supported. Binding info: doc/device-tree-bindings/i2c/i2c-gpio.txt -config SYS_I2C_AT91 +config I2C_AT91 bool "Atmel I2C driver" depends on DM_I2C && ARCH_AT91 help @@ -82,21 +82,21 @@ config SYS_I2C_AT91 i2c-gpio driver unless your system can cope with this limitation. Binding info: doc/device-tree-bindings/i2c/i2c-at91.txt -config SYS_I2C_FSL +config I2C_FSL bool "Freescale I2C bus driver" depends on DM_I2C help Add support for Freescale I2C busses as used on MPC8240, MPC8245, and MPC85xx processors. -config SYS_I2C_CADENCE +config I2C_CADENCE tristate "Cadence I2C Controller" depends on DM_I2C && (ARCH_ZYNQ || ARM64) help Say yes here to select Cadence I2C Host Controller. This controller is e.g. used by Xilinx Zynq. -config SYS_I2C_DW +config I2C_DW bool "Designware I2C Controller" default n help @@ -104,9 +104,9 @@ config SYS_I2C_DW controller is used in various SoCs, e.g. the ST SPEAr, Altera SoCFPGA, Synopsys ARC700 and some Intel x86 SoCs. -config SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED +config I2C_DW_ENABLE_STATUS_UNSUPPORTED bool "DW I2C Enable Status Register not supported" - depends on SYS_I2C_DW && (TARGET_SPEAR300 || TARGET_SPEAR310 || \ + depends on I2C_DW && (TARGET_SPEAR300 || TARGET_SPEAR310 || \ TARGET_SPEAR320 || TARGET_SPEAR600 || TARGET_X600) default y help @@ -114,7 +114,7 @@ config SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED enable status register. This config option can be enabled in such cases. -config SYS_I2C_ASPEED +config I2C_ASPEED bool "Aspeed I2C Controller" depends on DM_I2C && ARCH_ASPEED help @@ -123,7 +123,7 @@ config SYS_I2C_ASPEED Only single master mode is supported and only byte-by-byte synchronous reads and writes are supported, no Pool Buffers or DMA. -config SYS_I2C_INTEL +config I2C_INTEL bool "Intel I2C/SMBUS driver" depends on DM_I2C help @@ -132,12 +132,12 @@ config SYS_I2C_INTEL the I2C API meaning that any I2C operations will immediately fail for now. -config SYS_I2C_IMX_LPI2C +config I2C_IMX_LPI2C bool "NXP i.MX LPI2C driver" help Add support for the NXP i.MX LPI2C driver. -config SYS_I2C_MXC +config I2C_MXC bool "NXP i.MX I2C driver" depends on MX6 help @@ -145,13 +145,13 @@ config SYS_I2C_MXC channels and operating on standard mode upto 100 kbits/s and fast mode upto 400 kbits/s. -config SYS_I2C_OMAP24XX +config I2C_OMAP24XX bool "TI OMAP2+ I2C driver" depends on ARCH_OMAP2PLUS help Add support for the OMAP2+ I2C driver. -config SYS_I2C_ROCKCHIP +config I2C_ROCKCHIP bool "Rockchip I2C driver" depends on DM_I2C help @@ -160,7 +160,7 @@ config SYS_I2C_ROCKCHIP have several I2C ports and all are provided, controled by the device tree. -config SYS_I2C_SANDBOX +config I2C_SANDBOX bool "Sandbox I2C driver" depends on SANDBOX && DM_I2C help @@ -168,13 +168,13 @@ config SYS_I2C_SANDBOX bus. Devices can be attached to the bus using the device tree which specifies the driver to use. See sandbox.dts as an example. -config SYS_I2C_S3C24X0 +config I2C_S3C24X0 bool "Samsung I2C driver" depends on ARCH_EXYNOS4 && DM_I2C help Support for Samsung I2C controller as Samsung SoCs. -config SYS_I2C_STM32F7 +config I2C_STM32F7 bool "STMicroelectronics STM32F7 I2C support" depends on (STM32F7 || STM32H7) && DM_I2C help @@ -194,7 +194,7 @@ config SYS_I2C_STM32F7 _ Optional clock stretching _ Software reset -config SYS_I2C_UNIPHIER +config I2C_UNIPHIER bool "UniPhier I2C driver" depends on ARCH_UNIPHIER && DM_I2C default y @@ -202,7 +202,7 @@ config SYS_I2C_UNIPHIER Support for UniPhier I2C controller driver. This I2C controller is used on PH1-LD4, PH1-sLD8 or older UniPhier SoCs. -config SYS_I2C_UNIPHIER_F +config I2C_UNIPHIER_F bool "UniPhier FIFO-builtin I2C driver" depends on ARCH_UNIPHIER && DM_I2C default y @@ -210,14 +210,14 @@ config SYS_I2C_UNIPHIER_F Support for UniPhier FIFO-builtin I2C controller driver. This I2C controller is used on PH1-Pro4 or newer UniPhier SoCs. -config SYS_I2C_MVTWSI +config I2C_MVTWSI bool "Marvell I2C driver" depends on DM_I2C help Support for Marvell I2C controllers as used on the orion5x and kirkwood SoC families. -config TEGRA186_BPMP_I2C +config I2C_TEGRA186_BPMP bool "Enable Tegra186 BPMP-based I2C driver" depends on TEGRA186_BPMP help @@ -227,7 +227,7 @@ 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_BUS_MAX +config I2C_BUS_MAX int "Max I2C busses" depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_SOCFPGA default 2 if TI816X diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index e7ade94..21ee629 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile @@ -15,33 +15,33 @@ obj-$(CONFIG_I2C_MV) += mv_i2c.o obj-$(CONFIG_TSI108_I2C) += tsi108_i2c.o obj-$(CONFIG_SH_SH7734_I2C) += sh_sh7734_i2c.o obj-$(CONFIG_SYS_I2C) += i2c_core.o -obj-$(CONFIG_SYS_I2C_ASPEED) += ast_i2c.o -obj-$(CONFIG_SYS_I2C_AT91) += at91_i2c.o -obj-$(CONFIG_SYS_I2C_CADENCE) += i2c-cdns.o +obj-$(CONFIG_I2C_ASPEED) += ast_i2c.o +obj-$(CONFIG_I2C_AT91) += at91_i2c.o +obj-$(CONFIG_I2C_CADENCE) += i2c-cdns.o obj-$(CONFIG_SYS_I2C_DAVINCI) += davinci_i2c.o -obj-$(CONFIG_SYS_I2C_DW) += designware_i2c.o -obj-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o +obj-$(CONFIG_I2C_DW) += designware_i2c.o +obj-$(CONFIG_I2C_FSL) += fsl_i2c.o obj-$(CONFIG_SYS_I2C_FTI2C010) += fti2c010.o obj-$(CONFIG_SYS_I2C_IHS) += ihs_i2c.o -obj-$(CONFIG_SYS_I2C_INTEL) += intel_i2c.o -obj-$(CONFIG_SYS_I2C_IMX_LPI2C) += imx_lpi2c.o +obj-$(CONFIG_I2C_INTEL) += intel_i2c.o +obj-$(CONFIG_I2C_IMX_LPI2C) += imx_lpi2c.o obj-$(CONFIG_SYS_I2C_KONA) += kona_i2c.o obj-$(CONFIG_SYS_I2C_LPC32XX) += lpc32xx_i2c.o -obj-$(CONFIG_SYS_I2C_MVTWSI) += mvtwsi.o -obj-$(CONFIG_SYS_I2C_MXC) += mxc_i2c.o +obj-$(CONFIG_I2C_MVTWSI) += mvtwsi.o +obj-$(CONFIG_I2C_MXC) += mxc_i2c.o obj-$(CONFIG_SYS_I2C_MXS) += mxs_i2c.o -obj-$(CONFIG_SYS_I2C_OMAP24XX) += omap24xx_i2c.o +obj-$(CONFIG_I2C_OMAP24XX) += omap24xx_i2c.o obj-$(CONFIG_SYS_I2C_RCAR) += rcar_i2c.o -obj-$(CONFIG_SYS_I2C_ROCKCHIP) += rk_i2c.o -obj-$(CONFIG_SYS_I2C_S3C24X0) += s3c24x0_i2c.o exynos_hs_i2c.o -obj-$(CONFIG_SYS_I2C_SANDBOX) += sandbox_i2c.o i2c-emul-uclass.o +obj-$(CONFIG_I2C_ROCKCHIP) += rk_i2c.o +obj-$(CONFIG_I2C_S3C24X0) += s3c24x0_i2c.o exynos_hs_i2c.o +obj-$(CONFIG_I2C_SANDBOX) += sandbox_i2c.o i2c-emul-uclass.o obj-$(CONFIG_SYS_I2C_SH) += sh_i2c.o obj-$(CONFIG_SYS_I2C_SOFT) += soft_i2c.o -obj-$(CONFIG_SYS_I2C_STM32F7) += stm32f7_i2c.o +obj-$(CONFIG_I2C_STM32F7) += stm32f7_i2c.o obj-$(CONFIG_SYS_I2C_TEGRA) += tegra_i2c.o -obj-$(CONFIG_SYS_I2C_UNIPHIER) += i2c-uniphier.o -obj-$(CONFIG_SYS_I2C_UNIPHIER_F) += i2c-uniphier-f.o +obj-$(CONFIG_I2C_UNIPHIER) += i2c-uniphier.o +obj-$(CONFIG_I2C_UNIPHIER_F) += i2c-uniphier-f.o obj-$(CONFIG_SYS_I2C_ZYNQ) += zynq_i2c.o -obj-$(CONFIG_TEGRA186_BPMP_I2C) += tegra186_bpmp_i2c.o +obj-$(CONFIG_I2C_TEGRA186_BPMP) += tegra186_bpmp_i2c.o obj-$(CONFIG_I2C_MUX) += muxes/ diff --git a/drivers/i2c/davinci_i2c.c b/drivers/i2c/davinci_i2c.c index a35ec46..37146b4 100644 --- a/drivers/i2c/davinci_i2c.c +++ b/drivers/i2c/davinci_i2c.c @@ -343,11 +343,11 @@ static int _davinci_i2c_probe_chip(struct i2c_regs *i2c_base, uint8_t chip) static struct i2c_regs *davinci_get_base(struct i2c_adapter *adap) { switch (adap->hwadapnr) { -#if CONFIG_SYS_I2C_BUS_MAX >= 3 +#if CONFIG_I2C_BUS_MAX >= 3 case 2: return (struct i2c_regs *)I2C2_BASE; #endif -#if CONFIG_SYS_I2C_BUS_MAX >= 2 +#if CONFIG_I2C_BUS_MAX >= 2 case 1: return (struct i2c_regs *)I2C1_BASE; #endif @@ -412,7 +412,7 @@ U_BOOT_I2C_ADAP_COMPLETE(davinci_0, davinci_i2c_init, davinci_i2c_probe_chip, CONFIG_SYS_DAVINCI_I2C_SLAVE, 0) -#if CONFIG_SYS_I2C_BUS_MAX >= 2 +#if CONFIG_I2C_BUS_MAX >= 2 U_BOOT_I2C_ADAP_COMPLETE(davinci_1, davinci_i2c_init, davinci_i2c_probe_chip, davinci_i2c_read, davinci_i2c_write, davinci_i2c_setspeed, @@ -421,7 +421,7 @@ U_BOOT_I2C_ADAP_COMPLETE(davinci_1, davinci_i2c_init, davinci_i2c_probe_chip, 1) #endif -#if CONFIG_SYS_I2C_BUS_MAX >= 3 +#if CONFIG_I2C_BUS_MAX >= 3 U_BOOT_I2C_ADAP_COMPLETE(davinci_2, davinci_i2c_init, davinci_i2c_probe_chip, davinci_i2c_read, davinci_i2c_write, davinci_i2c_setspeed, diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 8cfed21..ff59f4c 100644 --- a/drivers/i2c/designware_i2c.c +++ b/drivers/i2c/designware_i2c.c @@ -36,7 +36,7 @@ struct dw_i2c { struct dw_scl_sda_cfg *scl_sda_cfg; }; -#ifdef CONFIG_SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED +#ifdef CONFIG_I2C_DW_ENABLE_STATUS_UNSUPPORTED static void dw_i2c_enable(struct i2c_regs *i2c_base, bool enable) { u32 ena = enable ? IC_ENABLE_0B : 0; @@ -396,15 +396,15 @@ static void __dw_i2c_init(struct i2c_regs *i2c_base, int speed, int slaveaddr) static struct i2c_regs *i2c_get_base(struct i2c_adapter *adap) { switch (adap->hwadapnr) { -#if CONFIG_SYS_I2C_BUS_MAX >= 4 +#if CONFIG_I2C_BUS_MAX >= 4 case 3: return (struct i2c_regs *)CONFIG_SYS_I2C_BASE3; #endif -#if CONFIG_SYS_I2C_BUS_MAX >= 3 +#if CONFIG_I2C_BUS_MAX >= 3 case 2: return (struct i2c_regs *)CONFIG_SYS_I2C_BASE2; #endif -#if CONFIG_SYS_I2C_BUS_MAX >= 2 +#if CONFIG_I2C_BUS_MAX >= 2 case 1: return (struct i2c_regs *)CONFIG_SYS_I2C_BASE1; #endif @@ -462,19 +462,19 @@ U_BOOT_I2C_ADAP_COMPLETE(dw_0, dw_i2c_init, dw_i2c_probe, dw_i2c_read, dw_i2c_write, dw_i2c_set_bus_speed, CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE, 0) -#if CONFIG_SYS_I2C_BUS_MAX >= 2 +#if CONFIG_I2C_BUS_MAX >= 2 U_BOOT_I2C_ADAP_COMPLETE(dw_1, dw_i2c_init, dw_i2c_probe, dw_i2c_read, dw_i2c_write, dw_i2c_set_bus_speed, CONFIG_SYS_I2C_SPEED1, CONFIG_SYS_I2C_SLAVE1, 1) #endif -#if CONFIG_SYS_I2C_BUS_MAX >= 3 +#if CONFIG_I2C_BUS_MAX >= 3 U_BOOT_I2C_ADAP_COMPLETE(dw_2, dw_i2c_init, dw_i2c_probe, dw_i2c_read, dw_i2c_write, dw_i2c_set_bus_speed, CONFIG_SYS_I2C_SPEED2, CONFIG_SYS_I2C_SLAVE2, 2) #endif -#if CONFIG_SYS_I2C_BUS_MAX >= 4 +#if CONFIG_I2C_BUS_MAX >= 4 U_BOOT_I2C_ADAP_COMPLETE(dw_3, dw_i2c_init, dw_i2c_probe, dw_i2c_read, dw_i2c_write, dw_i2c_set_bus_speed, CONFIG_SYS_I2C_SPEED3, CONFIG_SYS_I2C_SLAVE3, 3) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index abf1da2..7a99ccb 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -701,7 +701,7 @@ static u32 mxc_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) /* * Register mxc i2c adapters */ -#ifdef CONFIG_SYS_I2C_MXC_I2C1 +#ifdef CONFIG_I2C_MXC_I2C1 U_BOOT_I2C_ADAP_COMPLETE(mxc0, mxc_i2c_init, mxc_i2c_probe, mxc_i2c_read, mxc_i2c_write, mxc_i2c_set_bus_speed, @@ -709,7 +709,7 @@ U_BOOT_I2C_ADAP_COMPLETE(mxc0, mxc_i2c_init, mxc_i2c_probe, CONFIG_SYS_MXC_I2C1_SLAVE, 0) #endif -#ifdef CONFIG_SYS_I2C_MXC_I2C2 +#ifdef CONFIG_I2C_MXC_I2C2 U_BOOT_I2C_ADAP_COMPLETE(mxc1, mxc_i2c_init, mxc_i2c_probe, mxc_i2c_read, mxc_i2c_write, mxc_i2c_set_bus_speed, @@ -717,7 +717,7 @@ U_BOOT_I2C_ADAP_COMPLETE(mxc1, mxc_i2c_init, mxc_i2c_probe, CONFIG_SYS_MXC_I2C2_SLAVE, 1) #endif -#ifdef CONFIG_SYS_I2C_MXC_I2C3 +#ifdef CONFIG_I2C_MXC_I2C3 U_BOOT_I2C_ADAP_COMPLETE(mxc2, mxc_i2c_init, mxc_i2c_probe, mxc_i2c_read, mxc_i2c_write, mxc_i2c_set_bus_speed, @@ -725,7 +725,7 @@ U_BOOT_I2C_ADAP_COMPLETE(mxc2, mxc_i2c_init, mxc_i2c_probe, CONFIG_SYS_MXC_I2C3_SLAVE, 2) #endif -#ifdef CONFIG_SYS_I2C_MXC_I2C4 +#ifdef CONFIG_I2C_MXC_I2C4 U_BOOT_I2C_ADAP_COMPLETE(mxc3, mxc_i2c_init, mxc_i2c_probe, mxc_i2c_read, mxc_i2c_write, mxc_i2c_set_bus_speed, diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index 5d33815..cbaa941 100644 --- a/drivers/i2c/omap24xx_i2c.c +++ b/drivers/i2c/omap24xx_i2c.c @@ -706,15 +706,15 @@ static struct i2c *omap24_get_base(struct i2c_adapter *adap) case 1: return (struct i2c *)I2C_BASE2; break; -#if (CONFIG_SYS_I2C_BUS_MAX > 2) +#if (CONFIG_I2C_BUS_MAX > 2) case 2: return (struct i2c *)I2C_BASE3; break; -#if (CONFIG_SYS_I2C_BUS_MAX > 3) +#if (CONFIG_I2C_BUS_MAX > 3) case 3: return (struct i2c *)I2C_BASE4; break; -#if (CONFIG_SYS_I2C_BUS_MAX > 4) +#if (CONFIG_I2C_BUS_MAX > 4) case 4: return (struct i2c *)I2C_BASE5; break; @@ -795,7 +795,7 @@ U_BOOT_I2C_ADAP_COMPLETE(omap24_1, omap24_i2c_init, omap24_i2c_probe, CONFIG_SYS_OMAP24_I2C_SPEED1, CONFIG_SYS_OMAP24_I2C_SLAVE1, 1) -#if (CONFIG_SYS_I2C_BUS_MAX > 2) +#if (CONFIG_I2C_BUS_MAX > 2) #if !defined(CONFIG_SYS_OMAP24_I2C_SPEED2) #define CONFIG_SYS_OMAP24_I2C_SPEED2 CONFIG_SYS_OMAP24_I2C_SPEED #endif @@ -808,7 +808,7 @@ U_BOOT_I2C_ADAP_COMPLETE(omap24_2, omap24_i2c_init, omap24_i2c_probe, CONFIG_SYS_OMAP24_I2C_SPEED2, CONFIG_SYS_OMAP24_I2C_SLAVE2, 2) -#if (CONFIG_SYS_I2C_BUS_MAX > 3) +#if (CONFIG_I2C_BUS_MAX > 3) #if !defined(CONFIG_SYS_OMAP24_I2C_SPEED3) #define CONFIG_SYS_OMAP24_I2C_SPEED3 CONFIG_SYS_OMAP24_I2C_SPEED #endif @@ -821,7 +821,7 @@ U_BOOT_I2C_ADAP_COMPLETE(omap24_3, omap24_i2c_init, omap24_i2c_probe, CONFIG_SYS_OMAP24_I2C_SPEED3, CONFIG_SYS_OMAP24_I2C_SLAVE3, 3) -#if (CONFIG_SYS_I2C_BUS_MAX > 4) +#if (CONFIG_I2C_BUS_MAX > 4) #if !defined(CONFIG_SYS_OMAP24_I2C_SPEED4) #define CONFIG_SYS_OMAP24_I2C_SPEED4 CONFIG_SYS_OMAP24_I2C_SPEED #endif diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c index 996a651..cb4a88a 100644 --- a/drivers/i2c/s3c24x0_i2c.c +++ b/drivers/i2c/s3c24x0_i2c.c @@ -20,10 +20,10 @@ #include #include "s3c24x0_i2c.h" -#ifndef CONFIG_SYS_I2C_S3C24X0_SLAVE -#define SYS_I2C_S3C24X0_SLAVE_ADDR 0 +#ifndef CONFIG_I2C_S3C24X0_SLAVE +#define I2C_S3C24X0_SLAVE_ADDR 0 #else -#define SYS_I2C_S3C24X0_SLAVE_ADDR CONFIG_SYS_I2C_S3C24X0_SLAVE +#define I2C_S3C24X0_SLAVE_ADDR CONFIG_I2C_S3C24X0_SLAVE #endif DECLARE_GLOBAL_DATA_PTR; @@ -89,7 +89,7 @@ static int s3c24x0_i2c_set_bus_speed(struct udevice *dev, unsigned int speed) i2c_bus->clock_frequency = speed; i2c_ch_init(i2c_bus->regs, i2c_bus->clock_frequency, - SYS_I2C_S3C24X0_SLAVE_ADDR); + I2C_S3C24X0_SLAVE_ADDR); return 0; } diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 944f581..b5baabb 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -83,7 +83,7 @@ typedef struct global_data { #if defined(CONFIG_SYS_I2C) int cur_i2c_bus; /* current used i2c bus */ #endif -#ifdef CONFIG_SYS_I2C_MXC +#ifdef CONFIG_I2C_MXC void *srdata[10]; #endif unsigned int timebase_h; diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h index 661bc8b..be67566 100644 --- a/include/configs/B4860QDS.h +++ b/include/configs/B4860QDS.h @@ -462,7 +462,7 @@ unsigned long get_board_ddr_clk(void); /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL /* Use FSL common I2C driver */ +#define CONFIG_I2C_FSL /* Use FSL common I2C driver */ #define CONFIG_SYS_FSL_I2C_SPEED 400000 /* I2C speed in Hz */ #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C2_SPEED 400000 /* I2C speed in Hz */ diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h index 62a9a13..ab7094e 100644 --- a/include/configs/BSC9131RDB.h +++ b/include/configs/BSC9131RDB.h @@ -221,7 +221,7 @@ extern unsigned long get_sdram_size(void); #define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_CCSRBAR+0x4500) #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h index b90f54a..c938906 100644 --- a/include/configs/BSC9132QDS.h +++ b/include/configs/BSC9132QDS.h @@ -396,7 +396,7 @@ combinations. this should be removed later #define CONFIG_SYS_NS16550_COM4 (CONFIG_SYS_CCSRBAR + 0x4800) #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400800 /* I2C speed and slave address*/ #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C2_SPEED 400800 /* I2C speed and slave address*/ diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h index d6982d3..6f5ec299f 100644 --- a/include/configs/C29XPCIE.h +++ b/include/configs/C29XPCIE.h @@ -358,7 +358,7 @@ #define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_CCSRBAR+0x4600) #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C2_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h index 43693ee..dea686e 100644 --- a/include/configs/M5208EVBE.h +++ b/include/configs/M5208EVBE.h @@ -49,7 +49,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x58000 diff --git a/include/configs/M52277EVB.h b/include/configs/M52277EVB.h index 98692df..95c0fb9 100644 --- a/include/configs/M52277EVB.h +++ b/include/configs/M52277EVB.h @@ -99,7 +99,7 @@ /* I2c */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x58000 diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h index ff0995e..4b8768c 100644 --- a/include/configs/M5253DEMO.h +++ b/include/configs/M5253DEMO.h @@ -83,7 +83,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x00000280 diff --git a/include/configs/M5275EVB.h b/include/configs/M5275EVB.h index bbc45bf..f443d51 100644 --- a/include/configs/M5275EVB.h +++ b/include/configs/M5275EVB.h @@ -79,7 +79,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x00000300 diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h index b4d12e2..c56c49e 100644 --- a/include/configs/M53017EVB.h +++ b/include/configs/M53017EVB.h @@ -66,7 +66,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x58000 diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h index 0a69395..7837641 100644 --- a/include/configs/M5329EVB.h +++ b/include/configs/M5329EVB.h @@ -58,7 +58,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x58000 diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h index ecf2abc..a2793da 100644 --- a/include/configs/M5373EVB.h +++ b/include/configs/M5373EVB.h @@ -58,7 +58,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x58000 diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h index ebc8277..8567266 100644 --- a/include/configs/M54451EVB.h +++ b/include/configs/M54451EVB.h @@ -112,7 +112,7 @@ /* I2c */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x58000 diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h index a709fbb..459c706 100644 --- a/include/configs/M54455EVB.h +++ b/include/configs/M54455EVB.h @@ -139,7 +139,7 @@ /* I2c */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x58000 diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h index 3da7e2a..6246960 100644 --- a/include/configs/M5475EVB.h +++ b/include/configs/M5475EVB.h @@ -76,7 +76,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x00008F00 diff --git a/include/configs/M5485EVB.h b/include/configs/M5485EVB.h index 2b26f0f..c708dd6 100644 --- a/include/configs/M5485EVB.h +++ b/include/configs/M5485EVB.h @@ -73,7 +73,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x00008F00 diff --git a/include/configs/MPC8308RDB.h b/include/configs/MPC8308RDB.h index bd0cb6f..4c58ada 100644 --- a/include/configs/MPC8308RDB.h +++ b/include/configs/MPC8308RDB.h @@ -313,7 +313,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h index 78e6811..4690e19 100644 --- a/include/configs/MPC8313ERDB.h +++ b/include/configs/MPC8313ERDB.h @@ -367,7 +367,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h index 2ff67d6..150056f 100644 --- a/include/configs/MPC8315ERDB.h +++ b/include/configs/MPC8315ERDB.h @@ -299,7 +299,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8323ERDB.h b/include/configs/MPC8323ERDB.h index 0f9a7e0..2edc5ef 100644 --- a/include/configs/MPC8323ERDB.h +++ b/include/configs/MPC8323ERDB.h @@ -223,7 +223,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC832XEMDS.h b/include/configs/MPC832XEMDS.h index b111de2..cc11836 100644 --- a/include/configs/MPC832XEMDS.h +++ b/include/configs/MPC832XEMDS.h @@ -304,7 +304,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8349EMDS.h b/include/configs/MPC8349EMDS.h index 9b906a7..73880fd 100644 --- a/include/configs/MPC8349EMDS.h +++ b/include/configs/MPC8349EMDS.h @@ -323,7 +323,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h index d06d4a2..12f36ce 100644 --- a/include/configs/MPC8349ITX.h +++ b/include/configs/MPC8349ITX.h @@ -81,7 +81,7 @@ /* I2C */ #ifdef CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC837XEMDS.h b/include/configs/MPC837XEMDS.h index 264aa90..07b4d2e 100644 --- a/include/configs/MPC837XEMDS.h +++ b/include/configs/MPC837XEMDS.h @@ -316,7 +316,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h index beec38f..140353f 100644 --- a/include/configs/MPC837XERDB.h +++ b/include/configs/MPC837XERDB.h @@ -342,7 +342,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h index 3319a6f..c6bfc39 100644 --- a/include/configs/MPC8536DS.h +++ b/include/configs/MPC8536DS.h @@ -365,7 +365,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h index 6d855b3..ed0a142 100644 --- a/include/configs/MPC8540ADS.h +++ b/include/configs/MPC8540ADS.h @@ -220,7 +220,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h index 6b76a6f..7a1492f 100644 --- a/include/configs/MPC8541CDS.h +++ b/include/configs/MPC8541CDS.h @@ -246,7 +246,7 @@ extern unsigned long get_clock_freq(void); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h index 2aea892..98a136e 100644 --- a/include/configs/MPC8544DS.h +++ b/include/configs/MPC8544DS.h @@ -193,7 +193,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3100 diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h index b47b414..f904564 100644 --- a/include/configs/MPC8548CDS.h +++ b/include/configs/MPC8548CDS.h @@ -318,7 +318,7 @@ extern unsigned long get_clock_freq(void); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h index 5cf9c33..0026db3 100644 --- a/include/configs/MPC8555CDS.h +++ b/include/configs/MPC8555CDS.h @@ -244,7 +244,7 @@ extern unsigned long get_clock_freq(void); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h index fe116e0..fcfa55a 100644 --- a/include/configs/MPC8560ADS.h +++ b/include/configs/MPC8560ADS.h @@ -215,7 +215,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h index a19b772..f0d4b16 100644 --- a/include/configs/MPC8568MDS.h +++ b/include/configs/MPC8568MDS.h @@ -224,7 +224,7 @@ extern unsigned long get_clock_freq(void); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h index 861c8dd..785ddce 100644 --- a/include/configs/MPC8569MDS.h +++ b/include/configs/MPC8569MDS.h @@ -236,7 +236,7 @@ extern unsigned long get_clock_freq(void); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C2_SPEED 400000 diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h index b277cdb..0af764b 100644 --- a/include/configs/MPC8572DS.h +++ b/include/configs/MPC8572DS.h @@ -359,7 +359,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h index e7b59a3..77fb5ab 100644 --- a/include/configs/MPC8610HPCD.h +++ b/include/configs/MPC8610HPCD.h @@ -221,7 +221,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h index 298fe5a..d81dd36 100644 --- a/include/configs/MPC8641HPCN.h +++ b/include/configs/MPC8641HPCN.h @@ -262,7 +262,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3100 diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h index 13edd0a..e010440 100644 --- a/include/configs/P1010RDB.h +++ b/include/configs/P1010RDB.h @@ -562,7 +562,7 @@ extern unsigned long get_sdram_size(void); /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index aadbe02..31595ef 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -387,7 +387,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h index 1b78a4f..76cab99 100644 --- a/include/configs/P1023RDB.h +++ b/include/configs/P1023RDB.h @@ -163,7 +163,7 @@ extern unsigned long get_clock_freq(void); /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h index 6008237..57238cf 100644 --- a/include/configs/P2041RDB.h +++ b/include/configs/P2041RDB.h @@ -313,7 +313,7 @@ unsigned long get_board_sys_clk(unsigned long dummy); /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x118000 diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h index 158ad69..d89e856 100644 --- a/include/configs/T102xQDS.h +++ b/include/configs/T102xQDS.h @@ -493,7 +493,7 @@ unsigned long get_board_ddr_clk(void); /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL /* Use FSL common I2C driver */ +#define CONFIG_I2C_FSL /* Use FSL common I2C driver */ #define CONFIG_SYS_FSL_I2C_SPEED 50000 /* I2C speed in Hz */ #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C2_SPEED 50000 /* I2C speed in Hz */ diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h index fbb58f9..6d5334e 100644 --- a/include/configs/T102xRDB.h +++ b/include/configs/T102xRDB.h @@ -499,7 +499,7 @@ unsigned long get_board_ddr_clk(void); /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL /* Use FSL common I2C driver */ +#define CONFIG_I2C_FSL /* Use FSL common I2C driver */ #define CONFIG_SYS_FSL_I2C_SPEED 50000 /* I2C speed in Hz */ #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C2_SPEED 50000 /* I2C speed in Hz */ diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h index f6547fd..4a830c2 100644 --- a/include/configs/T1040QDS.h +++ b/include/configs/T1040QDS.h @@ -402,7 +402,7 @@ unsigned long get_board_ddr_clk(void); /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL /* Use FSL common I2C driver */ +#define CONFIG_I2C_FSL /* Use FSL common I2C driver */ #define CONFIG_SYS_FSL_I2C_SPEED 50000 /* I2C speed in Hz */ #define CONFIG_SYS_FSL_I2C2_SPEED 50000 #define CONFIG_SYS_FSL_I2C3_SPEED 50000 diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h index f472c3c..d294b0d 100644 --- a/include/configs/T104xRDB.h +++ b/include/configs/T104xRDB.h @@ -507,7 +507,7 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL /* Use FSL common I2C driver */ +#define CONFIG_I2C_FSL /* Use FSL common I2C driver */ #define CONFIG_SYS_FSL_I2C_SPEED 400000 /* I2C speed in Hz */ #define CONFIG_SYS_FSL_I2C2_SPEED 400000 #define CONFIG_SYS_FSL_I2C3_SPEED 400000 diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h index c9e2a6c..174b4de 100644 --- a/include/configs/T208xQDS.h +++ b/include/configs/T208xQDS.h @@ -440,7 +440,7 @@ unsigned long get_board_ddr_clk(void); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C3_SLAVE 0x7F diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h index 233e0ab..f6300ad 100644 --- a/include/configs/T208xRDB.h +++ b/include/configs/T208xRDB.h @@ -388,7 +388,7 @@ unsigned long get_board_ddr_clk(void); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C3_SLAVE 0x7F diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h index 625130a..e056b8b 100644 --- a/include/configs/T4240RDB.h +++ b/include/configs/T4240RDB.h @@ -183,7 +183,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x118000 #define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h index 77d0bc3..2838904 100644 --- a/include/configs/TQM834x.h +++ b/include/configs/TQM834x.h @@ -169,7 +169,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h index 902abc4..587822c 100644 --- a/include/configs/UCP1020.h +++ b/include/configs/UCP1020.h @@ -299,7 +299,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/advantech_dms-ba16.h b/include/configs/advantech_dms-ba16.h index 09f470c..45e9b83 100644 --- a/include/configs/advantech_dms-ba16.h +++ b/include/configs/advantech_dms-ba16.h @@ -269,10 +269,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC +#define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_SYS_I2C_MXC_I2C1 -#define CONFIG_SYS_I2C_MXC_I2C2 -#define CONFIG_SYS_I2C_MXC_I2C3 +#define CONFIG_I2C_MXC_I2C1 +#define CONFIG_I2C_MXC_I2C2 +#define CONFIG_I2C_MXC_I2C3 #endif /* __ADVANTECH_DMSBA16_CONFIG_H */ diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index 5a51f3c..63d2f39 100644 --- a/include/configs/apalis_imx6.h +++ b/include/configs/apalis_imx6.h @@ -46,10 +46,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* OCOTP Configs */ diff --git a/include/configs/apf27.h b/include/configs/apf27.h index c8eacdd..c090e04 100644 --- a/include/configs/apf27.h +++ b/include/configs/apf27.h @@ -256,9 +256,9 @@ #ifdef CONFIG_CMD_I2C #define CONFIG_SYS_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_MXC_I2C1_SPEED 100000 /* 100 kHz */ #define CONFIG_SYS_MXC_I2C1_SLAVE 0x7F #define CONFIG_SYS_MXC_I2C2_SPEED 100000 /* 100 kHz */ diff --git a/include/configs/aristainetos-common.h b/include/configs/aristainetos-common.h index 397afbb..a710778 100644 --- a/include/configs/aristainetos-common.h +++ b/include/configs/aristainetos-common.h @@ -167,10 +167,10 @@ /* I2C */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_I2C_SLAVE 0x7f #define CONFIG_SYS_I2C_NOPROBES { {0, 0x00} } diff --git a/include/configs/aristainetos2.h b/include/configs/aristainetos2.h index 9cd40a7..95146c6 100644 --- a/include/configs/aristainetos2.h +++ b/include/configs/aristainetos2.h @@ -37,7 +37,7 @@ "ubifsload ${fit_addr_r} /boot/system.itb; " \ "imi ${fit_addr_r}\0 " -#define CONFIG_SYS_I2C_MXC_I2C4 /* enable I2C bus 4 */ +#define CONFIG_I2C_MXC_I2C4 /* enable I2C bus 4 */ #define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15) #define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(1, 0) diff --git a/include/configs/aristainetos2b.h b/include/configs/aristainetos2b.h index a680e76..7c01ae7 100644 --- a/include/configs/aristainetos2b.h +++ b/include/configs/aristainetos2b.h @@ -37,7 +37,7 @@ "ubifsload ${fit_addr_r} /boot/system.itb; " \ "imi ${fit_addr_r}\0 " \ -#define CONFIG_SYS_I2C_MXC_I2C4 /* enable I2C bus 4 */ +#define CONFIG_I2C_MXC_I2C4 /* enable I2C bus 4 */ #define ARISTAINETOS_USB_OTG_PWR IMX_GPIO_NR(4, 15) #define ARISTAINETOS_USB_H1_PWR IMX_GPIO_NR(1, 0) diff --git a/include/configs/astro_mcf5373l.h b/include/configs/astro_mcf5373l.h index ceab037..9a3095d 100644 --- a/include/configs/astro_mcf5373l.h +++ b/include/configs/astro_mcf5373l.h @@ -68,7 +68,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 80000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x58000 diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index 2e8993d..4fb356c 100644 --- a/include/configs/cgtqmx6eval.h +++ b/include/configs/cgtqmx6eval.h @@ -48,10 +48,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/cl-som-imx7.h b/include/configs/cl-som-imx7.h index 14c4712..111171c 100644 --- a/include/configs/cl-som-imx7.h +++ b/include/configs/cl-som-imx7.h @@ -48,8 +48,8 @@ /* I2C configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_I2C_MXC_I2C2 /* Enable I2C bus 2 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C2 /* Enable I2C bus 2 */ #define CONFIG_SYS_I2C_SPEED 100000 #define SYS_I2C_BUS_SOM 0 diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h index 5061f6c..4118f9f 100644 --- a/include/configs/clearfog.h +++ b/include/configs/clearfog.h @@ -27,7 +27,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h index e278961..122d1af 100644 --- a/include/configs/cm_fx6.h +++ b/include/configs/cm_fx6.h @@ -202,10 +202,10 @@ /* I2C */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SYS_MXC_I2C3_SPEED 400000 diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h index 7d2c3d6..2888be9 100644 --- a/include/configs/colibri_imx6.h +++ b/include/configs/colibri_imx6.h @@ -44,10 +44,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* OCOTP Configs */ diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h index 30a2d12..3afe0f3 100644 --- a/include/configs/colibri_imx7.h +++ b/include/configs/colibri_imx7.h @@ -47,7 +47,7 @@ #undef CONFIG_BOOTM_RTEMS /* I2C configs */ -#define CONFIG_SYS_I2C_MXC +#define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_IPADDR 192.168.10.2 diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h index 37c8be4..c9d78a7 100644 --- a/include/configs/controlcenterd.h +++ b/include/configs/controlcenterd.h @@ -172,7 +172,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h index 0dbf149..e9cec87 100644 --- a/include/configs/corenet_ds.h +++ b/include/configs/corenet_ds.h @@ -321,7 +321,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x118000 diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h index 13e7c71..39d103c 100644 --- a/include/configs/cyrus.h +++ b/include/configs/cyrus.h @@ -208,7 +208,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_I2C_MULTI_BUS #define CONFIG_I2C_CMD_TREE #define CONFIG_SYS_FSL_I2C_SPEED 400000 /* I2C speed and slave address */ diff --git a/include/configs/db-88f6720.h b/include/configs/db-88f6720.h index cdaaced..da3113e 100644 --- a/include/configs/db-88f6720.h +++ b/include/configs/db-88f6720.h @@ -26,7 +26,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index 44fd968..e646c1e 100644 --- a/include/configs/db-88f6820-gp.h +++ b/include/configs/db-88f6820-gp.h @@ -27,7 +27,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/include/configs/db-mv784mp-gp.h b/include/configs/db-mv784mp-gp.h index 4a5be61..f610b09 100644 --- a/include/configs/db-mv784mp-gp.h +++ b/include/configs/db-mv784mp-gp.h @@ -24,7 +24,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 0595f60..9cf27e7 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -69,10 +69,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* MMC Configs */ diff --git a/include/configs/ds414.h b/include/configs/ds414.h index c201dbf..b0d897c 100644 --- a/include/configs/ds414.h +++ b/include/configs/ds414.h @@ -26,7 +26,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/include/configs/eb_cpu5282.h b/include/configs/eb_cpu5282.h index 17c7fa7..5bf0781 100644 --- a/include/configs/eb_cpu5282.h +++ b/include/configs/eb_cpu5282.h @@ -222,7 +222,7 @@ */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_OFFSET 0x00000300 #define CONFIG_SYS_IMMR CONFIG_SYS_MBAR diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h index 17d2383..5d679d0 100644 --- a/include/configs/edminiv2.h +++ b/include/configs/edminiv2.h @@ -175,7 +175,7 @@ */ #ifdef CONFIG_CMD_I2C #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #define CONFIG_I2C_MVTWSI_BASE0 ORION5X_TWSI_BASE #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/include/configs/el6x_common.h b/include/configs/el6x_common.h index 01d75d6..9106cd7 100644 --- a/include/configs/el6x_common.h +++ b/include/configs/el6x_common.h @@ -33,10 +33,10 @@ /* I2C config */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h index 3f128e6..6d72bbc 100644 --- a/include/configs/embestmx6boards.h +++ b/include/configs/embestmx6boards.h @@ -27,10 +27,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* USB Configs */ diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h index 2860d6b..3cc0831 100644 --- a/include/configs/exynos5-common.h +++ b/include/configs/exynos5-common.h @@ -104,9 +104,9 @@ #define SPI_FLASH_UBOOT_POS (CONFIG_SEC_FW_SIZE + CONFIG_BL1_SIZE) /* I2C */ -#define CONFIG_SYS_I2C_S3C24X0 -#define CONFIG_SYS_I2C_S3C24X0_SPEED 100000 /* 100 Kbps */ -#define CONFIG_SYS_I2C_S3C24X0_SLAVE 0x0 +#define CONFIG_I2C_S3C24X0 +#define CONFIG_I2C_S3C24X0_SPEED 100000 /* 100 Kbps */ +#define CONFIG_I2C_S3C24X0_SLAVE 0x0 /* SPI */ #ifdef CONFIG_SPI_FLASH diff --git a/include/configs/flea3.h b/include/configs/flea3.h index 3560611..33c2991 100644 --- a/include/configs/flea3.h +++ b/include/configs/flea3.h @@ -41,10 +41,10 @@ * Hardware drivers */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_SPD_BUS_NUM 2 /* I2C3 */ #define CONFIG_SYS_MXC_I2C3_SLAVE 0xfe #define CONFIG_MXC_SPI diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h index 33f5101..b975b34 100644 --- a/include/configs/ge_bx50v3.h +++ b/include/configs/ge_bx50v3.h @@ -293,11 +293,11 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC +#define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 -#define CONFIG_SYS_I2C_MXC_I2C1 -#define CONFIG_SYS_I2C_MXC_I2C2 -#define CONFIG_SYS_I2C_MXC_I2C3 +#define CONFIG_I2C_MXC_I2C1 +#define CONFIG_I2C_MXC_I2C2 +#define CONFIG_I2C_MXC_I2C3 #define CONFIG_SYS_NUM_I2C_BUSES 9 #define CONFIG_SYS_I2C_MAX_HOPS 1 diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index a93172a..1276338 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h @@ -83,10 +83,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_I2C_GSC 0 #define CONFIG_I2C_EDID diff --git a/include/configs/hrcon.h b/include/configs/hrcon.h index 95db26c..c807c45 100644 --- a/include/configs/hrcon.h +++ b/include/configs/hrcon.h @@ -294,7 +294,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/ids8313.h b/include/configs/ids8313.h index 1a8c273..c6df68f 100644 --- a/include/configs/ids8313.h +++ b/include/configs/ids8313.h @@ -275,7 +275,7 @@ * I2C setup */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3100 diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h index 1750b22..4a3417e 100644 --- a/include/configs/imx31_phycore.h +++ b/include/configs/imx31_phycore.h @@ -32,10 +32,10 @@ */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_CLK_OFFSET I2C2_CLK_OFFSET #define CONFIG_MXC_UART diff --git a/include/configs/km/km83xx-common.h b/include/configs/km/km83xx-common.h index 810b23e..ba049cc 100644 --- a/include/configs/km/km83xx-common.h +++ b/include/configs/km/km83xx-common.h @@ -198,7 +198,7 @@ #define CONFIG_SYS_I2C #define CONFIG_SYS_NUM_I2C_BUSES 4 #define CONFIG_SYS_I2C_MAX_HOPS 1 -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 200000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h index ff3bce8..0267fb9 100644 --- a/include/configs/km/kmp204x-common.h +++ b/include/configs/km/kmp204x-common.h @@ -244,7 +244,7 @@ unsigned long get_board_sys_clk(unsigned long dummy); #define CONFIG_SYS_I2C_SPEED 100000 /* deblocking */ #define CONFIG_SYS_NUM_I2C_BUSES 3 #define CONFIG_SYS_I2C_MAX_HOPS 1 -#define CONFIG_SYS_I2C_FSL /* Use FSL I2C driver */ +#define CONFIG_I2C_FSL /* Use FSL I2C driver */ #define CONFIG_I2C_MULTI_BUS #define CONFIG_I2C_CMD_TREE #define CONFIG_SYS_FSL_I2C_SPEED 400000 diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index 77bd930..672b6b3 100644 --- a/include/configs/ls1012a_common.h +++ b/include/configs/ls1012a_common.h @@ -71,9 +71,9 @@ /* I2C */ #define CONFIG_SYS_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_CONS_INDEX 1 #define CONFIG_SYS_NS16550_SERIAL diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h index 6366781..328c193 100644 --- a/include/configs/ls1021aiot.h +++ b/include/configs/ls1021aiot.h @@ -116,10 +116,10 @@ */ #define CONFIG_CMD_I2C #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ /* EEPROM */ #define CONFIG_ID_EEPROM diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index f3d3aa2..ad68f17 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h @@ -360,10 +360,10 @@ unsigned long get_board_ddr_clk(void); * I2C */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ /* * I2C bus multiplexer diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index 852ff57..30a2e23 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -259,10 +259,10 @@ * I2C */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ /* EEPROM */ #define CONFIG_ID_EEPROM diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index a297134..135095c 100644 --- a/include/configs/ls1043a_common.h +++ b/include/configs/ls1043a_common.h @@ -152,11 +152,11 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_I2C_MXC_I2C1 -#define CONFIG_SYS_I2C_MXC_I2C2 -#define CONFIG_SYS_I2C_MXC_I2C3 -#define CONFIG_SYS_I2C_MXC_I2C4 +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 +#define CONFIG_I2C_MXC_I2C2 +#define CONFIG_I2C_MXC_I2C3 +#define CONFIG_I2C_MXC_I2C4 /* PCIe */ #ifndef SPL_NO_PCIE diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h index 6d501b9..ae7493a 100644 --- a/include/configs/ls1046a_common.h +++ b/include/configs/ls1046a_common.h @@ -130,11 +130,11 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_I2C_MXC_I2C1 -#define CONFIG_SYS_I2C_MXC_I2C2 -#define CONFIG_SYS_I2C_MXC_I2C3 -#define CONFIG_SYS_I2C_MXC_I2C4 +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 +#define CONFIG_I2C_MXC_I2C2 +#define CONFIG_I2C_MXC_I2C3 +#define CONFIG_I2C_MXC_I2C4 /* PCIe */ #define CONFIG_PCIE1 /* PCIE controller 1 */ diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h index fa058f7..c806997 100644 --- a/include/configs/ls1088a_common.h +++ b/include/configs/ls1088a_common.h @@ -53,11 +53,11 @@ /* I2C */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ -#define CONFIG_SYS_I2C_MXC_I2C4 /* enable I2C bus 4 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC_I2C4 /* enable I2C bus 4 */ /* Serial Port */ #define CONFIG_CONS_INDEX 1 diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h index f897869..e7cd5aa 100644 --- a/include/configs/ls2080a_common.h +++ b/include/configs/ls2080a_common.h @@ -85,11 +85,11 @@ /* I2C */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ -#define CONFIG_SYS_I2C_MXC_I2C4 /* enable I2C bus 4 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC_I2C4 /* enable I2C bus 4 */ /* Serial Port */ #define CONFIG_CONS_INDEX 1 diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h index dcc12dd..fa8a07f 100644 --- a/include/configs/m53evk.h +++ b/include/configs/m53evk.h @@ -121,10 +121,10 @@ */ #ifdef CONFIG_CMD_I2C #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_RTC_BUS_NUM 1 /* I2C2 */ #endif diff --git a/include/configs/maxbcm.h b/include/configs/maxbcm.h index 66641ff..4242811 100644 --- a/include/configs/maxbcm.h +++ b/include/configs/maxbcm.h @@ -26,7 +26,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/include/configs/mccmon6.h b/include/configs/mccmon6.h index 755c949..7bab3ee 100644 --- a/include/configs/mccmon6.h +++ b/include/configs/mccmon6.h @@ -53,9 +53,9 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_SPEED 100000 /* MMC Configuration */ diff --git a/include/configs/mpc8308_p1m.h b/include/configs/mpc8308_p1m.h index f977731..aff2e2e 100644 --- a/include/configs/mpc8308_p1m.h +++ b/include/configs/mpc8308_p1m.h @@ -302,7 +302,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C2_SPEED 400000 diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h index bb100c4..c3c99b2 100644 --- a/include/configs/mx25pdk.h +++ b/include/configs/mx25pdk.h @@ -91,9 +91,9 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ /* RTC */ #define CONFIG_RTC_IMXDI diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h index f16bfb9..6d19420 100644 --- a/include/configs/mx35pdk.h +++ b/include/configs/mx35pdk.h @@ -37,10 +37,10 @@ * Hardware drivers */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_MXC_SPI #define CONFIG_MXC_GPIO diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h index 2417a1a..afd79f8 100644 --- a/include/configs/mx53ard.h +++ b/include/configs/mx53ard.h @@ -39,10 +39,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ /* MMC Configs */ #define CONFIG_FSL_ESDHC diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h index 1bddb37..00b4d53 100644 --- a/include/configs/mx53evk.h +++ b/include/configs/mx53evk.h @@ -30,10 +30,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ /* PMIC Configs */ #define CONFIG_POWER diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h index e973b35..d21ce5e 100644 --- a/include/configs/mx53loco.h +++ b/include/configs/mx53loco.h @@ -49,10 +49,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ /* PMIC Controller */ #define CONFIG_POWER diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h index 216a0d5..a15120a 100644 --- a/include/configs/mx53smd.h +++ b/include/configs/mx53smd.h @@ -30,10 +30,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ /* MMC Configs */ #define CONFIG_FSL_ESDHC diff --git a/include/configs/mx6sabreauto.h b/include/configs/mx6sabreauto.h index 64d54b6..ba0f39a 100644 --- a/include/configs/mx6sabreauto.h +++ b/include/configs/mx6sabreauto.h @@ -59,10 +59,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* NAND stuff */ diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h index 8c06512..75d2a65 100644 --- a/include/configs/mx6sabresd.h +++ b/include/configs/mx6sabresd.h @@ -45,10 +45,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 9ddb143..89910cb 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -27,10 +27,10 @@ #define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR /* I2C Configs */ -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_FEC_MXC diff --git a/include/configs/mx6sllevk.h b/include/configs/mx6sllevk.h index 0cf34c4..ab5aea6 100644 --- a/include/configs/mx6sllevk.h +++ b/include/configs/mx6sllevk.h @@ -25,10 +25,10 @@ /* I2C Configs */ #ifdef CONFIG_CMD_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 #endif diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h index 9e46c39..16f91e2 100644 --- a/include/configs/mx6sxsabreauto.h +++ b/include/configs/mx6sxsabreauto.h @@ -112,10 +112,10 @@ #define CONFIG_SYS_FSL_ESDHC_ADDR USDHC3_BASE_ADDR /* I2C Configs */ -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* NAND stuff */ diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h index 5ef78a7..af8f7e3 100644 --- a/include/configs/mx6sxsabresd.h +++ b/include/configs/mx6sxsabresd.h @@ -141,10 +141,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h index 47379ca..c919cac 100644 --- a/include/configs/mx6ul_14x14_evk.h +++ b/include/configs/mx6ul_14x14_evk.h @@ -42,9 +42,9 @@ /* I2C configs */ #ifdef CONFIG_CMD_I2C #define CONFIG_SYS_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC only for 9X9 EVK */ diff --git a/include/configs/mx6ullevk.h b/include/configs/mx6ullevk.h index 8787df4..fd1e158 100644 --- a/include/configs/mx6ullevk.h +++ b/include/configs/mx6ullevk.h @@ -46,9 +46,9 @@ /* I2C configs */ #ifdef CONFIG_CMD_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_SPEED 100000 #endif diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h index 593bf38..648ba5a 100644 --- a/include/configs/mx7dsabresd.h +++ b/include/configs/mx7dsabresd.h @@ -38,7 +38,7 @@ #undef CONFIG_BOOTM_RTEMS /* I2C configs */ -#define CONFIG_SYS_I2C_MXC +#define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h index b847906..b4d166d 100644 --- a/include/configs/nitrogen6x.h +++ b/include/configs/nitrogen6x.h @@ -34,10 +34,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_I2C_EDID diff --git a/include/configs/novena.h b/include/configs/novena.h index ac00975..ab62181 100644 --- a/include/configs/novena.h +++ b/include/configs/novena.h @@ -75,10 +75,10 @@ /* I2C */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_I2C_MULTI_BUS #define CONFIG_I2C_MXC #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h index 55e716a..7066034 100644 --- a/include/configs/ot1200.h +++ b/include/configs/ot1200.h @@ -34,10 +34,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* OCOTP Configs */ diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h index 3c85f53..af0fa39 100644 --- a/include/configs/p1_p2_rdb_pc.h +++ b/include/configs/p1_p2_rdb_pc.h @@ -605,7 +605,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h index 5a3245c..eb0164d 100644 --- a/include/configs/p1_twr.h +++ b/include/configs/p1_twr.h @@ -213,7 +213,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL /* Use FSL common I2C driver */ +#define CONFIG_I2C_FSL /* Use FSL common I2C driver */ #define CONFIG_SYS_FSL_I2C_SPEED 400000 /* I2C spd and slave address */ #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/pcm052.h b/include/configs/pcm052.h index 8144a83..45a3b93 100644 --- a/include/configs/pcm052.h +++ b/include/configs/pcm052.h @@ -72,8 +72,8 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC_I2C3 -#define CONFIG_SYS_I2C_MXC +#define CONFIG_I2C_MXC_I2C3 +#define CONFIG_I2C_MXC /* RTC (actually an RV-4162 but M41T62-compatible) */ #define CONFIG_RTC_M41T62 diff --git a/include/configs/pcm058.h b/include/configs/pcm058.h index 2c1221d..924f3be 100644 --- a/include/configs/pcm058.h +++ b/include/configs/pcm058.h @@ -52,8 +52,8 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_SPEED 100000 #ifndef CONFIG_SPL_BUILD diff --git a/include/configs/pfla02.h b/include/configs/pfla02.h index be90ce9..fc99985 100644 --- a/include/configs/pfla02.h +++ b/include/configs/pfla02.h @@ -49,8 +49,8 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 0 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 0 */ #define CONFIG_SYS_I2C_SPEED 100000 #ifndef CONFIG_SPL_BUILD diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h index 75658fd..df4af20 100644 --- a/include/configs/pico-imx6ul.h +++ b/include/configs/pico-imx6ul.h @@ -128,8 +128,8 @@ /* I2C configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_I2C_MXC_I2C1 +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h index 793ba78..8c8c1eb 100644 --- a/include/configs/pico-imx7d.h +++ b/include/configs/pico-imx7d.h @@ -106,11 +106,11 @@ /* I2C configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_I2C_MXC_I2C1 -#define CONFIG_SYS_I2C_MXC_I2C2 -#define CONFIG_SYS_I2C_MXC_I2C3 -#define CONFIG_SYS_I2C_MXC_I2C4 +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 +#define CONFIG_I2C_MXC_I2C2 +#define CONFIG_I2C_MXC_I2C3 +#define CONFIG_I2C_MXC_I2C4 #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/platinum.h b/include/configs/platinum.h index bb0e929..6108030 100644 --- a/include/configs/platinum.h +++ b/include/configs/platinum.h @@ -25,10 +25,10 @@ /* I2C config */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* MMC config */ diff --git a/include/configs/sbc8349.h b/include/configs/sbc8349.h index 328cdf4..577359d 100644 --- a/include/configs/sbc8349.h +++ b/include/configs/sbc8349.h @@ -278,7 +278,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/sbc8548.h b/include/configs/sbc8548.h index a2a715b..3ddac57 100644 --- a/include/configs/sbc8548.h +++ b/include/configs/sbc8548.h @@ -410,7 +410,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h index a0097fd..0e33b71 100644 --- a/include/configs/sbc8641d.h +++ b/include/configs/sbc8641d.h @@ -250,7 +250,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3100 diff --git a/include/configs/socrates.h b/include/configs/socrates.h index 0d88ab5..e2dafed 100644 --- a/include/configs/socrates.h +++ b/include/configs/socrates.h @@ -194,7 +194,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 102124 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/strider.h b/include/configs/strider.h index 85aeded..8d74b70 100644 --- a/include/configs/strider.h +++ b/include/configs/strider.h @@ -295,7 +295,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 9175117..3710d87 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -215,7 +215,7 @@ #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 -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #ifndef CONFIG_DM_I2C #define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_SPEED 400000 diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h index 4938f43..f6388df 100644 --- a/include/configs/t4qds.h +++ b/include/configs/t4qds.h @@ -141,7 +141,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x118000 #define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h index 849d4a6..2ea21f7 100644 --- a/include/configs/tbs2910.h +++ b/include/configs/tbs2910.h @@ -115,10 +115,10 @@ /* I2C */ #ifdef CONFIG_CMD_I2C #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_I2C_EDID #endif diff --git a/include/configs/theadorable.h b/include/configs/theadorable.h index a7001e7..ca22bf4 100644 --- a/include/configs/theadorable.h +++ b/include/configs/theadorable.h @@ -32,7 +32,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI #define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE #define CONFIG_I2C_MVTWSI_BASE1 MVEBU_TWSI1_BASE #define CONFIG_SYS_I2C_SLAVE 0x0 diff --git a/include/configs/titanium.h b/include/configs/titanium.h index 882b1d7..5d114aa 100644 --- a/include/configs/titanium.h +++ b/include/configs/titanium.h @@ -30,10 +30,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* MMC Configs */ diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h index 073f396..58e7e76 100644 --- a/include/configs/tqma6.h +++ b/include/configs/tqma6.h @@ -50,10 +50,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_I2C_MULTI_BUS #define CONFIG_SYS_I2C_SPEED 100000 diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h index d2c3e57..78df618 100644 --- a/include/configs/turris_omnia.h +++ b/include/configs/turris_omnia.h @@ -32,7 +32,7 @@ #define CONFIG_I2C_MUX #define CONFIG_I2C_MUX_PCA954x #define CONFIG_SPL_I2C_MUX -#define CONFIG_SYS_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI /* Watchdog support */ #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_WDT_ORION) diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h index 9b0a20d..c5121a4 100644 --- a/include/configs/udoo_neo.h +++ b/include/configs/udoo_neo.h @@ -90,8 +90,8 @@ /* I2C configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_I2C_MXC_I2C1 +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/usbarmory.h b/include/configs/usbarmory.h index 4bebc59..bfec876 100644 --- a/include/configs/usbarmory.h +++ b/include/configs/usbarmory.h @@ -44,9 +44,9 @@ /* I2C */ #define CONFIG_SYS_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ /* Fuse */ #define CONFIG_FSL_IIM diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h index 3430f27..8176ab3 100644 --- a/include/configs/vf610twr.h +++ b/include/configs/vf610twr.h @@ -70,9 +70,9 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_SPD_BUS_NUM 0 diff --git a/include/configs/vining_2000.h b/include/configs/vining_2000.h index f054c99..5682036 100644 --- a/include/configs/vining_2000.h +++ b/include/configs/vining_2000.h @@ -51,9 +51,9 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/vme8349.h b/include/configs/vme8349.h index 7df6a46..0dd36de 100644 --- a/include/configs/vme8349.h +++ b/include/configs/vme8349.h @@ -212,7 +212,7 @@ /* I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h index ba88d02..b867071 100644 --- a/include/configs/wandboard.h +++ b/include/configs/wandboard.h @@ -39,10 +39,10 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/warp.h b/include/configs/warp.h index 139cde4..85d1fb2 100644 --- a/include/configs/warp.h +++ b/include/configs/warp.h @@ -71,9 +71,9 @@ /* I2C Configs */ #define CONFIG_SYS_I2C -#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_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/warp7.h b/include/configs/warp7.h index 11f1bc3..a02c553 100644 --- a/include/configs/warp7.h +++ b/include/configs/warp7.h @@ -100,8 +100,8 @@ /* I2C configs */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_MXC -#define CONFIG_SYS_I2C_MXC_I2C1 +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 #define CONFIG_SYS_I2C_SPEED 100000 /* PMIC */ diff --git a/include/configs/woodburn_common.h b/include/configs/woodburn_common.h index 15b21ef..7c08f0f 100644 --- a/include/configs/woodburn_common.h +++ b/include/configs/woodburn_common.h @@ -38,10 +38,10 @@ * Hardware drivers */ #define CONFIG_SYS_I2C -#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_MXC_I2C3 /* enable I2C bus 3 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C3 /* enable I2C bus 3 */ #define CONFIG_SYS_SPD_BUS_NUM 0 #define CONFIG_MXC_SPI #define CONFIG_MXC_GPIO diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h index beedc9e..ba5de50 100644 --- a/include/configs/xpedite517x.h +++ b/include/configs/xpedite517x.h @@ -209,7 +209,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 100000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h index f589d1d..97e724b 100644 --- a/include/configs/xpedite520x.h +++ b/include/configs/xpedite520x.h @@ -182,7 +182,7 @@ * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h index d217eb3..65afd69 100644 --- a/include/configs/xpedite537x.h +++ b/include/configs/xpedite537x.h @@ -206,7 +206,7 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h index b433224..49d9619 100644 --- a/include/configs/xpedite550x.h +++ b/include/configs/xpedite550x.h @@ -210,7 +210,7 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); * I2C */ #define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_FSL +#define CONFIG_I2C_FSL #define CONFIG_SYS_FSL_I2C_SPEED 400000 #define CONFIG_SYS_FSL_I2C_SLAVE 0x7F #define CONFIG_SYS_FSL_I2C_OFFSET 0x3000 diff --git a/include/configs/xpress.h b/include/configs/xpress.h index c2575f0..dee2458 100644 --- a/include/configs/xpress.h +++ b/include/configs/xpress.h @@ -26,10 +26,10 @@ /* I2C configs */ #define CONFIG_SYS_I2C -#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_MXC_I2C4 /* enable I2C bus 4 */ +#define CONFIG_I2C_MXC +#define CONFIG_I2C_MXC_I2C1 /* enable I2C bus 1 */ +#define CONFIG_I2C_MXC_I2C2 /* enable I2C bus 2 */ +#define CONFIG_I2C_MXC_I2C4 /* enable I2C bus 4 */ #define CONFIG_SYS_I2C_SPEED 100000 /* Miscellaneous configurable options */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 3037d61..5f36464 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -3429,10 +3429,10 @@ CONFIG_SYS_I2C_MAC2_DATA_ADDR CONFIG_SYS_I2C_MAC_OFFSET CONFIG_SYS_I2C_MAX1237_ADDR CONFIG_SYS_I2C_MAX_HOPS -CONFIG_SYS_I2C_MXC_I2C1 -CONFIG_SYS_I2C_MXC_I2C2 -CONFIG_SYS_I2C_MXC_I2C3 -CONFIG_SYS_I2C_MXC_I2C4 +CONFIG_I2C_MXC_I2C1 +CONFIG_I2C_MXC_I2C2 +CONFIG_I2C_MXC_I2C3 +CONFIG_I2C_MXC_I2C4 CONFIG_SYS_I2C_NCT72_ADDR CONFIG_SYS_I2C_NOPROBES CONFIG_SYS_I2C_OFFSET @@ -3455,8 +3455,8 @@ CONFIG_SYS_I2C_PXA CONFIG_SYS_I2C_QIXIS_ADDR CONFIG_SYS_I2C_RCAR CONFIG_SYS_I2C_RTC_ADDR -CONFIG_SYS_I2C_S3C24X0_SLAVE -CONFIG_SYS_I2C_S3C24X0_SPEED +CONFIG_I2C_S3C24X0_SLAVE +CONFIG_I2C_S3C24X0_SPEED CONFIG_SYS_I2C_SH CONFIG_SYS_I2C_SH_BASE0 CONFIG_SYS_I2C_SH_BASE1