diff mbox series

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

Message ID 20210611194628.5572-11-tharvey@gateworks.com
State Accepted
Commit 31273c5af52932c5a2b3e1d5e6a2e668e442d259
Delegated to: Stefano Babic
Headers show
Series [01/11] imx: ventana: remove USB_KEYBOARD support | expand

Commit Message

Tim Harvey June 11, 2021, 7:46 p.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic July 10, 2021, 3:54 p.m. UTC | #1
> print 'None' instead of just a blank line if nothing is detected:
> MMC:  None
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
Stefano Babic July 10, 2021, 7:37 p.m. UTC | #2
> print 'None' instead of just a blank line if nothing is detected:
> MMC:  None
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

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;
 	}
 }