nds32: mmc: Support mmc DM.
PATCH 2/3 nds32: mmc: Support mmc DM.
From: rick <[email protected]>
Enable mmc DM flow as default for ag101p board.
Signed-off-by rick <[email protected]>
c: Andes <[email protected]>
--- board/AndesTech/adp-ag101p/adp-ag101p.c | 2 ++ configs/adp-ag101p_defconfig | 4 ++++ 2 files changed, 6 insertions(+)
board/AndesTech/adp-ag101p/adp-ag101p.c +2 -0
@@ -76,6 +76,8 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)int board_mmc_init (bd_t *bis) { +#ifndef CONFIG_DM_MMC ftsdc010_mmc_init (0 ); +#endif return 0 ; }
configs/adp-ag101p_defconfig +4 -0
@@ -12,6 +12,10 @@ CONFIG_CMD_EXT2=y CONFIG_CMD_FAT=y CONFIG_OF_CONTROL=y CONFIG_DM=y +CONFIG_BLK=y +CONFIG_DM_MMC=y +CONFIG_DM_MMC_OPS=y +CONFIG_NDS32_MMC=y CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y CONFIG_TIMER=y
Signature · 1 line
1.7.9.5