diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-13 06:09:49 +0300 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2017-05-15 07:17:09 +0300 |
commit | eb5ba3aefdf0f6cbd61684eeb61428f11fa7613c (patch) | |
tree | 89887dacbe56dc1b3cef048ce08c2ec3ef8f955b /include/configs/motionpro.h | |
parent | 22f3368e71321db1e0e15dfbf54b052367890ec7 (diff) | |
download | u-boot-eb5ba3aefdf0f6cbd61684eeb61428f11fa7613c.tar.xz |
i2c: Drop use of CONFIG_I2C_HARD
This option is pretty old. It predates CONFIG_SYS_I2C which is itself
deprecated in favour of driver model. Disable it for all boards.
Also drop I2C options which depend on this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/motionpro.h')
-rw-r--r-- | include/configs/motionpro.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h index 136db0dd26..cb5c346807 100644 --- a/include/configs/motionpro.h +++ b/include/configs/motionpro.h @@ -34,7 +34,6 @@ * Command line configuration. */ #define CONFIG_CMD_DTT -#define CONFIG_CMD_EEPROM #define CONFIG_CMD_IDE #define CONFIG_CMD_IMMAP #define CONFIG_CMD_JFFS2 @@ -256,21 +255,6 @@ #define CONFIG_SYS_ATA_STRIDE 4 /* - * I2C configuration - */ -#define CONFIG_HARD_I2C 1 /* I2C with hardware support */ -#define CONFIG_SYS_I2C_MODULE 2 /* select I2C module #2 */ -#define CONFIG_SYS_I2C_SPEED 100000 /* 100 kHz */ -#define CONFIG_SYS_I2C_SLAVE 0x7F - -/* - * EEPROM configuration - */ -#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 -#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 1 /* 2 bytes per write cycle */ -#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5 /* 2ms/cycle + 3ms extra */ - -/* * RTC configuration */ #define CONFIG_RTC_DS1337 1 @@ -284,12 +268,6 @@ #define LED_ON 0x00000010 /* - * Temperature sensor - */ -#define CONFIG_DTT_LM75 1 -#define CONFIG_DTT_SENSORS { 0x49 } - -/* * Environment settings */ #define CONFIG_ENV_IS_IN_FLASH 1 |