diff options
-rw-r--r-- | drivers/mmc/exynos_dw_mmc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c index cfbe13552aa..ab0df46d821 100644 --- a/drivers/mmc/exynos_dw_mmc.c +++ b/drivers/mmc/exynos_dw_mmc.c @@ -154,12 +154,8 @@ static int exynos_dwmci_get_config(const void *blob, int node, return -EINVAL; } - /* Get the bus width from the device node */ - host->buswidth = fdtdec_get_int(blob, node, "samsung,bus-width", 0); - if (host->buswidth <= 0) { - printf("DWMMC%d: Can't get bus-width\n", host->dev_index); - return -EINVAL; - } + /* Get the bus width from the device node (Default is 4bit buswidth) */ + host->buswidth = fdtdec_get_int(blob, node, "samsung,bus-width", 4); /* Set the base address from the device node */ base = fdtdec_get_addr(blob, node, "reg"); |