X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=include%2Fconfigs%2Fnhk8815.h;h=09073e9489bc78fcd07501d3e23c531834ca4402;hb=ea818dbbcd59300b56014ac2d67798a54994eb9b;hp=d438efdae68bf4785507a20016be41f09f23afe6;hpb=3f4978c713255c8406875fbdf23ffed1129bc44b;p=people%2Fms%2Fu-boot.git diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h index d438efdae6..09073e9489 100644 --- a/include/configs/nhk8815.h +++ b/include/configs/nhk8815.h @@ -109,8 +109,11 @@ #ifndef __ASSEMBLY__ #include #define CONFIG_CMD_I2C -#define CONFIG_SOFT_I2C -#define CONFIG_SYS_I2C_SPEED 400000 +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_SOFT 1 /* I2C bit-banged */ +#define I2C_SOFT_DEFS +#define CONFIG_SYS_I2C_SOFT_SPEED 400000 +#define CONFIG_SYS_I2C_SOFT_SLAVE 0x7F #define __SDA 63 #define __SCL 62 #define I2C_SDA(x) nmk_gpio_set(__SDA, x)