summaryrefslogtreecommitdiff
path: root/board/AndesTech
diff options
context:
space:
mode:
authorRick Chen <rick@andestech.com>2017-08-28 16:17:13 +0800
committerRick Chen <rickchen36@gmail.com>2017-11-30 10:04:25 +0800
commitc39b79df43dcabc19a87bbea7e64a26670c73f44 (patch)
tree3bd21063264ae3cadd9dc4713912f99b7452b655 /board/AndesTech
parentfebcd97699e7cdd7904c98a8993c619972557125 (diff)
nds32: board: Support ftsdc010 DM.
AG101P/AE3XX enable ftsdc010 dm flow. Signed-off-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'board/AndesTech')
-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;
}