[U-Boot] [PATCH] ARM: omap3logic: Fix MMC name

Adam Ford aford173 at gmail.com
Sun Oct 7 22:47:50 UTC 2018


In my haste to migrate SPL to DM, I copied the wrong name.
While it really doesn't matter, I'd prefer the name to match
the board, so am335x_mmc0 is now called omap3_logic_mmc0

Signed-off-by: Adam Ford <aford173 at gmail.com>

diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c
index cd6dd72d44..c244a1f683 100644
--- a/board/logicpd/omap3som/omap3logic.c
+++ b/board/logicpd/omap3som/omap3logic.c
@@ -63,7 +63,7 @@ static const struct omap_hsmmc_plat omap3_logic_mmc0_platdata = {
 	.cfg.b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT,
 };
 
-U_BOOT_DEVICE(am335x_mmc0) = {
+U_BOOT_DEVICE(omap3_logic_mmc0) = {
 	.name = "omap_hsmmc",
 	.platdata = &omap3_logic_mmc0_platdata,
 };
-- 
2.17.1



More information about the U-Boot mailing list