edminiv2: add I2C support using mvtwsi driver
Signed-off-by: Albert Aribaud <albert.aribaud@free.fr> Acked-by: Prafulla Wadaskar<prafulla@marvell.com> Acked-by: Heiko Schocher<hs@denx.de>
This commit is contained in:
parent
306563a773
commit
c2ca44c24b
|
@ -132,6 +132,7 @@
|
|||
*/
|
||||
#include <config_cmd_default.h>
|
||||
#define CONFIG_CMD_IDE
|
||||
#define CONFIG_CMD_I2C
|
||||
|
||||
/*
|
||||
* Network
|
||||
|
@ -181,6 +182,16 @@
|
|||
/* end of IDE defines */
|
||||
#endif /* CMD_IDE */
|
||||
|
||||
/*
|
||||
* I2C related stuff
|
||||
*/
|
||||
#ifdef CONFIG_CMD_I2C
|
||||
#define CONFIG_I2C_MVTWSI
|
||||
#define CONFIG_I2C_MVTWSI_BASE ORION5X_TWSI_BASE
|
||||
#define CONFIG_SYS_I2C_SLAVE 0x0
|
||||
#define CONFIG_SYS_I2C_SPEED 100000
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Environment variables configurations
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue