blackfin: convert to use CONFIG_SYS_I2C framework
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
This commit is contained in:
committed by
Heiko Schocher
parent
a6be70f7ec
commit
c469703ba0
@@ -122,8 +122,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -134,8 +134,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -131,8 +131,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -119,8 +119,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -134,8 +134,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -103,8 +103,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -121,8 +121,8 @@
|
||||
/*
|
||||
* I2C settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
#define CONFIG_SYS_I2C_SPEED 50000
|
||||
#define CONFIG_SYS_I2C_SLAVE 0
|
||||
|
||||
|
||||
@@ -142,8 +142,8 @@
|
||||
/*
|
||||
* I2C settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -120,8 +120,8 @@
|
||||
/*
|
||||
* I2C settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
#define CONFIG_SYS_I2C_SPEED 50000
|
||||
#define CONFIG_SYS_I2C_SLAVE 0
|
||||
|
||||
|
||||
@@ -128,8 +128,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -126,8 +126,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -134,8 +134,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -81,8 +81,8 @@
|
||||
#define CONFIG_PHYLIB
|
||||
|
||||
/* i2c Settings */
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C
|
||||
|
||||
/*
|
||||
* Flash Settings
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
# ifdef CONFIG_SPI_FLASH
|
||||
# define CONFIG_CMD_SF
|
||||
# endif
|
||||
# if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C_SOFT)
|
||||
# if defined(CONFIG_SYS_I2C) || defined(CONFIG_SYS_I2C_SOFT)
|
||||
# define CONFIG_CMD_I2C
|
||||
# define CONFIG_SOFT_I2C_READ_REPEATED_START
|
||||
# endif
|
||||
@@ -301,7 +301,7 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C_SOFT)
|
||||
#if defined(CONFIG_SYS_I2C) || defined(CONFIG_SYS_I2C_SOFT)
|
||||
# ifndef CONFIG_SYS_I2C_SPEED
|
||||
# define CONFIG_SYS_I2C_SPEED 50000
|
||||
# endif
|
||||
|
||||
@@ -102,8 +102,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -113,8 +113,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -122,8 +122,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -120,8 +120,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -104,8 +104,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -102,8 +102,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -103,8 +103,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -122,8 +122,8 @@
|
||||
/*
|
||||
* I2C Settings
|
||||
*/
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_ADI
|
||||
#define CONFIG_HARD_I2C 1
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user