From c39b79df43dcabc19a87bbea7e64a26670c73f44 Mon Sep 17 00:00:00 2001 From: Rick Chen Date: Mon, 28 Aug 2017 16:17:13 +0800 Subject: nds32: board: Support ftsdc010 DM. AG101P/AE3XX enable ftsdc010 dm flow. Signed-off-by: Rick Chen --- board/AndesTech/adp-ag101p/adp-ag101p.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/AndesTech') 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; } -- cgit v1.2.3