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 f0b74d82a35..39982ef72cf 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 4df51b9895e..50e85ca93c1 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 55bfbbec663..7fc882a133b 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 589c7a5d12e..c2958e834e8 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 0e68952f2aa..79e440a0be4 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 a3ad7aea7f0..b374ab57725 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 d94c2df6a17..6df89af4029 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 6c9a907983d..4f2b2cbf296 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 a6ceffa2884..d01d88f3b47 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 7ab644f5311..7b5a5a7f71d 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 743e193f574..e60558e1b62 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 6b29d084930..e71e6d324cd 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 f02e1555053..878009ff661 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 07ec5f2bd83..143d3ddd2d8 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 13e939fac62..48cf184826d 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 3668903afc8..643c8379aad 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 85f5341d03a..e05956846c9 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 5dffd1bf1b7..1f26457a955 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 13ea0677780..72eafc5699b 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 eb18d6d0256..13fb675a5fd 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 e9bff83b4a6..e96a7427e58 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 caf884726e1..42129fb7d84 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 /* |