summaryrefslogtreecommitdiff
path: root/board/AndesTech/adp-ag101p/adp-ag101p.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/AndesTech/adp-ag101p/adp-ag101p.c')
-rw-r--r--board/AndesTech/adp-ag101p/adp-ag101p.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/AndesTech/adp-ag101p/adp-ag101p.c b/board/AndesTech/adp-ag101p/adp-ag101p.c
index 79608f4efe..f918c630c1 100644
--- a/board/AndesTech/adp-ag101p/adp-ag101p.c
+++ b/board/AndesTech/adp-ag101p/adp-ag101p.c
@@ -85,8 +85,10 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
int board_mmc_init(bd_t *bis)
{
+#ifndef CONFIG_DM_MMC
#ifdef CONFIG_FTSDC010
ftsdc010_mmc_init(0);
#endif
+#endif
return 0;
}