diff options
author | Hannes Schmelzer <hannes.schmelzer@br-automation.com> | 2019-01-31 11:24:45 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-02-09 15:50:58 +0300 |
commit | a9484aa769b0f8312abbfa5698b685e188eea78e (patch) | |
tree | 16791e609fc785f7ef60535ab910379684951733 /board/BuR/brppt1/board.c | |
parent | 351a4aa050c834954498e2114cab3429597b7c92 (diff) | |
download | u-boot-a9484aa769b0f8312abbfa5698b685e188eea78e.tar.xz |
board/BuR/brppt1: drop DM_I2C_COMPAT
The TPS62517 PMIC driver has been partially converted to DM, so the
legacy I2C access layer isn't needed anymore.
Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Diffstat (limited to 'board/BuR/brppt1/board.c')
-rw-r--r-- | board/BuR/brppt1/board.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/BuR/brppt1/board.c b/board/BuR/brppt1/board.c index d2e7c72242..b8ab19c0e7 100644 --- a/board/BuR/brppt1/board.c +++ b/board/BuR/brppt1/board.c @@ -106,9 +106,8 @@ void am33xx_spl_board_init(void) /* setup I2C */ enable_i2c_pin_mux(); - i2c_set_bus_num(0); - i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); - pmicsetup(0); + + pmicsetup(0, 0); /* peripheral reset */ rc = gpio_request(64 + 29, "GPMC_WAIT1"); |