imx: ventana: display 'none' for MMC if board does not have it
authorTim Harvey <tharvey@gateworks.com>
Fri, 11 Jun 2021 19:46:28 +0000 (12:46 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 10 Jul 2021 14:53:34 +0000 (16:53 +0200)
print 'None' instead of just a blank line if nothing is detected:
MMC:  None

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/common.c

index adbc679..c07eb62 100644 (file)
@@ -1758,6 +1758,7 @@ int board_mmc_init(struct bd_info *bis)
                return fsl_esdhc_initialize(bis, &usdhc_cfg[0]);
        default:
                /* doesn't have MMC */
+               printf("None");
                return -1;
        }
 }