diff options
author | Scott Jiang <scott.jiang.linux@gmail.com> | 2014-11-13 15:30:55 +0800 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2014-11-17 08:10:37 +0100 |
commit | c469703ba0e4adcd210e342fa6a19fcd83fe7207 (patch) | |
tree | 350ad1ea61f611b7161351f997dd9c6da1f295aa /include/configs | |
parent | a6be70f7ec567e4a4534d657b9aec9c0b79c466b (diff) |
blackfin: convert to use CONFIG_SYS_I2C framework
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/bct-brettl2.h | 2 | ||||
-rw-r--r-- | include/configs/bf518f-ezbrd.h | 2 | ||||
-rw-r--r-- | include/configs/bf526-ezbrd.h | 2 | ||||
-rw-r--r-- | include/configs/bf527-ad7160-eval.h | 2 | ||||
-rw-r--r-- | include/configs/bf527-ezkit.h | 2 | ||||
-rw-r--r-- | include/configs/bf527-sdp.h | 2 | ||||
-rw-r--r-- | include/configs/bf537-minotaur.h | 2 | ||||
-rw-r--r-- | include/configs/bf537-pnav.h | 2 | ||||
-rw-r--r-- | include/configs/bf537-srv1.h | 2 | ||||
-rw-r--r-- | include/configs/bf537-stamp.h | 2 | ||||
-rw-r--r-- | include/configs/bf538f-ezkit.h | 2 | ||||
-rw-r--r-- | include/configs/bf548-ezkit.h | 2 | ||||
-rw-r--r-- | include/configs/bf609-ezkit.h | 2 | ||||
-rw-r--r-- | include/configs/bfin_adi_common.h | 4 | ||||
-rw-r--r-- | include/configs/br4.h | 2 | ||||
-rw-r--r-- | include/configs/cm-bf527.h | 2 | ||||
-rw-r--r-- | include/configs/cm-bf537e.h | 2 | ||||
-rw-r--r-- | include/configs/cm-bf537u.h | 2 | ||||
-rw-r--r-- | include/configs/cm-bf548.h | 2 | ||||
-rw-r--r-- | include/configs/pr1.h | 2 | ||||
-rw-r--r-- | include/configs/tcm-bf518.h | 2 | ||||
-rw-r--r-- | include/configs/tcm-bf537.h | 2 |
22 files changed, 23 insertions, 23 deletions
diff --git a/include/configs/bct-brettl2.h b/include/configs/bct-brettl2.h index f0b74d82a3..39982ef72c 100644 --- a/include/configs/bct-brettl2.h +++ b/include/configs/bct-brettl2.h @@ -122,8 +122,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf518f-ezbrd.h b/include/configs/bf518f-ezbrd.h index 4df51b9895..50e85ca93c 100644 --- a/include/configs/bf518f-ezbrd.h +++ b/include/configs/bf518f-ezbrd.h @@ -134,8 +134,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf526-ezbrd.h b/include/configs/bf526-ezbrd.h index 55bfbbec66..7fc882a133 100644 --- a/include/configs/bf526-ezbrd.h +++ b/include/configs/bf526-ezbrd.h @@ -131,8 +131,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf527-ad7160-eval.h b/include/configs/bf527-ad7160-eval.h index 589c7a5d12..c2958e834e 100644 --- a/include/configs/bf527-ad7160-eval.h +++ b/include/configs/bf527-ad7160-eval.h @@ -119,8 +119,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf527-ezkit.h b/include/configs/bf527-ezkit.h index 0e68952f2a..79e440a0be 100644 --- a/include/configs/bf527-ezkit.h +++ b/include/configs/bf527-ezkit.h @@ -134,8 +134,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf527-sdp.h b/include/configs/bf527-sdp.h index a3ad7aea7f..b374ab5772 100644 --- a/include/configs/bf527-sdp.h +++ b/include/configs/bf527-sdp.h @@ -103,8 +103,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf537-minotaur.h b/include/configs/bf537-minotaur.h index d94c2df6a1..6df89af402 100644 --- a/include/configs/bf537-minotaur.h +++ b/include/configs/bf537-minotaur.h @@ -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 diff --git a/include/configs/bf537-pnav.h b/include/configs/bf537-pnav.h index 6c9a907983..4f2b2cbf29 100644 --- a/include/configs/bf537-pnav.h +++ b/include/configs/bf537-pnav.h @@ -142,8 +142,8 @@ /* * I2C settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf537-srv1.h b/include/configs/bf537-srv1.h index a6ceffa288..d01d88f3b4 100644 --- a/include/configs/bf537-srv1.h +++ b/include/configs/bf537-srv1.h @@ -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 diff --git a/include/configs/bf537-stamp.h b/include/configs/bf537-stamp.h index 7ab644f531..7b5a5a7f71 100644 --- a/include/configs/bf537-stamp.h +++ b/include/configs/bf537-stamp.h @@ -128,8 +128,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf538f-ezkit.h b/include/configs/bf538f-ezkit.h index 743e193f57..e60558e1b6 100644 --- a/include/configs/bf538f-ezkit.h +++ b/include/configs/bf538f-ezkit.h @@ -126,8 +126,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf548-ezkit.h b/include/configs/bf548-ezkit.h index 6b29d08493..e71e6d324c 100644 --- a/include/configs/bf548-ezkit.h +++ b/include/configs/bf548-ezkit.h @@ -134,8 +134,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/bf609-ezkit.h b/include/configs/bf609-ezkit.h index f02e155505..878009ff66 100644 --- a/include/configs/bf609-ezkit.h +++ b/include/configs/bf609-ezkit.h @@ -81,8 +81,8 @@ #define CONFIG_PHYLIB /* i2c Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C /* * Flash Settings diff --git a/include/configs/bfin_adi_common.h b/include/configs/bfin_adi_common.h index 07ec5f2bd8..143d3ddd2d 100644 --- a/include/configs/bfin_adi_common.h +++ b/include/configs/bfin_adi_common.h @@ -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 diff --git a/include/configs/br4.h b/include/configs/br4.h index 13e939fac6..48cf184826 100644 --- a/include/configs/br4.h +++ b/include/configs/br4.h @@ -102,8 +102,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C /* diff --git a/include/configs/cm-bf527.h b/include/configs/cm-bf527.h index 3668903afc..643c8379aa 100644 --- a/include/configs/cm-bf527.h +++ b/include/configs/cm-bf527.h @@ -113,8 +113,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/cm-bf537e.h b/include/configs/cm-bf537e.h index 85f5341d03..e05956846c 100644 --- a/include/configs/cm-bf537e.h +++ b/include/configs/cm-bf537e.h @@ -122,8 +122,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/cm-bf537u.h b/include/configs/cm-bf537u.h index 5dffd1bf1b..1f26457a95 100644 --- a/include/configs/cm-bf537u.h +++ b/include/configs/cm-bf537u.h @@ -120,8 +120,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/cm-bf548.h b/include/configs/cm-bf548.h index 13ea067778..72eafc5699 100644 --- a/include/configs/cm-bf548.h +++ b/include/configs/cm-bf548.h @@ -104,8 +104,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/pr1.h b/include/configs/pr1.h index eb18d6d025..13fb675a5f 100644 --- a/include/configs/pr1.h +++ b/include/configs/pr1.h @@ -102,8 +102,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C /* diff --git a/include/configs/tcm-bf518.h b/include/configs/tcm-bf518.h index e9bff83b4a..e96a7427e5 100644 --- a/include/configs/tcm-bf518.h +++ b/include/configs/tcm-bf518.h @@ -103,8 +103,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* diff --git a/include/configs/tcm-bf537.h b/include/configs/tcm-bf537.h index caf884726e..42129fb7d8 100644 --- a/include/configs/tcm-bf537.h +++ b/include/configs/tcm-bf537.h @@ -122,8 +122,8 @@ /* * I2C Settings */ +#define CONFIG_SYS_I2C #define CONFIG_SYS_I2C_ADI -#define CONFIG_HARD_I2C 1 /* |