]> git.sur5r.net Git - u-boot/blobdiff - include/configs/sunxi-common.h
am335x_evm: do not define usb ether gadget when Eth DM is defined
[u-boot] / include / configs / sunxi-common.h
index 072934d151c30646c0ddb96c0f3eb01f2064ab7e..ddcfe94e89e7568e2642c56644729c0932b8c7b6 100644 (file)
 #endif
 
 /* mmc config */
-#if !defined(CONFIG_UART0_PORT_F)
-#define CONFIG_MMC
+#ifdef CONFIG_MMC
 #define CONFIG_GENERIC_MMC
 #define CONFIG_CMD_MMC
 #define CONFIG_MMC_SUNXI
 
 #define CONFIG_SPL_LIBDISK_SUPPORT
 
-#if !defined(CONFIG_UART0_PORT_F)
+#ifdef CONFIG_MMC
 #define CONFIG_SPL_MMC_SUPPORT
 #endif
 
@@ -355,9 +354,12 @@ extern int soft_i2c_gpio_scl;
 #define CONFIG_ANDROID_BOOT_IMAGE
 
 #define CONFIG_FASTBOOT_FLASH
+
+#ifdef CONFIG_MMC
 #define CONFIG_FASTBOOT_FLASH_MMC_DEV  0
 #define CONFIG_EFI_PARTITION
 #endif
+#endif
 
 #ifdef CONFIG_USB_FUNCTION_MASS_STORAGE
 #define CONFIG_CMD_USB_MASS_STORAGE