summaryrefslogtreecommitdiff
path: root/board/compulab
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-18 23:12:29 -0400
committerTom Rini <trini@konsulko.com>2021-08-30 14:10:07 -0400
commit14376b8e6c3a5679070e08182ab7154bb3dcbeee (patch)
treea7359a41b85672a5b830d282c34fb1c7f54c9974 /board/compulab
parentdb157874fcbd8fc735b137c1bdf10d9ce41c290d (diff)
downloadu-boot-14376b8e6c3a5679070e08182ab7154bb3dcbeee.tar.gz
u-boot-14376b8e6c3a5679070e08182ab7154bb3dcbeee.tar.bz2
u-boot-14376b8e6c3a5679070e08182ab7154bb3dcbeee.zip
ti: i2c: Convert CONFIG_SYS_OMAP24_I2C to CONFIG_SYS_I2C namespace
The omap24xx I2C driver uses its own CONFIG namespace for common I2C variables. Rather than convert more of them to Kconfig, rename these to the common I2C ones and remove the entirely unused functionality. As part of this, we make the am335x_shc platforms consistent with their intended speed values. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/compulab')
-rw-r--r--board/compulab/cm_t43/cm_t43.c2
-rw-r--r--board/compulab/cm_t43/spl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/compulab/cm_t43/cm_t43.c b/board/compulab/cm_t43/cm_t43.c
index efdade155b..bcfe1bfaf6 100644
--- a/board/compulab/cm_t43/cm_t43.c
+++ b/board/compulab/cm_t43/cm_t43.c
@@ -48,7 +48,7 @@ int board_init(void)
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
gpmc_init();
set_i2c_pin_mux();
- i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
+ i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
i2c_probe(TPS65218_CHIP_PM);
return 0;
diff --git a/board/compulab/cm_t43/spl.c b/board/compulab/cm_t43/spl.c
index 016c63a509..9c6806c32f 100644
--- a/board/compulab/cm_t43/spl.c
+++ b/board/compulab/cm_t43/spl.c
@@ -106,7 +106,7 @@ const struct dpll_params *get_dpll_per_params(void)
void scale_vcores(void)
{
set_i2c_pin_mux();
- i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE);
+ i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE);
if (i2c_probe(TPS65218_CHIP_PM))
return;