]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/nhk8815.h
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[karo-tx-uboot.git] / include / configs / nhk8815.h
index 1453285f6cf66df67db2ba63bd0263a164e2ead5..0997f49859b44f62a656a7da782450d5f2424105 100644 (file)
 #ifndef __ASSEMBLY__
 #include <asm/arch/gpio.h>
 #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)