mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
mmc: exynos_dw_mmc: Use dev->name as driver's displayed name
Reduce U-Boot footprint by reusing dev->name as a driver's displayed name. This changes boot device name (and "mmc info" output) from "EXYNOS DWMMC" to something like "mmc@12100000". Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
committed by
Minkyu Kang
parent
06663c917f
commit
549afd7f32
@@ -327,7 +327,7 @@ static int exynos_dwmmc_probe(struct udevice *dev)
|
||||
"continue anyway\n", host->dev_index, err);
|
||||
}
|
||||
|
||||
host->name = "EXYNOS DWMMC";
|
||||
host->name = dev->name;
|
||||
host->board_init = exynos_dwmci_board_init;
|
||||
host->caps = MMC_MODE_DDR_52MHz;
|
||||
host->clksel = exynos_dwmci_clksel;
|
||||
|
||||
Reference in New Issue
Block a user