From: rick <r...@andestech.com> Enable mmc DM flow as default for ag101p board.
Signed-off-by: rick <r...@andestech.com> c: Andes <ub...@andestech.com> --- board/AndesTech/adp-ag101p/adp-ag101p.c | 2 ++ configs/adp-ag101p_defconfig | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/board/AndesTech/adp-ag101p/adp-ag101p.c b/board/AndesTech/adp-ag101p/adp-ag101p.c index 84c77f7..dbeb662 100644 --- a/board/AndesTech/adp-ag101p/adp-ag101p.c +++ b/board/AndesTech/adp-ag101p/adp-ag101p.c @@ -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; } diff --git a/configs/adp-ag101p_defconfig b/configs/adp-ag101p_defconfig index 8c2fc0b..f22a85b 100644 --- a/configs/adp-ag101p_defconfig +++ b/configs/adp-ag101p_defconfig @@ -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 -- 1.7.9.5 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot