[U-Boot] [PATCH] ppc4xx: Fix APC405 build breakage

Stefan Roese sr at denx.de
Wed Apr 28 11:09:59 CEST 2010


This patch fixes APC405 build, by defining CONFIG_PPC4XX_I2C. This is
needed since the move of the PPC4xx I2C driver into the drivers/i2c
directory.

Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Matthias Fuchs <matthias.fuchs at esd.eu>
---
 include/configs/APC405.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/APC405.h b/include/configs/APC405.h
index 41eaaab..20849bc 100644
--- a/include/configs/APC405.h
+++ b/include/configs/APC405.h
@@ -304,6 +304,7 @@ extern int flash_banks;
  * I2C EEPROM (CAT24WC16) for environment
  */
 #define CONFIG_HARD_I2C			/* I2c with hardware support */
+#define CONFIG_PPC4XX_I2C		/* use PPC4xx driver		*/
 #define CONFIG_SYS_I2C_SPEED		100000	/* I2C speed and slave address */
 #define CONFIG_SYS_I2C_SLAVE		0x7F
 
-- 
1.7.1



More information about the U-Boot mailing list