From 02e80f0c11e4ae0ff6672df30f8520b393f269ad Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 27 Nov 2017 07:36:22 +0100 Subject: ARM: rmobile: Migrate boards to RCar IIC drivers Stop using the old ad-hoc SH I2C driver and use the new RCar IIC driver instead. The SH I2C driver should be deprecated and removed eventually. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- include/configs/salvator-x.h | 12 ------------ include/configs/ulcb.h | 12 ------------ 2 files changed, 24 deletions(-) (limited to 'include') diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h index f59adb0aacf..33624e6c4ea 100644 --- a/include/configs/salvator-x.h +++ b/include/configs/salvator-x.h @@ -25,18 +25,6 @@ /* Generic Timer Definitions (use in assembler source) */ #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ -/* i2c */ -#define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_SH -#define CONFIG_SYS_I2C_SLAVE 0x60 -#define CONFIG_SYS_I2C_SH_NUM_CONTROLLERS 1 -#define CONFIG_SYS_I2C_SH_SPEED0 400000 -#define CONFIG_SH_I2C_DATA_HIGH 4 -#define CONFIG_SH_I2C_DATA_LOW 5 -#define CONFIG_SH_I2C_CLOCK 10000000 - -#define CONFIG_SYS_I2C_POWERIC_ADDR 0x30 - /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE) #define CONFIG_SYS_MMC_ENV_DEV 1 diff --git a/include/configs/ulcb.h b/include/configs/ulcb.h index 29f37c17d18..b330ea703aa 100644 --- a/include/configs/ulcb.h +++ b/include/configs/ulcb.h @@ -38,18 +38,6 @@ void ulcb_softspi_scl(int); unsigned char ulcb_softspi_read(void); #endif -/* i2c */ -#define CONFIG_SYS_I2C -#define CONFIG_SYS_I2C_SH -#define CONFIG_SYS_I2C_SLAVE 0x60 -#define CONFIG_SYS_I2C_SH_NUM_CONTROLLERS 1 -#define CONFIG_SYS_I2C_SH_SPEED0 400000 -#define CONFIG_SH_I2C_DATA_HIGH 4 -#define CONFIG_SH_I2C_DATA_LOW 5 -#define CONFIG_SH_I2C_CLOCK 10000000 - -#define CONFIG_SYS_I2C_POWERIC_ADDR 0x30 - /* Environment in eMMC, at the end of 2nd "boot sector" */ #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE) #define CONFIG_SYS_MMC_ENV_DEV 1 -- cgit v1.2.3