]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 adbc6791b35e93c59e7246ff5780fa49aa9b97a6..c07eb627a21adc032b1b49424360e4c60508833b 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;
        }
 }