Skip to content
Snippets Groups Projects
Commit 73cd56b2 authored by Rick Chen's avatar Rick Chen Committed by Rick Chen
Browse files

nds32: ftsdc010: Fix SD detech fail on AE3XX.


AE3XX can not support SD high-speed mode.
SW can work-around by removing HS capibility.

Signed-off-by: default avatarRick Chen <rick@andestech.com>
parent 1a9db640
No related branches found
No related tags found
No related merge requests found
...@@ -376,7 +376,6 @@ void ftsdc_setup_cfg(struct mmc_config *cfg, const char *name, int buswidth, ...@@ -376,7 +376,6 @@ void ftsdc_setup_cfg(struct mmc_config *cfg, const char *name, int buswidth,
cfg->host_caps |= MMC_MODE_4BIT; cfg->host_caps |= MMC_MODE_4BIT;
cfg->host_caps &= ~MMC_MODE_8BIT; cfg->host_caps &= ~MMC_MODE_8BIT;
} }
cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
cfg->part_type = PART_TYPE_DOS; cfg->part_type = PART_TYPE_DOS;
cfg->b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT; cfg->b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment