LINARO: enable u-boot API

For supported boards where it works without causing build failures

Signed-off-by: John Rigby <john.rigby@linaro.org>
diff --git a/include/configs/efikamx.h b/include/configs/efikamx.h
index 143b0f0..476fee9 100644
--- a/include/configs/efikamx.h
+++ b/include/configs/efikamx.h
@@ -25,6 +25,8 @@
 #define __CONFIG_H
 
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 /*
  * High Level Board Configuration Options
diff --git a/include/configs/highbank.h b/include/configs/highbank.h
index bb06671..00c62f5 100644
--- a/include/configs/highbank.h
+++ b/include/configs/highbank.h
@@ -66,6 +66,8 @@
  * Command line configuration.
  */
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 #define CONFIG_CMD_BDI
 #define CONFIG_CMD_DHCP
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index 6af5ed7..34ecb61 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -145,6 +145,8 @@
  ***********************************************************/
 
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 #undef CONFIG_CMD_IMLS
 
diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
index 0a928af..bdbf853 100644
--- a/include/configs/mx53ard.h
+++ b/include/configs/mx53ard.h
@@ -81,6 +81,8 @@
 
 /* Command definition */
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 #undef CONFIG_CMD_IMLS
 
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 2d2396a..c2ff34e 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -122,6 +122,8 @@
 
 /* Command definition */
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 #undef CONFIG_CMD_IMLS
 
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index a9c1b15..8aed2b2 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -72,6 +72,8 @@
 
 /* Command definition */
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 #undef CONFIG_CMD_IMLS
 
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index fbd10d6..56f5185 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -125,6 +125,8 @@
 
 /* Command definition */
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 #undef CONFIG_CMD_IMLS
 
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index 75f6dd9..c8bafa9 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -159,6 +159,8 @@
 
 /* commands to include */
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 #define CONFIG_CMD_ASKENV
 
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index d29b326..15a8653 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -91,6 +91,8 @@
 
 /* commands to include */
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 #define CONFIG_CMD_CACHE
 #define CONFIG_CMD_EXT2		/* EXT2 Support			*/
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index a7e1b24..0535f44 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -73,6 +73,9 @@
 
 #include <configs/omap4_common.h>
 #define CONFIG_CMD_NET
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
+
 
 /* GPIO */
 #define CONFIG_CMD_GPIO
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index d612d26..fce263c 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -90,6 +90,8 @@
 
 /* Command definition*/
 #include <config_cmd_default.h>
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
 
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_ELF
diff --git a/include/configs/vexpress_ca5x2.h b/include/configs/vexpress_ca5x2.h
index 5998530..aa60d0d 100644
--- a/include/configs/vexpress_ca5x2.h
+++ b/include/configs/vexpress_ca5x2.h
@@ -31,4 +31,4 @@
 #include "vexpress_common.h"
 #define CONFIG_BOOTP_VCI_STRING     "U-boot.armv7.vexpress_ca5x2"
 
-#endif // __VEXPRESS_CA5X2_h
+#endif
diff --git a/include/configs/vexpress_ca9x4.h b/include/configs/vexpress_ca9x4.h
index f8066a2..f30e927 100644
--- a/include/configs/vexpress_ca9x4.h
+++ b/include/configs/vexpress_ca9x4.h
@@ -31,4 +31,4 @@
 #include "vexpress_common.h"
 #define CONFIG_BOOTP_VCI_STRING     "U-boot.armv7.vexpress_ca9x4"
 
-#endif // VEXPRESS_CA9X4_H
+#endif
diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h
index 254c230..88a2c95 100644
--- a/include/configs/vexpress_common.h
+++ b/include/configs/vexpress_common.h
@@ -188,6 +188,9 @@
 #define CONFIG_ARM_PL180_MMCI_BASE	V2M_MMCI
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT	127
 #define CONFIG_ARM_PL180_MMCI_CLOCK_FREQ 6250000
+#define CONFIG_API
+#define CONFIG_SYS_MMC_MAX_DEVICE 2
+#define CONFIG_NET_MULTI
 
 /* BOOTP options */
 #define CONFIG_BOOTP_BOOTFILESIZE