]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Configs: Migrate CONFIG_SYS_I2C_OMAP34XX to CONFIG_SYS_I2C_OMAP24XX
authorAdam Ford <aford173@gmail.com>
Mon, 7 Aug 2017 18:11:19 +0000 (13:11 -0500)
committerHeiko Schocher <hs@denx.de>
Wed, 9 Aug 2017 04:14:13 +0000 (06:14 +0200)
The driver is for all boards 24XX and up, so let's eliminate the
extra option called CONFIG_SYS_I2C_OMAP34XX since the driver checks
for CONFIG_OMAP34XX we don't need CONFIG_SYS_I2C_OMAP34XX.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
24 files changed:
arch/arm/mach-omap2/omap3/clock.c
board/compulab/cm_t35/cm_t35.c
board/logicpd/am3517evm/am3517evm.c
board/ti/am3517crane/am3517crane.c
board/ti/evm/evm.c
drivers/i2c/Makefile
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/cm_t35.h
include/configs/cm_t3517.h
include/configs/cm_t54.h
include/configs/devkit8000.h
include/configs/mcx.h
include/configs/nokia_rx51.h
include/configs/omap3_evm.h
include/configs/omap3_logic.h
include/configs/omap3_overo.h
include/configs/omap3_pandora.h
include/configs/omap3_zoom1.h
include/configs/sniper.h
include/configs/tam3517-common.h
include/configs/tao3530.h
include/configs/tricorder.h
scripts/config_whitelist.txt

index 006969e780b332ccab15c4da7d8826efb1ba84b9..3daae61e1dda0ddf2d5631ec4182bffe94ec0ca9 100644 (file)
@@ -772,7 +772,7 @@ void per_clocks_enable(void)
        setbits_le32(&prcm_base->iclken_per, 0x00020000);
 #endif
 
-#ifdef CONFIG_SYS_I2C_OMAP34XX
+#ifdef CONFIG_SYS_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 */
index f1691257e77fdaaee03c0f6542bd60d6b2365226..da6709889ad4ba5ffbfeb9b46e4f879102a02ae7 100644 (file)
@@ -398,7 +398,7 @@ void board_mmc_power_init(void)
 }
 #endif
 
