mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 11:36:21 -04:00
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>
|
#include <config_cmd_default.h>
|
||||||
#define CONFIG_CMD_IDE
|
#define CONFIG_CMD_IDE
|
||||||
|
#define CONFIG_CMD_I2C
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Network
|
* Network
|
||||||
@ -181,6 +182,16 @@
|
|||||||
/* end of IDE defines */
|
/* end of IDE defines */
|
||||||
#endif /* CMD_IDE */
|
#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
|
* Environment variables configurations
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user