[PATCH 11/11] imx: ventana: display 'none' for MMC if board does not have it

Tim Harvey tharvey at gateworks.com
Fri Jun 11 21:46:28 CEST 2021


print 'None' instead of just a blank line if nothing is detected:
MMC:  None

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 board/gateworks/gw_ventana/common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c
index adbc6791b3..c07eb627a2 100644
--- a/board/gateworks/gw_ventana/common.c
+++ b/board/gateworks/gw_ventana/common.c
@@ -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;
 	}
 }
-- 
2.17.1



More information about the U-Boot mailing list