summaryrefslogtreecommitdiff
path: root/cmd/mtd.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-12-17 13:16:37 -0600
committerTom Rini <trini@konsulko.com>2024-12-17 13:17:41 -0600
commit4561977c10be371ae57d355fade3b4cded092df7 (patch)
treed08390da14d6f330bafe623eed8d83aaf528560d /cmd/mtd.c
parenta4ee6396fe779b351c8ed5121f2c74d5f66bdaa5 (diff)
parent1fac577207196e12932c2c733b58e3b14013b1ce (diff)
Merge branch 'u-boot-nand-20241212' of https://source.denx.de/u-boot/custodians/u-boot-nand-flash into next
CI: https://source.denx.de/u-boot/custodians/u-boot-nand-flash/-/pipelines/23837 Small addition to uboot-nand. Nothing relevant for now. Anyway a nice new command coming from Miquel Raynal and small changes.
Diffstat (limited to 'cmd/mtd.c')
-rw-r--r--cmd/mtd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/mtd.c b/cmd/mtd.c
index f178d7bea61..c25997cfb24 100644
--- a/cmd/mtd.c
+++ b/cmd/mtd.c
@@ -122,13 +122,11 @@ static void mtd_show_device(struct mtd_info *mtd)
{
/* Device */
printf("* %s\n", mtd->name);
-#if defined(CONFIG_DM)
if (mtd->dev) {
printf(" - device: %s\n", mtd->dev->name);
printf(" - parent: %s\n", mtd->dev->parent->name);
printf(" - driver: %s\n", mtd->dev->driver->name);
}
-#endif
if (IS_ENABLED(CONFIG_OF_CONTROL) && mtd->dev) {
char buf[256];
int res;