mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
Blackfin: unify default I2C settings for ADI boards
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
bbf4fbb6cc
commit
787e343b91
@ -137,8 +137,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -134,8 +134,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -138,8 +138,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -136,8 +136,6 @@
|
|||||||
} while (0)
|
} while (0)
|
||||||
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
|
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
|
||||||
|
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -180,8 +180,6 @@
|
|||||||
} while (0)
|
} while (0)
|
||||||
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
|
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
|
||||||
|
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -155,8 +155,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -137,8 +137,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -134,8 +134,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -140,8 +140,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -151,8 +151,6 @@
|
|||||||
} while (0)
|
} while (0)
|
||||||
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
|
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
|
||||||
|
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -251,6 +251,18 @@
|
|||||||
# define CONFIG_NET_RETRY_COUNT 20
|
# define CONFIG_NET_RETRY_COUNT 20
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* I2C Settings
|
||||||
|
*/
|
||||||
|
#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C)
|
||||||
|
# ifndef CONFIG_SYS_I2C_SPEED
|
||||||
|
# define CONFIG_SYS_I2C_SPEED 50000
|
||||||
|
# endif
|
||||||
|
# ifndef CONFIG_SYS_I2C_SLAVE
|
||||||
|
# define CONFIG_SYS_I2C_SLAVE 0
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Misc Settings
|
* Misc Settings
|
||||||
*/
|
*/
|
||||||
|
@ -117,8 +117,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -119,8 +119,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -120,8 +120,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -107,8 +107,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -138,8 +138,6 @@
|
|||||||
} while (0)
|
} while (0)
|
||||||
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
|
#define I2C_DELAY udelay(5) /* 1/4 I2C clock duration */
|
||||||
|
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -106,8 +106,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -120,8 +120,6 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIG_BFIN_TWI_I2C 1
|
#define CONFIG_BFIN_TWI_I2C 1
|
||||||
#define CONFIG_HARD_I2C 1
|
#define CONFIG_HARD_I2C 1
|
||||||
#define CONFIG_SYS_I2C_SPEED 50000
|
|
||||||
#define CONFIG_SYS_I2C_SLAVE 0
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user