-#ifdef CONFIG_SYS_I2C_OMAP34XX
+#ifdef CONFIG_SYS_I2C_OMAP24XX
 /*
  * Routine: reset_net_chip
  * Description: reset the Ethernet controller via TPS65930 GPIO
index 5d2d997e424661d2e4f205e319ea5bbdc60ffe26..c18a5a3140b9323ce01535deabc0899d4e95d5d8 100644 (file)
@@ -105,7 +105,7 @@ int misc_init_r(void)
        volatile unsigned int ctr;
        u32 reset;
 
-#ifdef CONFIG_SYS_I2C_OMAP34XX
+#ifdef CONFIG_SYS_I2C_OMAP24XX
        i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
 #endif
 
index 5fa319d6152b64f5b9ec8f3b25108d3746d68704..136cc4388498e665b6bdc471209da8ea25f43787 100644 (file)
@@ -43,7 +43,7 @@ int board_init(void)
  */
 int misc_init_r(void)
 {
-#ifdef CONFIG_SYS_I2C_OMAP34XX
+#ifdef CONFIG_SYS_I2C_OMAP24XX
        i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
 #endif
 
index fe8e79312f8b9ed2b7e745915534850f519ea0c6..a6c5a3d8e101e6ee9fa4d44f499f8646e8316c56 100644 (file)
@@ -147,7 +147,7 @@ void get_board_mem_timings(struct board_sdrc_timings *timings)
 int misc_init_r(void)
 {
 
-#ifdef CONFIG_SYS_I2C_OMAP34XX
+#ifdef CONFIG_SYS_I2C_OMAP24XX
        i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
 #endif
 
index 4bbf0c9f327b7801cc4c1957aad7a3c602f9a298..4f754191e2e31d4c38673877adc40c022415325d 100644 (file)
@@ -31,7 +31,6 @@ obj-$(CONFIG_SYS_I2C_MVTWSI) += mvtwsi.o
 obj-$(CONFIG_SYS_I2C_MXC) += mxc_i2c.o
 obj-$(CONFIG_SYS_I2C_MXS) += mxs_i2c.o
 obj-$(CONFIG_SYS_I2C_OMAP24XX) += omap24xx_i2c.o
-obj-$(CONFIG_SYS_I2C_OMAP34XX) += 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
index 36adea749e21053766537498f0504efdc5e42a27..eb1fa5f3f5b3bafedd03ab1c5a83aa6083016385 100644 (file)
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 
 /*
  * Board NAND Info.
index 2f2e13c5bbb4b8fad90a25c2965d4048b8f7b4f0..42e4053ffd6a908daacbc50a095065c81ef183cb 100644 (file)
@@ -91,7 +91,7 @@
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 
 /* Ethernet */
 #define CONFIG_DRIVER_TI_EMAC
index bdbbfdd5de4d26823c90fd4b5b2795b3f17f4220..1fae294b10c8c70d69e33a78fa4647c77c319146 100644 (file)
@@ -93,7 +93,7 @@
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 #define CONFIG_SYS_I2C_EEPROM_ADDR     0x50
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
 #define CONFIG_SYS_I2C_EEPROM_BUS      0
index 93bf04ffaac82840df9b8729ae0b0ec2ac9c6926..2d289ac8132578aa5384d9dc7ef2d2e5864ec405 100644 (file)
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    400000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 #define CONFIG_SYS_I2C_EEPROM_ADDR     0x50
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
 #define CONFIG_SYS_I2C_EEPROM_BUS      0
index 8a4c333564abae190be9adb13514721d49da9303..f6dab1e579ef92ed2c911d715df8594c660f78dd 100644 (file)
@@ -17,7 +17,7 @@
 #include <configs/ti_omap5_common.h>
 
 /* EEPROM related defines */
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 #define CONFIG_SYS_I2C_EEPROM_ADDR     0x50
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
 #define CONFIG_SYS_I2C_EEPROM_BUS      0
index fb9e4c64280c70f67e26a56e0ac75a3f660e8b56..d3a32caf53e806031021bf01d32a7513bc44869c 100644 (file)
@@ -66,7 +66,7 @@
 
 /* I2C */
 #undef CONFIG_SYS_I2C_OMAP24XX
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 
 /* TWL4030 */
 #define CONFIG_TWL4030_LED             1
index 91384525ce4e77d7a2e3c76f6368471df4725263..8fd3b31d851cb6845942ae2ac98521eb45835060 100644 (file)
@@ -86,7 +86,7 @@
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 
 /* RTC */
 #define CONFIG_RTC_DS1337
index 982651462d4ba945504b8bc084913728435953a6..481ec95e6e1d4f87fe1946e9e15aa7ae81fcbe4a 100644 (file)
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 
 /*
  * TWL4030
index 70cd0ea27e1e355800bac664608403be76e04b8b..de5af4bef4682d2dc1736acab5c49f17faee24ee 100644 (file)
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 
 /*
  * PISMO support
index 2ab74cb0e920dd902b7c3571c43bea05e6b91b4b..d4c1855cd25df747cd297c3cdf3a4a4c38d6dc9f 100644 (file)
@@ -53,7 +53,7 @@
 #define CONFIG_USB_OMAP3
 
 /* I2C */
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 #define CONFIG_SYS_I2C_EEPROM_ADDR     0x50    /* EEPROM AT24C64      */
 
 /* USB */
index 133069abbcd0c0afcac18b7bcb4ae8e06b36ce31..f9d450bf2c0a95516de927609a42bedea9774c80 100644 (file)
@@ -34,7 +34,7 @@
 #define CONFIG_SYS_MALLOC_LEN  (CONFIG_ENV_SIZE + (128 << 15))
 
 /* I2C Support */
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 
 /* TWL4030 LED */
 #define CONFIG_TWL4030_LED
index b7ab6283dd279d0be243c9d8985aeca44761bd75..e6d2a4fd5e50527b100ae44d87685cab437aebdb 100644 (file)
@@ -30,7 +30,7 @@
  */
 
 /* I2C Support */
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 
 /* TWL4030 LED */
 #define CONFIG_TWL4030_LED
index b86292400a8b5aff1de13af1155622d846b8dc13..04b1def1ef5407c3bb1f877784e86648866c89e1 100644 (file)
@@ -64,7 +64,7 @@
 #endif
 
 #undef CONFIG_SYS_I2C_OMAP24XX
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 
 /*
  * TWL4030
index 669ce8588d171753ac9fdf03eee7a465624ef0a7..a4497accc02f6ff80eb012df78a8e693b18cc074 100644 (file)
@@ -62,7 +62,7 @@
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    400000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 #define CONFIG_I2C_MULTI_BUS
 
 /*
index b695d8d34667646b795754f6997d7e01bdc855a6..acc0bac72253e6f59eb93fb509313418666386b0 100644 (file)
@@ -71,7 +71,7 @@
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    400000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 #define CONFIG_SYS_I2C_EEPROM_ADDR     0x50            /* base address */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1               /* bytes of address */
 #define CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW    0x07
index 3dd7a9bfc792557a6d2fc14aad83dc6d4fb3227c..49ea9671df0ae7b2f8574f30d5f86b02d21c7657 100644 (file)
@@ -69,7 +69,7 @@
                                        "4m(kernel),-(fs)"
 
 #define CONFIG_SYS_I2C
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
 #define CONFIG_SYS_OMAP24_I2C_SPEED    100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
 #define CONFIG_I2C_MULTI_BUS
index 6e80e5b4623e3b72fc3074f3ea0cd5f463852879..02fa5c833c2145337e51a843ab5ea3aa6250b8b2 100644 (file)
@@ -62,7 +62,7 @@
 #define CONFIG_SYS_I2C
 #define CONFIG_SYS_OMAP24_I2C_SPEED    100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE    1
-#define CONFIG_SYS_I2C_OMAP34XX
+#define CONFIG_SYS_I2C_OMAP24XX
  
 
 /* EEPROM */
index 2dacf7961a1f884cd41577bc6d296aa5fe8dba1d..2998cf9438aa7b8b3c32293d0bd8f21763051767 100644 (file)
@@ -3531,7 +3531,6 @@ CONFIG_SYS_I2C_NCT72_ADDR
 CONFIG_SYS_I2C_NOPROBES
 CONFIG_SYS_I2C_OFFSET
 CONFIG_SYS_I2C_OMAP24XX
-CONFIG_SYS_I2C_OMAP34XX
 CONFIG_SYS_I2C_PCA953X_ADDR
 CONFIG_SYS_I2C_PCA953X_ADDR0
 CONFIG_SYS_I2C_PCA953X_ADDR1