From 91e69d5ed5f8d9332ae3bf9f787e2bf9aacf560f Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 9 May 2017 17:55:58 -0500 Subject: Switch from the driver model to the SYS model for I2C. --- recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch') diff --git a/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch b/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch index ba9ca44..a5087ea 100644 --- a/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch +++ b/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch @@ -108,7 +108,7 @@ diff -raNu old/include/i2c.h new/include/i2c.h void i2c_soft_delay(void); #endif -#else -+#else if !defined(CONFIG_DM_I2C_COMPAT) ++#elif !defined(CONFIG_DM_I2C_COMPAT) /* * Probe the given I2C chip address. Returns 0 if a chip responded, -- cgit v1.2.3