diff options
author | Simon Glass <sjg@chromium.org> | 2014-12-10 08:55:57 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-12-11 13:18:44 -0700 |
commit | b0e6ef46405353270595ffa35c21f4334c541189 (patch) | |
tree | 919f435acfe6b7276e465deecdc777631155f158 /include/configs/tec-ng.h | |
parent | a6c7b461814028870697182d19383ef5b370c257 (diff) |
dm: i2c: tegra: Convert to driver model
This converts all Tegra boards over to use driver model for I2C. The driver
is adjusted to use driver model and the following obsolete CONFIGs are
removed:
- CONFIG_SYS_I2C_INIT_BOARD
- CONFIG_I2C_MULTI_BUS
- CONFIG_SYS_MAX_I2C_BUS
- CONFIG_SYS_I2C_SPEED
- CONFIG_SYS_I2C
This has been tested on:
- trimslice (no I2C)
- beaver
- Jetson-TK1
It has not been tested on Tegra 114 as I don't have that board.
Acked-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/tec-ng.h')
-rw-r--r-- | include/configs/tec-ng.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/configs/tec-ng.h b/include/configs/tec-ng.h index 51f87dacdbe..e37b23359b5 100644 --- a/include/configs/tec-ng.h +++ b/include/configs/tec-ng.h @@ -23,12 +23,7 @@ /* I2C */ #define CONFIG_SYS_I2C_TEGRA -#define CONFIG_SYS_I2C_INIT_BOARD -#define CONFIG_I2C_MULTI_BUS -#define CONFIG_SYS_MAX_I2C_BUS TEGRA_I2C_NUM_CONTROLLERS -#define CONFIG_SYS_I2C_SPEED 100000 #define CONFIG_CMD_I2C -#define CONFIG_SYS_I2C /* SD/MMC */ #define CONFIG_MMC |