]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/keymile/common/common.c
ppc: add support for ppc based board mgcoge2ne
[karo-tx-uboot.git] / board / keymile / common / common.c
index 85538d061bb537cc32a1c6cbaedad9914842ed4a..8564b9c757565dadfd30c3542c7420d7da890e8a 100644 (file)
@@ -22,7 +22,7 @@
  */
 
 #include <common.h>
-#if defined(CONFIG_MGCOGE)
+#if defined(CONFIG_MGCOGE) || defined(CONFIG_MGCOGE2NE)
 #include <mpc8260.h>
 #endif
 #include <ioports.h>
@@ -343,7 +343,7 @@ int ivm_read_eeprom(void)
 #define DELAY_ABORT_SEQ                62
 #define DELAY_HALF_PERIOD      (500 / (CONFIG_SYS_I2C_SPEED / 1000))
 
-#if defined(CONFIG_MGCOGE)
+#if defined(CONFIG_MGCOGE) || defined(CONFIG_MGCOGE2NE)
 #define SDA_MASK       0x00010000
 #define SCL_MASK       0x00020000
 static void set_pin(int state, unsigned long mask)