diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-12 21:09:56 -0600 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2017-05-15 06:18:30 +0200 |
commit | 69153988a6f4eda44257c6bc5afac484f8f95930 (patch) | |
tree | 4f3995cb48da7354d628689aaf09ab9fa3cfdd23 /README | |
parent | 64a144dcea038df2b58dd3120a880e89164af09f (diff) | |
download | u-boot-69153988a6f4eda44257c6bc5afac484f8f95930.tar.gz u-boot-69153988a6f4eda44257c6bc5afac484f8f95930.tar.bz2 u-boot-69153988a6f4eda44257c6bc5afac484f8f95930.zip |
i2c: Finish dropping use of CONFIG_I2C_HARD
Drop use of this long-deprecated option.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'README')
-rw-r--r-- | README | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -2204,7 +2204,9 @@ The following options need to be configured: If you do not have i2c muxes on your board, omit this define. -- Legacy I2C Support: CONFIG_HARD_I2C +----under removal: + +- Legacy I2C Support: CONFIG_SOFT_I2C NOTE: It is intended to move drivers to CONFIG_SYS_I2C which provides the following compelling advantages: @@ -2213,14 +2215,12 @@ The following options need to be configured: - approved multibus support - better i2c mux support - ** CONFIG_HARD_I2C is now being removed ** - -----under removal: + ** CONFIG_SOFT_I2C is now being removed ** - In both cases you will need to define CONFIG_SYS_I2C_SPEED - to be the frequency (in Hz) at which you wish your i2c bus - to run and CONFIG_SYS_I2C_SLAVE to be the address of this node (ie - the CPU's i2c node address). + With CONFIG_SOFT_I2C you will need to define + CONFIG_SYS_I2C_SPEED to be the frequency (in Hz) at which you + wish your i2c bus to run and CONFIG_SYS_I2C_SLAVE to be the + address of this node (ie the CPU's i2c node address). Now, the u-boot i2c code for the mpc8xx (arch/powerpc/cpu/mpc8xx/i2c.c) sets the CPU up as a master node |